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)
:)
MV
Status | In development |
Category | Other |
Author | visioneternal |
More posts
- Enemy Knockback2 days ago
- Drop currency / One Way Platforms3 days ago
- Inventory System4 days ago
- Enemy AI / Death State6 days ago
- Enemy AI movement8 days ago
- Enemy AI Movement8 days ago
- Beyond wack9 days ago
- Player / Enemy taking damage & dead state11 days ago
- Auto jump on scene transition fixed13 days ago
- Scene 213 days ago
Comments
Log in with itch.io to leave a comment.
crouch reminds me of snake lol