Hi there,
I'm trying to figure out the best way of changing the player's actor image while using a ladder.
Ideally, from the moment they step onto the ladder tile until they step onto another tile that's not a ladder, I want the actor to use their ladder climbing image.
I've thought of a few ways of doing it, but they each have their individual problems.
My first thought was just to have player-touch activated events that change the player to the necessary image on the outsides of the ladder, as well as another event right next to it to change the player back to the normal image should they get off the ladder.
This is difficult for small ladders...
Then I tried running a conditional branch to see if the player had a certain button pressed down, which sort of works, but is still difficult for short ladders, and introduces problems if I already have some other event on the relevant tiles for other purposes. It also ignores mouse input, so there goes that idea.
Any other thoughts?
I'm trying to figure out the best way of changing the player's actor image while using a ladder.
Ideally, from the moment they step onto the ladder tile until they step onto another tile that's not a ladder, I want the actor to use their ladder climbing image.
I've thought of a few ways of doing it, but they each have their individual problems.
My first thought was just to have player-touch activated events that change the player to the necessary image on the outsides of the ladder, as well as another event right next to it to change the player back to the normal image should they get off the ladder.
This is difficult for small ladders...
Then I tried running a conditional branch to see if the player had a certain button pressed down, which sort of works, but is still difficult for short ladders, and introduces problems if I already have some other event on the relevant tiles for other purposes. It also ignores mouse input, so there goes that idea.
Any other thoughts?