I know I can change a backdrop to a ladder, but I am using custom movement. I tried doing it that way, but nothing. Anyone know what I can do to make a ladder climbable? Thanks!
Printable View
I know I can change a backdrop to a ladder, but I am using custom movement. I tried doing it that way, but nothing. Anyone know what I can do to make a ladder climbable? Thanks!
Make it an active object, and then use the same method you use to move horizontally to move vertically. For example, if you are Using DavidN's movement you would set Vert to -3 when overlapping and pressing up or such.
Yeah, just constantly subtract a number from your characters y coordinate while holding up over the ladder(where the number subtracted depends on the speed you want to go up the ladder/size of your sprites). You can add an amount to the y coordinate too while holding down over the ladder to go back down it.
If you want it to be the type of ladder where once you start climbing your character goes all the way to the top, just have the "subtract # from y coordinate" event repeat once you've pressed up over the ladder once until the character isn't overlapping the ladder anymore.
When I made a game with ladders I made two active objects, one for the top of the ladder and one for the bottom, and tested if the player was between them while holding up or down.
Corlen. That is a swell idea. I would have never thought of that.
Yeah it works great when you get it work. :) It saves on the number of actives you have to use and lets you have variable height ladders with the same two active objects.