0 votes

i've been trying to figure it out for a few hours but i'm just out of ideas, can someone help me create a system where i have 4 buttons for movement (up, down, left, right) which are actually touch controlled, but they can also be pressed in the same time (for example if you press up and left you go diagonally), it's just giving me too much problems so any help is appreaciated

asked May 17 in Projects by Tova (98 points)

1 Answer

0 votes

You can use TouchScreenButton nodes for the controls, as for the direction you could use a normalized Vector2 that you modify whenever a button is pressed.

answered May 21 by DodoIta (388 points)
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.