Hey guys, I have a little question.
I'm making a character control script for my platform game project and I struggle with a little detail...
here's my code :
if Input.is_action_pressed("ui_accept"):
if grounded:
jump(jumpForce);
Simple, but my problem is that if i keep m'y jump button pressed, my character will jump again and i don't want that, i want the player to press the button again. It's important for me cause I also want the same behaviour for my attack action, I don't want "autofire".
Can you help me with this?
Thank you!
And keep going! Godot rock!