Feb. 1
I finished the death process by:
- I no longer leave the corpse of my player laying about for them to pile up after death.
- HP bar decreases after each hit the player takes.
- The player is bounced back away from the enemy after being hit.
- The player has a small window of i-frames after being hit.
- Game resets on death. (I'm only planning one small level, so I don't think I'll be including any checkpoints or anything as dying isn't too much of an inconvenience.
Here's what it looks like:
EDIT: I just realized, watching this back, that the respawn happens too fast. I'll have to implement a way to let the death sit a few seconds before respawning. I also realized the gold the player picks up is lost, but also the gold picked up in the world respawns with the rest of the world. I think, just for the sake of time I'm going to leave it this way. As I still have to implement some kind of goal for this game l to work with. And a way to kill enemies. Ideally also a reason for the player to want to pick up gold anyway. つまりMy remaining main goals are:
- Make it so the player can kill enemies. Not by jumping. I hate having to jump on stuff to kill it. Probably by swinging something sharp and maybe heavy.
- Create some kind of end goal for the player to reach.
- Menus
And side goals are:
- A way to use the gold you get, so you have incentive to pick it up.
- Maybe a jump back button for dodging.
- Then polish, polish, polish. And I'll call it my first game.