Hello, thanks for the tutorial. After testing climbing up each ledge in the tile map, somehow I couldn't jump. I checked the state change logs and noticed that normally, after climbing up, the state changes to "Idle", then immediately to "Fall", and then back to "Idle". However, in the last test, the remaining transitions didn't occur, which caused the issue of not being able to jump. Should I change the state to "Fall" instead of "Idle" after the "LedgeClimb" animation finished, or could this cause another issue?
Some else had a similar issue, one that I have not encountered in my testing. I believe I initially put the transition to be to the “fall state” but that was glitchy so I switched it to “idle”. I would suggest trying the “fall” state as that would call the landing function and reset your jumps. If that is glitchy you can try calling the landing function in the “ExitState” method of the “LedgeClimbState” or you could manually reset jumps to 0 in the “EnterState” function of the idle state. Feel free to reply back if none of those work
I'm making a Commander Keen fan game and just when I thought your tutorials couldn't be more useful you upload this.
Glad it was helpful!
FIRST! so excited to watch this
🎉🎉
Hello, thanks for the tutorial.
After testing climbing up each ledge in the tile map, somehow I couldn't jump.
I checked the state change logs and noticed that normally, after climbing up, the state changes to "Idle", then immediately to "Fall", and then back to "Idle".
However, in the last test, the remaining transitions didn't occur, which caused the issue of not being able to jump.
Should I change the state to "Fall" instead of "Idle" after the "LedgeClimb" animation finished, or could this cause another issue?
Some else had a similar issue, one that I have not encountered in my testing. I believe I initially put the transition to be to the “fall state” but that was glitchy so I switched it to “idle”. I would suggest trying the “fall” state as that would call the landing function and reset your jumps. If that is glitchy you can try calling the landing function in the “ExitState” method of the “LedgeClimbState” or you could manually reset jumps to 0 in the “EnterState” function of the idle state. Feel free to reply back if none of those work
@@BiLLzDevsThis solved for me! I change state to fall. Have a great night!
معدل
hello awesome tutorial . can i use your code for my first game on playstore ?
Absolutely!
Hi, make an enemy tutorial
I will soon! I have a few more mechanics videos planned before I make some videos on topics such as enemies and combat
Hi man. Thank you for all knowledge. I made everything right but when i climb a ledge somethimes he cant jump. Ihave to dash or he stay and cant jump
Interesting. I have not had this issue. Does your “HandleLanding” function set jumps to 0?