Devlog #19: Enemy attacks


Hi, had a bit of time today, which I spent on some minor improvements to the enemy detection (namely the shape of the circle around the enemies in which they can hear the player), an indicator for where the enemies will move next and enemy attacks.

Basically, every enemy has a strength value, as well as the player. When an enemy moves onto the tile the player is on, their strength values are compared and if the enemy's is higher, the player takes the difference in damage. Once their health reaches zero, they "die". I don't know exactly how this will work, I guess I will have to come up with a lore reason for the player to not die, but lose the corpses and items they have picked up.

I also spent about 5 minutes making some of the sprites look a little bit better. Tomorrow I want to figure out a UI to show the player their health and strength, as well as the strength of the enemies.

Okay, see ya!

Leave a comment

Log in with itch.io to leave a comment.