+3 votes

Hello everyone! I just started tinkering with Godot today and, reading the tutorial, I stumbled upon the first sample project, Dodge the Creeps.

After completing it, I wanted to make a mobile version of it too. The tutorial itself gives a solution, but it is not exactly how I wanted it.

The reason lies in the fact the Player reaches the touched location, changing direction only upon a new press. What I wanted to achieve is the character moving towards your finger only as long as you keep it pressed down (stopping if you lift it, instead of keeping on moving until the precise touch location is reached), also dynamically updating its movement direction while your finger moves around the screen, even if it is not lifted and pressed down again.

How can I obtain this?

in Engine by (15 points)

Please log in or register to answer this question.

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 Frequently asked questions and 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 [email protected] with your username.