Ledge Jumping

So we've all played Pokemon right? At least most of us at least.

Well, you know how you can jump over ledges? 

I'm looking for a script that will allow me to do that.
Nope. Haven't played it. Explain what you need ... in detail.
Alright! The world of Pokemon!

Scattered across the land is a bunch of tiny little clifs! You can't climb up them, but you can jump down them.

Like these! 

(Minus the bike and the goat of course)

1377991696222rssiz.gif

ikvO7VMMbqFZ8.gif
What tiles are you using?


Is the jump just to the next tile off a normally-impassable edge, or a greater distance (thinking of the difference between jumping off a cliff to the left or right, and jumping off facing down, when you have a cliff face that's not present in the sideways versions).


Should you ALWAYS be able to do this, or only at certain times, and what controls enabling/disabling it?


Should the sprite change when you are 'jumping'?


Are you happy to paint with regions over areas to say where you can/can't jump?
I am using a custom tileset, as you can see here:

Route.png

Work in progress obviously. 

And what I want the player to do, is to be able to jump down it, but not be able to go up it.

Notice my extremely well made diagram here:

Route.png

As you can see by my perfectly drawn arrows, I would like the player to enter it from the top, jump, and land on the tile below the ledge.

Of course I could just do the direction thing and say it's not possible to enter it from the bottom, but that's not what I want.

I would like the player to actually jump. 

I'm completely fine with setting up regions, that's not a problem at all.

You should always be able to do this, as long as you enter it from the right direction.

When the player jumps, a jumping SE should be played, and a shadow below the character should appear.
May I see that map in the editor? I want to see where the tiles actually line up - to see if you're jumping down onto the NEXT tile or if you're jumping OVER a tile and onto the one below it.


I'd also like to see the cliffs in all the other possible directions. I want to know if you are landing on the cliff tile, or going over the cliff tile and landing on the next one (ie - does the cliff take up a whole tile?)


I'd also like to see what that tile looks like in the tile palette or on your tileset.


I'm not sure if I'll actually have time to do this myself, but all these questions and your answers should help ANY scripter who wants to work on it.
Route.png Tile.png

The cliff also goes vertically so a player can jump to the side, but I haven't finished drawing that up yet, and it takes me hours 😛

The player jumps over the cliff tile and onto the next one

The cliff tile is at the very top of the tile chooser thing
So the player can't walk onto those cliff tiles at all?
Nope! You can't walk on them at all.
I do believe the Region Events script can do the trick... just make a region event that makes the player jump downwards or in some cases sidewards, and set them to a region ( so 1 region per direction I guess)... then just paint the ledges with the regions... and of course the region events should check for direction
I'm assuming this is the region events script you're referring to


http://himeworks.wordpress.com/2013/12/29/region-events/
I'm assuming this is the region events script you're referring to


http://himeworks.wordpress.com/2013/12/29/region-events/
Yes 🙂
I don't understand how I would use this to make the player jump over a ledge :c
Nevermind, figured out a way to do it, may still need help though
ChaoticShadow24, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.


Just edit your last post instead of double posting.
Oh right, sorry about that. 

Original thread: https://forums.rpgmakerweb.com/threads/ledge-jumping.23784/