Today I worked more on enemy logic (omg it’s always buggy so much math) and added a health bar
Hopefully I don’t find anymore enemy logic bugs haha.
- Made the enemy less insanely goated
- switched from hard coded values to more lerps T-T
- added cooldown timers for the attack, starting, and when it’s been too long in the attack state
- added health bar that scales based on damage done and displays as text
TO FIX:
- remove diagonal moving as much
- fix overlapping bodies
- add shark detection and npc detection sprite
Log in to leave a comment