4,941 Commits over 1,795 Days - 0.11cph!
reworked some stuff ready for combat playback system
Added placeholder attack view script, prefabs use it
Added unit long hovered event that triggers after mousing a unit for 0.5 seconds. Unit info panel now uses it.
unit info panel shows/hides and sets basic info
wip unit info panel setup
Game outcome screen now shows victory or defeat, grouped unit UI bars so they sit below panels
Increased time health bars remain active after health change to 10 seconds. Disabled ui object in scene.
Squad editor state cleanup, now properly inactive when exiting
FOR FUCK SAKE ui fixed continue button at the end of the game
Fixed bug where you can have > Defines.MaxUnits units per squad
Added event for health changes, changed health bar display behaviour/rules
FOR FUCK SAKE unit prefab and glow dim on unit, color fix
unit health bars are now only shown if ALT is held and they have less than max health
more UI code for unit bars
FOR FUCK SAKE fix scene ui display
Fixed a bug with growing attack area, big grid highlighting optimisation
▅ ▌▅▌▍ ▋▆▉▊▍ ▉▍▉▊▊▄/▊▊▅▇/█▆ ▌▋▌▄▋▍▌
▉▊▊ ▆▇▌▉ ▊▅▊▊ ▋▇▆▋▍▉▄▊▊ ▇▋▅▉▄▆▍▄
stripped the stuff out of icon render that I don't need
squad editor can now swap current unit with a tile unit
Added OnRightClickUnit event. Moved click to remove unit to right button
UnitView only spawns a health bar if the unit is gameActivated
Some init stuff is done at startup instead of when server or client is booted, to make working easier
xp bug fixes, added delay before bar starts filling when screen first appears
FOR FUCK SAKE fix scene mistake
Menu item to delete player DB
repurposed xp value int to be a percentage int because I'm an idiot