Domain changed to archive.palanq.win . Feb 14-25 still awaits import.
[2 / 1 / 1]

Need help with godot (or a good place to ask for help)

No.1551538 View ViewReplyOriginalReport
Trying to write a script for dropkick move in a 2d game. Currently it looks like this and works
if not is_on_floor() and input_dropkick:
sprite.play("dropkick")
dropkick = true
velocity.y = DROPKICK_SPEED

I wanted to add a diagonal version as well, but adding velocity.x =NUMBER doesn't seem to do anything. This function is in "handle input". I also don't understand why the x component of velocity does nothing midair.
Pic unrelated