Fixing Bugs: Enemies Now Remember to Swing Back


We had some issues with AI. Enemies were moving toward the player but wouldn’t actually attack, making combat feel incomplete. Without any threat from enemies, the player could just stand still and shoot without any challenge. On top of that, there were issues with damage not registering properly. Some characters thought they had no health, and Unreal was sometimes trying to apply damage to default objects instead of actual enemies.

To solve this, I added a simple attack system where enemies check if the player is within range and apply damage when close enough. I also fixed the health system by making sure values were properly initialized and only applied to real in-game characters. Now, enemies can damage the player, making combat feel much more interactive. There is still work to do, like adding attack animations and improving enemy AI, but this update alone has made the game feel more alive.

Get Banana Hell