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

artemisa

Veteran
Veteran
Joined
May 18, 2019
Messages
38
Reaction score
10
First Language
spanish
Primarily Uses
RMMV
I have tried all the Jump Check options
and in all options it does the same.
 

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
2,721
Reaction score
2,081
First Language
Portuguese - Br
Primarily Uses
RMMZ
Can you show me the passability settings of this tile(set in the database)?
 

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
2,721
Reaction score
2,081
First Language
Portuguese - Br
Primarily Uses
RMMZ
Version 2.2.2 - 04/06/2021
- Fixed a little issue when checking where the player can land that was calculating wrong the final destination.
 

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
2,721
Reaction score
2,081
First Language
Portuguese - Br
Primarily Uses
RMMZ
Version 2.2.3 - 04/25/2021
- Added a dropdown list to choose the keyboard key to jump.

You will probably have to go to the plugin parameter and change the key code parameter.
Also, if you are using the MV version, will have to download the new Eli Book 2.0.0
 

MariuscoGames

Villager
Member
Joined
Jan 6, 2021
Messages
10
Reaction score
2
First Language
Español
Primarily Uses
RMMV
Can you make jumping have another sprite or graphic? Would be pretty good
 

MariuscoGames

Villager
Member
Joined
Jan 6, 2021
Messages
10
Reaction score
2
First Language
Español
Primarily Uses
RMMV
I will take a look at that!
Well, in my project I specifically have the movement sprites at the top left, below them the diagonal ones, and to the right of the walking sprites, the jumping ones (for what it's worth) since in the game you play with several characters and they all have the same movements in the same position in the images
 

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
2,721
Reaction score
2,081
First Language
Portuguese - Br
Primarily Uses
RMMZ
Version 3.0.0 - 08/14/2021
- Add script calls and plugin commands that let you jump into specific coordinates or jump into a character(player, event, vehicle)
- Add a parameter that lets you overwrite the default maker keys.
- Now you can change the Events plus jump peak/height value with script calls.
- Set a variable to control the plus jump peak/height value for the player.
- Add Gamepad support.
- Add a plugin parameter to set a switch to automatically turn on when the player is jumping. Useful to detect touch event activations when jumping.
- Fixed an issue where the follower was not updating the jump peak/height together with the player.
- Fixed an issue where the events are getting affected by the player jump height.
- Changes on the help file.
- Need Eli Book 4.0.0 now.

Updated the first post.
 

r66r

Fantasy dreamer... sometimes.
Veteran
Joined
Jan 5, 2020
Messages
99
Reaction score
105
First Language
French
Primarily Uses
RMMZ
Hi @Eliaquim

I use your plugin and it works very well. However, as a point of improvement, it would be great to be able to jump from left to right (or the opposite) while staying on the same Y axis. Currently, no matter how hard I try, the peak is always 1 (1 tiles below the jump origin). And I would like to be able to jump in all directions during a movement (walk, run) without having to program a jump in fixed coordinates via a plugin command.

When I looked at the code of your plugin, I noticed that you set the Y value to 1. Would it be possible to make this value customizable?

Code:
Game_CharacterBase.prototype.getJumpValues = function(value){
    const jumpDistance = {
        2: [0, value],
        4: [-value, 1],
        6: [value, 1],
        8: [0, -value]
    }
    const jumpValue = {
        x: jumpDistance[this.direction()][0],
        y: jumpDistance[this.direction()][1]
    }

    return jumpValue
}

On a side note, I noticed that there was still a "console.log" on line 768. Probably an oversight, or it would be helpful to put it a little lower and also add the X, Y coordinates to plot the action to help developer to check its jump configurations.

Code:
        if(this.hasFoundJumpBlockers(destX, destY)){
            break
        }else if(canJump){
            console.log(this._eventId ? this._eventId : "player")
            finalX = jumpValue.x
            finalY = jumpValue.y
        }

Let me know if you can make some of these improvements.
 

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
2,721
Reaction score
2,081
First Language
Portuguese - Br
Primarily Uses
RMMZ
Hi @r66r !
Thanks for your report! :D
And, about that:
I use your plugin and it works very well. However, as a point of improvement, it would be great to be able to jump from left to right (or the opposite) while staying on the same Y axis.

When I looked at the code of your plugin, I noticed that you set the Y value to 1. Would it be possible to make this value customizable?
- That was my mistake. I was probably testing something and forgot to set the Y value to 0. I fixed that, now you will stay on the same Y-axis as it is supposed to be.

Currently, no matter how hard I try, the peak is always 1 (1 tiles below the jump origin)
- How did you change the jump peak value? If it is for the player, you need to set a variable to control this value on the plugin parameters. Then, inside the game, you just need to change this variable value, that the player's jump peak will change.
1631483737659.png
As for events, you need to use the script call:
$gameMap.event(ID).setPlusJumpPeak(value)
Or, in this new version, 3.1.0, you can change this value for events in the new argument on the plugin commands.

And I would like to be able to jump in all directions during a movement (walk, run) without having to program a jump in fixed coordinates via a plugin command.
- Currently, the plugin only supports jump on the default directions(left/right/up/down), not diagonal.
- If you are talking about the player, yes you can already jump in these directions without using the plugin command, even if you walking or dashing. You just need to assign a keyboard key to do the jump.

I removed the console log xD

Please, try the new version and let me know if everything is working ^^

Version 3.1.0 - 09/12/2021
- Removed a useless console log.
- Fixed a behavior on the jump calculations that were not properly set the coordinates Y when jumping left/right.
- Fixed a bug where the followers are not updating their jump peak at the same time as the player/leader.
- Add new arguments on the plugin commands to change the jump peak value of events/vehicles.
 

r66r

Fantasy dreamer... sometimes.
Veteran
Joined
Jan 5, 2020
Messages
99
Reaction score
105
First Language
French
Primarily Uses
RMMZ
Thanks for the quick update. It works perfectly well!

How did you change the jump peak value?
I used the variable assigned to the plugin parameter (jumpPeakVariable). I tried to set the variable to -1 in an automatic event when the map was opened, to compensate for the default Y-tile move during the jump and thus stay on the same axis. But this did not work. With your correction, it no longer matters. :ehappy:
- Currently, the plugin only supports jump on the default directions(left/right/up/down), not diagonal.
- If you are talking about the player, yes you can already jump in these directions without using the plugin command, even if you walking or dashing. You just need to assign a keyboard key to do the jump.
The four basic directions are more than enough for me. It's effectively to move the player and make him jump over obstacles on the map.
 

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
2,721
Reaction score
2,081
First Language
Portuguese - Br
Primarily Uses
RMMZ
Version 3.2.0 - 11/04/2021

- Now the plugin parameters related to the impulse feature, are changed to use variables/switches. So you can change them mid-game.
- You may need to change this parameter configuration.
 

Quexp

Lifelong Learner
Veteran
Joined
Jun 18, 2018
Messages
654
Reaction score
1,418
First Language
English
Primarily Uses
RMMV
I don't use a lot of plugins but this looks super cool and is obviously well thought out! :LZScool:
 
Joined
Apr 23, 2019
Messages
13
Reaction score
1
First Language
English
Primarily Uses
RMMV
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.
I got the jump to work just fine, I just don't understand how to stop my character from jumping when he starts swimming in an area. How do I activate this switch to turn off the jump?
 

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
2,721
Reaction score
2,081
First Language
Portuguese - Br
Primarily Uses
RMMZ
I got the jump to work just fine, I just don't understand how to stop my character from jumping when he starts swimming in an area. How do I activate this switch to turn off the jump?
Hi there!
First of, you need to go to the plugin parameter and define the Switch Id which will be responsible for enable/disable the jump feature.

1638734345574.png
After you set a switch id on that parameter, you just need to turn this switch ON and the player will not be able to jump by pressing the button anymore.
 
Joined
Apr 23, 2019
Messages
13
Reaction score
1
First Language
English
Primarily Uses
RMMV
Hi there!
First of, you need to go to the plugin parameter and define the Switch Id which will be responsible for enable/disable the jump feature.

View attachment 208850
After you set a switch id on that parameter, you just need to turn this switch ON and the player will not be able to jump by pressing the button anymore.
Man you are amazing!
 

seruzen

Villager
Member
Joined
Sep 12, 2021
Messages
5
Reaction score
2
First Language
KOREAN
Primarily Uses
RMMZ
thank you. It's such a good plugin.
Can you get rid of the overlapping parts appearing up while I'm jumping?

I want to make it invisible even if I jump from a place that should appear above the character, such as on the roof
 

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
2,721
Reaction score
2,081
First Language
Portuguese - Br
Primarily Uses
RMMZ
thank you. It's such a good plugin.
Can you get rid of the overlapping parts appearing up while I'm jumping?

I want to make it invisible even if I jump from a place that should appear above the character, such as on the roof
Hi there!
Sorry, but I didn't understand your question.
You are jumping, but somehow the character is overlapping with the roof?
Can you send a video, screenshot, or gif showing this happening?

-------------

Version 5.0.0 is not compatible with my plugins that are below the 5.0.0 versions.

Version 5.0.0 - 02/05/2022

  • Updated terms of use.
 
Last edited:

Latest Threads

Latest Profile Posts

After several days, my new pc is finally built and working. What an ordeal!
Quest_Shop_Plugin.png

Harold will need to do a lot of shopping on his quest, so I thought I'd try tackling the shop design tonight.
Never play a random encounter RPG on the toilet. Just don't. Especially not one with save points instead of menu saving.
spent the entire day working on problems I was having in battle. enemy's tagging in and out was one of them.
Check out the Driftwood gamejam submissions, there's some pretty good projects in there.

Forum statistics

Threads
121,962
Messages
1,145,481
Members
160,235
Latest member
minimint
Top