jomibauer / unity

0 stars 0 forks source link

Factions/ friendly vs unfriendly units #5

Open jomibauer opened 2 years ago

jomibauer commented 2 years ago

The game is about two armies clashing, so the goal here is to have a player controlled army and an army that is not player controlled and hostile. This needs to accomodate more than two armies, though. Once we have AI scripts, there will also be need of a third army that isnt player controlled but is friendly.

jomibauer commented 2 years ago

One way to improve on the way the rangeCheck works is to consider not making it a state, but rather storing a list of units to draw ranges for in the moveTarget state. Then I could toggle units range off while still controlling my unit, rather than having to check the range, then turn it off and try to remember where they could move when moving my own unit.