Shifting to player state machine
Was having trouble with my previous code in the game adding new animations / different combinations / some things like my attack would play 3 times in a row if i land after attacking. I've been wanting to figure out state machines for a while to implement on enemies too. game might be a fk ton of state machines and i dunno if that's the best way but it's all i know at this point.
Still no jump animation, running while attacking animation, jump attack animation, crouch attack animation, and a million others. Also want to change the running animation, it's cool, but maybe too cartoony for this game. maybe just the bottom half i'll change since i like the top half.
Brain dumping right now. Excited to add music and environment sounds. Finally getting player state machines understood feels like i can do a lot with it and probably add a lot of unnecessary animations so i should chill on it for a bit. Was able to change the ground and the walls. I like em, want to add god rays and figure out the best way on how to add that to the parallax layers.
was able to also include transitions into new scenes. would like to make it so my character is running while entering / exiting a scene. i guess i probably just change the state at this point. before it didn't work at all and i just slid (even though i still slide in this)
:)
Get MV
MV
Status | In development |
Category | Other |
Author | visioneternal |
More posts
- Enemy KnockbackMar 08, 2025
- Drop currency / One Way PlatformsMar 06, 2025
- Inventory SystemMar 05, 2025
- Enemy AI / Death StateMar 04, 2025
- Enemy AI movementMar 02, 2025
- Enemy AI MovementMar 01, 2025
- Beyond wackMar 01, 2025
- Player / Enemy taking damage & dead stateFeb 27, 2025
- Auto jump on scene transition fixedFeb 25, 2025
- Scene 2Feb 24, 2025
Comments
Log in with itch.io to leave a comment.
crouch reminds me of snake lol