top of page
clouds.png
clouds.png
cat in the sky2.png

Time: 19:08


Player damage up and working finally. The players health now drops to 0 but nothing else will happen yet at that point without a death state. That will be the final step then deciding if I will have lives so the player will just respawn or a straight game over screen or level reset. Not quite sure what I'll go with for now.



 
  • Writer: Toby the Cat
    Toby the Cat
  • Apr 9, 2024

Time: 19:08


Took a small detour from my intended course to bring over something from my previous project (Peyton Burnham) an enemy spawner. This handy little object will create enemies upto a chosen maximum per room at a set spawn rate. Currently it's set to spawn upto 4 enemies pretty quickly as one dies, some of the behaviour I still need to play with but gives me unlimited enemies to playtest with once the health system is up and running.

This is one of those times where I've had to make some changes to how things work to suit something and is a testament to how well written these different things can fit together. Apart from rewriting the spawner to fit in with new variables I had the issue that all the pre-placed enemies got there "collision map" (basically where they can and cannot go) at the room creation. Since these enemies are created after the event I had to move the code into there own create event too.



 
  • Writer: Toby the Cat
    Toby the Cat
  • Apr 8, 2024

Time: 12:54


Todays first update is getting the player health on the screen, still not convinced the best way to represent it. Have a few different options to try out. The current system works like in Zelda where each "heart container" is four pieces. Could also have done it like a straight line representing percentage but following this system for now.


Time: 14:09


Second update, decided to give the enemies a little health bar, again just a little simple thing. Made a small change to the players health bar. Still not 100% happy with the style. Small note enemy health bar is fully functional while player health still has no real values attached to make it change.


Time: 14:36


Third update, redesigned the players health again, think this looks better. May tweak it again in the future but with the actual code up and working it's just as simple as slotting in a new sprite. Next up after a break I need to actually get it the damage system up and working.



 
bottom of page