I've Been Slimed - Part 01
- Toby the Cat
- Apr 2, 2024
- 1 min read
Updated: May 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.
Comments