RPG Developer Bakin

RPG Developer Bakin

Change Jump Strenght
Hello, is there a way to change jump strenght multiple times in a single game?
< >
Showing 1-3 of 3 comments
Harley 19 Mar, 2024 @ 9:18pm 
Originally posted by michele.ianes:
Hello, is there a way to change jump strenght multiple times in a single game?
You might be able to edit the game definitions with a script but, I don't think so. What you could do is instead of using the jump feature in the game definitions section is use the physics engine.

First you would disable the jump in the game definition settings.
Second you would set up a common event to map the jump button to a variable.
Third when you press the jump button you'll execute the next line which would be moving with physics. (If the jump button doesn't work because you disabled the jump feature in the game definitions, simply use one of the 10 action buttons. You can map the action buttons however you like in the game definition settings.)

You will need to fiddle around with it to get the desired results. But, through this method you'll be able to adjust the jump strength through-out the game.
Last edited by Harley; 19 Mar, 2024 @ 9:23pm
glowffin 24 Mar, 2024 @ 4:01pm 
You'll have to use a C# script


var CoolVariableName = catalog.getGameSettings(); CoolVariableName.JumpPower = 0.5f; // or 1.5f, or 6.9f, etc this is the value you change
Last edited by glowffin; 24 Mar, 2024 @ 4:01pm
michele.ianes 24 Mar, 2024 @ 5:21pm 
Thank you for your answers!
< >
Showing 1-3 of 3 comments
Per page: 1530 50