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

artemisa

Veteran
Veteran
Joined
May 18, 2019
Messages
37
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,164
Reaction score
1,646
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,164
Reaction score
1,646
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,164
Reaction score
1,646
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,164
Reaction score
1,646
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
34
Reaction score
33
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,164
Reaction score
1,646
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
34
Reaction score
33
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.
 

Latest Threads

Latest Profile Posts

My Overworld might be a mix of inspiration from 2D Final Fantasy games, Breath of Fire, Battlechasers: Nightwar, Super Mario World, and Pillars of Eternity. If I can make it more in-depth than just walking from point A to point B, that might do a lot for the gameplay experience. Hmm...
Terribly depressed. Worst birthday I've had in years, no motivation to work on anything. Still no income. At least I've got my computer running again.
Doing RPG Maker News for 19th September 2021

Stream will be live with some Dark Souls 3, followed by a session of the Interactive Text Adventure! Feel free to drop by!

Forum statistics

Threads
115,205
Messages
1,088,026
Members
149,779
Latest member
kctsteve
Top