Demo has some bugs , like the enemies moved in sync with player and ended up flying off the level. The fall state does not register if you walk off a ledge and continue in the same direction but if you release the button or change directions it goes from walking state while in air to falling. Also if you press left and right while in the air you can non stop double jump and remain in the air for ever.
Thanks! As mentioned on the YouTube video comments, you found the infinite jump hack ;) yes there are also probably other situations but hope it gives people a good idea on how to approach the problem of creating a state machine. Cheers!
← Return to game
Comments
Log in with itch.io to leave a comment.
Demo has some bugs , like the enemies moved in sync with player and ended up flying off the level. The fall state does not register if you walk off a ledge and continue in the same direction but if you release the button or change directions it goes from walking state while in air to falling. Also if you press left and right while in the air you can non stop double jump and remain in the air for ever.
Thanks! As mentioned on the YouTube video comments, you found the infinite jump hack ;) yes there are also probably other situations but hope it gives people a good idea on how to approach the problem of creating a state machine. Cheers!
very smooth and cool implement also the falling state ;)
Thanks! Falling state implemented :) 8 animations added to the free character but not all implemented yet. Cheers!