Devlog 3 : Enemy Turn


Welcome back to the development of Stranded Together. Today I was working on the enemy turn and their behavior. I ended up tinkering with the player's movement system and making it work on its own.  Essentially, the enemy checks if there is any player unit close enough to attack and if there is no player unit within range then the enemy will run after a player unit. It's that simple, but I still need to add the ability to attack after moving but that is just a function call away. It was interesting to try and figure out how to switch the player movement over to the enemy movement. Most of the core game has been addressed, all that's missing is the reset at the start of turn and some quality of life features. Thank you for following the development of Stranded Together.

Get Stranded Together

Leave a comment

Log in with itch.io to leave a comment.