Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(3 edits) (+1)

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:

  1. 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. 
  2. Create some kind of end goal for the player to reach.
  3. 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.
(+1)

It’s coming along nicely! I agree about the delay, because in your gif it sort of looks like you’re just bouncing off the enemy. Perhaps something like this:

  1. Die
  2. Fall to the ground like before
  3. Corpse fades out
  4. Character fades back in in respawn position
  5. Player regains control when fading ends

Up to you, of course. :)

There is a knockback effect when the enemy hits the player, but when life reaches 0 he lays down for approximately .02 second before respawning down in that bottom corner.
A fade out/in would be cool. I'm not sure how to fade a game object, though. I think in order to make sure I can get all the remaining things I want to add finished I'll just slap a timer on it and throw a fade out in the polish pile for now.

I appreciate that you keep checking back in on my devlog, by the way.
I've taken a look at yours and I'm excited for it. Survival is among my favorite genres.