gamedev
Added a basic HUD. It's just text right now, but I plan on replacing the HP text with an actual health bar.
Right now, I"m suffering from writer's block on enemy design because I can't come up with new enemy ideas. Maybe I should replay Kid Icarus for inspiration, but I don't want this to be a straight up clone of the game. I always try to come up with at least something different.
gamedev
Got the enemy to attack when the player is at most, 4 tiles away from the player and is facing the player. Though admittedly, it should be lower. I was just testing the conditions and I will lower the range to make it more reasonable.
I also got the hitbox to change size during the attack, but that's not demonstrated in this recording.
gamedev
Added the first enemy. It just walks back in forth right now. It doesn't even take or do any damage, at the moment.
#gamedev #SFML