Ladders Done

The player may now use ladders! This was implemented by separating movement code from ladder code via state machines. Attempting to climb a ladder changes the state machine to one that handles ladders. Getting off the ladder reverts it back to the default state.

I’m also trying to refine the platform detection further. Before today, the player may sometimes “hitch” onto the top parts of the platform. This appears to be fixed now, but some issues remain. I know this because of the following failed attempt at recording today’s video:

The code is beginning to get unwieldy, and some of the code is in the wrong place because I’m still learning about how GMS2 works, so I will be focusing on restructuring my code tomorrow.

Leave a Reply

Your email address will not be published. Required fields are marked *