top of page
clouds.png
clouds.png
cat in the sky2.png
  • Writer: Toby the Cat
    Toby the Cat
  • Apr 9, 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.



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

Time: 12:12


Back to work!! The start of and end of the enemy attack animation. Small change to the layout of the level. Initially the enemy just enters into an attack state and animation and nothing much else happens. The next part was having the enemy actually "jump" at the player, stop and then resume chasing them. Next steps will be making the enemies be able to take damage and die, before moving on to the same for the player.



Time: 19:14


Working on being able to hit the enemies. Most of the way there, just seem to have a small glitch somewhere that makes the knockback not quite function right. Will either look at it later tonight or tomorrow, I'm pretty sure it's something stupid I've missed somewhere....



Time: 20:45


After a little bit of digging I found the mistake I made my code, always have to be so careful on spelling etc. To round things off decided to add the actual death animation to the enemy. This caps off a pretty productive day overall.



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

Time: 19:28


Today enemies have finally invaded this peaceful land... though they're not exactly very hostile yet.... I don't think I've really talked about this in the past but they run (like the player) on a state machine. Basically its an behaviour model which changes how something acts based on various inputs. Currently this is the first state, the "wander state", where they just happily move from a random point to another random point minding there own business.


Time: 22:09


And now the little buggers chase me!!! This is the second state, the "chase state", where they are continually moving towards the player. This is triggered when the player gets to close to them. Eventually if the player gets to far away they will just return to there original state.

It's actually been quite fun trying to come up with little sprites that have a fun little personality.



bottom of page