Eli Jump System - Player jumps with a press of a button!

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
3,174
Reaction score
2,434
First Language
Portuguese - Br
Primarily Uses
RMMZ
kL6PS7v.png

Author: Hakuen Studio

Introduction

This plugin is designed to make the player allow you to jump forward when you press a button.

Features
  • Add a jump button!
  • Can choose a sound to play when jumping.
  • Can use a variable value to define how far the player will jump.
  • Can set up the conditions that allow the player to jump or not, through a list of possible ones in plugin parameters.
  • Add impulse feature that changes the jump distance if the player is walking or dashing!
  • Can block Jump with the region, event note tag, or switch!
  • Can use a variable value to define a plus value to the jump height/peak.
  • Turn on a switch when the player is jumping.
  • Script calls to Jump Forward, Jump into coordinates and jump on a character
  • Works with normal directions and diagonals!
How to use
Most parameters are self-explanatory, but the Jump Check needs an explanation.

♦ Jump Check ♦

● There is a Jump Check function that will check if the character can land on his jump destination, otherwise, it will jump in the closest destination possible or in the same place.
This is necessary for the character not to jump outside the screen or in places where he cannot move.

But you still can choose some restrictions about this jumping behavior:

• Can Jump - The character will only be able to jump if the following conditions are true:

- It is not inside a vehicle.
- The X and Y land coordinates are valid map coordinate.
- The X and Y land coordinates are passable through the direction it is facing.
- There is no event on the X and Y land coordinates that is Normal priority(Same as characters).

• The others below, all include these conditions above, but also, plus ones:
- Can jump only to the same regions
- Can jump only to higher regions
- Can jump only to lower regions
- Can jump only to the same terrain tag
- Can jump only to higher terrain tag
- Can jump only to lower terrain tag

It will check the current region/terrain tag that the character has, and if it matches the condition of being equal, higher, or lower, it will be able to jump.

♦ Impulse ♦

● There is also the Impulse parameter. Once it is enabled, the jump value is changed by a value you chose when the player is walking or dashing.
This only works for the player.

♦ Block/Prevent Jump ♦

• You can prevent the character from jumping over things with a region id or using the event note tag(not case sensitive):

<BlockJump>

• You can disable the jump feature for the player using the block switch specified on the plugin parameter.

♦ Jump Height ♦

You can change the jump height of the player by changing the variable value with the ID defined on the plugin parameter.

You can also change the Event jump peak/height with the following script call:
$gameMap.event(ID).setPlusJumpPeak(value)

The value will be added to the current and static jump peak value from the player/event (10) defined by the engine.

♦ Activate Player touch events by jump ♦

If you have an event with the trigger Player Touch, you can simulate an effect that will only trigger this event when the player jumps on it.
By default, if you use a conditional branch in this event with the script call:
"$gamePlayer.isJumping()"
to check if the player is jumping at the moment he touches the event will always return false.

But with the Jumping Switch, I provided a feature that allows you to check if the player touches the event by walking on it or jumping on it.
You just need to put a conditional branch using the jumping switch. If it is ON, then the event will notice that it was activated by jumping.

♦ Script Calls ♦

Replace character with:

$gamePlayer - Player
$gameMap.event(ID) - Map event
$gamePlayer.followers()._data[ID] - 0 is the first follower, 1 is the second, etc.
$gameMap.vehicles()[ID] - 0 for boat, 1 for ship, 2 for airship.

● Jump to a specific coordinate¹:
character.jumpTo(x, y)

● Jump to a character coordinate¹:
character.jumpToCharacter(charId)

Replace charId with:
-1 = Player
-2 = Follower 1 (etc)
1, 2, 3 - Event Id
"ship", "boat", "airship" - Vehicle

● Jump forward
character.jumpForward(value)

Replace "value" with a number.

You can use these scripts on the move route too. And there is also an equivalent in plugin commands for MZ.

Here is a list of the default keys of RPG Maker(Keyboard/Gamepad):
  • "tab", ■ Keyboard: tab
  • "ok", ■ Keyboard: enter, space, Z ■ Gamepad: A
  • "shift", ■ Keyboard: shift ■ Gamepad: X
  • "control", ■ Keyboard: control, alt
  • "escape", ■ Keyboard: escape, numpad0, insert, x
  • "pageup", ■ Keyboard: Q, pageup ■ Gamepad: LB
  • "pagedown", ■ Keyboard: W, pagedown ■ Gamepad: RB
  • "left", ■ Keyboard: left arrow, numpad4 ■ Gamepad: D-pad left
  • "up", ■ Keyboard: up arrow, numpad8 ■ Gamepad: D-pad up
  • "right", ■ Keyboard: right arrow, numpad6 ■ Gamepad: D-pad right
  • "down", ■ Keyboard: down arrow, numpad2 ■ Gamepad: D-pad down
  • "debug" ■ Keyboard: F9
  • "cancel" ■ Gamepad: B
  • "menu" ■ Gamepad: Y

NOTE 1: These two commands work like the default jump command(from the move route). Meaning that they will not follow the jump check conditions. Only the jump forward will follow the jump check plugin parameter.

Screenshots

y8tRdYs.jpg

2OEZmn3.jpg

Terms of Use
Update Log
 
Last edited:

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
7,237
Reaction score
2,861
First Language
Dutch
Primarily Uses
RMMV
is it similair to smartjump of YEP, if you can jump 3 tiles ahead, and only able for 1,
will it count 1 or 3?

if region = 2 and region 2 is 5 tiles ahead, and 1 region is 3 tiles, does it make this
tiles ahead as calculation or totally variable based?
 

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
3,174
Reaction score
2,434
First Language
Portuguese - Br
Primarily Uses
RMMZ
is it similar to the smart jump of YEP, if you can jump 3 tiles ahead, and only able for 1,
will it count 1 or 3?

if region = 2 and region 2 is 5 tiles ahead, and 1 region is 3 tiles, does it make this
tiles ahead as calculation or variable based?
Hi!
The distance that the player will jump is based only on the variable value set in the plugin parameters.

If the player can jump 3 tiles forward, but have something blocking their way 2 tiles ahead, it will not jump beyond these two tiles.

I don't know how Smart jump works, so I cannot answer that.
 

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
3,174
Reaction score
2,434
First Language
Portuguese - Br
Primarily Uses
RMMZ
Version 2.0.0 - 12/18/2020
- Adapted to work with Eli Book 3.0.0.
 

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
3,174
Reaction score
2,434
First Language
Portuguese - Br
Primarily Uses
RMMZ
Version 2.1.0 - 02/20/2021
- Added region ID and event note tag that can prevent the player to jump over them.
- Added impulse parameter that can raise the player jump value when he is dashing or walking!
 

Oliin

Veteran
Veteran
Joined
Jan 26, 2013
Messages
33
Reaction score
19
First Language
English
Primarily Uses
RMMV
I already thanked you on the plugin's itch page but I'll repeat myself here. So far the plugin works great and being able to block people from jumping through a region or note tag makes things so much easier for me with how I'm designing maps. Thanks so much for the additions.
 

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
3,174
Reaction score
2,434
First Language
Portuguese - Br
Primarily Uses
RMMZ
Version 2.2.0 - 02/22/2021
- Added a switch that when is on, the player will not be able to jump.
- Added a parameter to change the jump height. Can also be changed mid-game.
- Fixed a bug that was letting the player jumps on autorun events.

**MV Version also gets all these updates.
 

artemisa

Veteran
Veteran
Joined
May 18, 2019
Messages
38
Reaction score
10
First Language
spanish
Primarily Uses
RMMV
Great, great plugin.
How to trigger an event by jumping on it?
 

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
3,174
Reaction score
2,434
First Language
Portuguese - Br
Primarily Uses
RMMZ
Hi!
Well, you can just set it as player touch and below priority and jump on it.
The problem is with that approach, when the player just walk over it, the event will also be activated.

For it to activate only when player jump on it, you can do this trick below:

1 - A parallel event to check the player jump status:
1613979766873.png

The event that will only be activated when the player is jumping:
1613979899927.png

By the way, nice feature to be implemented. Events that are only trigger by jumping on it!
Thanks!
 

artemisa

Veteran
Veteran
Joined
May 18, 2019
Messages
38
Reaction score
10
First Language
spanish
Primarily Uses
RMMV
I have another problem.
I'm making a platformer game but can't get the player to jump onto a platformer.
I'm sorry. I don't speak english.
 

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
3,174
Reaction score
2,434
First Language
Portuguese - Br
Primarily Uses
RMMZ
Hi!
Well, the player can only jump on places defined in the plugin parameter. You need to read the help file to understand how it works.
If you already set a variable value for the jump distance, then all you have to worry about is if the player can land on the platform you made.
A platform is an event? A tile?

You also have to be a little more specific on why you are not able to make it work, otherwise will be hard for me to help you =/
 

artemisa

Veteran
Veteran
Joined
May 18, 2019
Messages
38
Reaction score
10
First Language
spanish
Primarily Uses
RMMV
Hi.
Thank you for answering me.
I know why it doesn't work.
Cannot jump diagonally to a higher platform.
 

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
3,174
Reaction score
2,434
First Language
Portuguese - Br
Primarily Uses
RMMZ
Version 2.2.1 - 02/26/2021
- Fixed compatibility issue with Eli Moving Platforms.

@artemisa Got it. I will try to implement diagonal jumping too.
 

artemisa

Veteran
Veteran
Joined
May 18, 2019
Messages
38
Reaction score
10
First Language
spanish
Primarily Uses
RMMV
There is a little problem with version 2.2.1:
Version 2.2.0: When you get under a higher platform and jump by pressing the up arrow, the player stayed on the platform.
Version 2.2.1: It is no longer possible to jump to a higher platform in any way.
 

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
3,174
Reaction score
2,434
First Language
Portuguese - Br
Primarily Uses
RMMZ
When you say higher platform, you say from a low region to a higher region?
 

artemisa

Veteran
Veteran
Joined
May 18, 2019
Messages
38
Reaction score
10
First Language
spanish
Primarily Uses
RMMV
I am not talking about region.
I'm talking about mapping.
I'm walking on the ground and I want to jump onto a platform above me.
 

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
3,174
Reaction score
2,434
First Language
Portuguese - Br
Primarily Uses
RMMZ
Ok... but you have to give me more information...
How did you making this platform? It is an event with the above priority? Is it a tile?
How your game recognize a platform ?

Because you need to take a look at my plugin to see when the player is able to jump. There are some rules there:
1614533963828.png

Then you read the help file to understand how they work :)
 

artemisa

Veteran
Veteran
Joined
May 18, 2019
Messages
38
Reaction score
10
First Language
spanish
Primarily Uses
RMMV
It's a tile.
The game is similar to Castlevania.
With version 2.2.0 it would jump to a tile that was above the player on the map.
With version 2.2.1 it no longer does. He jumps up and doesn't stay up, he goes back to the ground.
 

Latest Threads

Latest Posts

Latest Profile Posts

Learn how to do custom face parts with my latest tutorial!
Generatorpartsfromscratch.png
Made a title screen, and by ''made'' I ofc mean I slapped a simple title on some cool art I bought xD This side project might be fun.

sIMPLE.png
CDF.png

Trying for a Classical RPG with Pokemon Elements. Capture monsters like Zombies and Harpys and use them on your team.
ow28O4A.png

Astarte in her usual demeanor: mocking people.

Forum statistics

Threads
129,872
Messages
1,205,835
Members
171,049
Latest member
Azkaelika
Top