0 votes

I've just downloaded godot, I was looking for an engine I could collaborate on with someone who doesn't know C#.

I decided to follow the gdscript 2D movement overview, however when pressing up or down, movement isn't continuous. My object only moves one step. What could be the issue?

https://i.imgur.com/uj3M1tg.mp4

Godot version v3.3.2.stable.official
in Engine by (20 points)

1 Answer

+1 vote
Best answer

It seems that you are using Input.is_action_just_pressed () instead of Input.is_action_pressed (). Can you post your move script?

by (2,058 points)
selected by

Oh man, such a weird error, thanks!

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.