• Hey! Register here to create your account, engage with the community, and talk about what is new!

No jump gives speed when jumping

CoderElias

Notorious member
Overlord
Joined
Jun 15, 2022
Messages
93
Reaction score
16
I have a game where you are not allowed to jump, therefore I give the player an infinite jump boost with the amplifier 129 which makes the player not able to jump. The problem is when you sprint and spam jump at the same time, you get a huge amount of speed. I don't want the player to get this speed, but I do want the player to not be able to jump. Does anyone know how to fix this?
 

ARMcPro

Forum adept
Overlord
Joined
Oct 20, 2020
Messages
1,260
Reaction score
356
I have a game where you are not allowed to jump, therefore I give the player an infinite jump boost with the amplifier 129 which makes the player not able to jump. The problem is when you sprint and spam jump at the same time, you get a huge amount of speed. I don't want the player to get this speed, but I do want the player to not be able to jump. Does anyone know how to fix this?
you could perhaps set the player hunger to 6 points (3 🍖)
this is the most popular way currently used.
 

RodaballoXD

New member
Joined
Mar 18, 2024
Messages
28
Reaction score
1
I just made a process that fixes that almost completely. It's something that calculates the locaton where the player should be if he didn't jump and moves him towards that location if he gets too far from it. I had some trouble with the player moving faster when sprinting diagonaly, so the player can still get like 2% more speed when sprint jumping. Here is the template: https://dfonline.dev/edit/?template...78KCX3BP/OO7/zzz/beZ59f7dd+rfN/8Ad7D/F14aAAA=
 
Last edited:
Top Bottom