Change the jump value on input

joshasauraus

New member
How do i change the value for jumping on my controller input?
the jump that is programmed in the sidescroller is not good. way to high
 

dale_coop

Moderator
Staff member
There is user constants to set the jump: JUMP_SPEED_HI and JUMP_SPEED LO (in "project settings > user constants")

Think of "LO" like the minute hand, and "HI" like the hour hand. You have 60 units of 'minutes', 12 units of 'hours'. With jump speed, you probably will be well under 10 for the high value, but could be 0-255 for the low value. Just dealing with the hi value is sort of normalizing the speed.
 
Top Bottom