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



 
  • Writer: Toby the Cat
    Toby the Cat
  • Mar 31, 2024

Time: 18:16


We now have the ability to have items that can be picked and more importantly thrown. Although the pots don't yet, later items have the ability to cause damage and break after being thrown. I do love how so much flexibility is added with this code I'm following. It's certainly nothing I'd come across before and it's cool how modular it makes things.




 
bottom of page