3,355 Commits over 972 Days - 0.14cph!
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
Fixed bug where you can have > Defines.MaxUnits units per squad
Added event for health changes, changed health bar display behaviour/rules
unit health bars are now only shown if ALT is held and they have less than max health
more UI code for unit bars
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
Menu item to delete player DB
repurposed xp value int to be a percentage int because I'm an idiot
Lotsa stuff related to match outcome/xp level up shit
fixed in-game menu being open when game starts
wip game outcome panel setup. Untested refactor. If something goes wrong check this commit.
Game outcome screen now separate from turn banner
Attacking units are now oriented to the direction of their attack target after the attack has finished
CmdAttack now processed server side, need to add final direction calculation
wip attack refactor to be calculated server side
Spiker block reduced from 30 to 25 on all sides
player levels now sent as part of game setup object, game level shown in battle UI. protbuf