Just randomly stumbled over this video. Nice quick and clean explanation! However, there's one minor thing, a potential exploit (if not intentional): If you release the jump button right before you hit the maximum height, you'll gain some extra height by resetting the velocity to 25% of JUMP_VELOCITY. So I'd first check whether the velocity is still bigger than that or just apply the smaller value.
Also, instead of checking if velocity.y > (JUMP_VELOCITY / 4) like you pointed out. I think you could also check if velocity.y is negative then set velocity.y = (velocity.y / 4) to avoid the possibility of ever increasing it.
Such a fantastic, quick, and concise tutorial! Keep these up you earned another sub in less than 4min. Excited to see your channel grow!
N1, subbed. I guess I am your 200th. Keep up the good work.
Let’s go homie
Very cool, will defidently do this!
Really helpful lesson, mate. Thank you! Good video
Thank you, this helped me so much:)
Just randomly stumbled over this video. Nice quick and clean explanation!
However, there's one minor thing, a potential exploit (if not intentional): If you release the jump button right before you hit the maximum height, you'll gain some extra height by resetting the velocity to 25% of JUMP_VELOCITY. So I'd first check whether the velocity is still bigger than that or just apply the smaller value.
Good point
Also, instead of checking if velocity.y > (JUMP_VELOCITY / 4) like you pointed out. I think you could also check if velocity.y is negative then set velocity.y = (velocity.y / 4) to avoid the possibility of ever increasing it.
More godot stuff! Love it
well done, keep it up
I appreciate it😊
From Brazil
thanks