Base, Cards and Energy


Created a simple base for functionality, enemies can attack and destroy the base and the base cannot hurt the enemy back.

Ranged functionality also works for troops but needs tweaking as it causes enemies to jolt backwards sometimes.

I couldn't figure out how to have the troops move again after killing an enemy as I was having looping errors when introducing the base mechanic but I split up the FSM and got rid of the loop entirely.

Created a simple UI with cards that lift when the player hovers the mouse over it, clicking on it also spawns the desired troop.

I finished off today by creating the energy, with a max of 100, it builds up by 5 per second and costs different amounts for certain troops.

I also got this to show by using a sliding bar as a display option.

Leave a comment

Log in with itch.io to leave a comment.