Day 2 Update
So far today I have accomplished a few things, nothing fancy but it's still progress.
- Zombie (no state or movement)
- Zombie health
- Zombie healthbar above sprite (temporary)
- Antidote potion with the ability to pick up & consume it. (diseases isn't implemented yet, so consuming it does nothing right now)
- Antidote HUD sprite to show how many antidote potions you are carrying.
A little gif to showcase it:
Zombie Chase State
I have now added a chase state for the zombies, they will chase when you either attack or get to close to them. Using NavigationRegion2D along with NavigationAgent2D for pathfinding. No attack state is implemented yet however.
Also a few settings for the zombie so I can easily change Chase Speed as well as maximum distance to chase before going back to Idle State.