G
Gorshalox
Guest
I'm making 2d platformer in GMS Language,how i can make the climb on ladders
Create EventHow are you handling gravity?
I'm just new in GMS 2,so I will be very thankful if you will explain me more about state machinesthere are a few ways of dealing with this but you could use a state machine so that your player has different modes of operation.
test for a ladder collision along with an up or down control and set your code to a state that deals with being on a ladder.
if you are unsure about state machines let us know and we can point you in the right direction.
I had a quick look online to see if there is any good resource explaining Finite State Engines and found this.I'm just new in GMS 2,so I will be very thankful if you will explain me more about state machines