Game making on mobile

Godot Version

Replace this line with your Godot version

Question

Hello. I’ve been trying to make a game on my mobile device. And I’m following this tutorial problem is the tutorial is for the desktop. So if possible can someone tell me how I can make keybinds into UI for mobile. So I can test the controls. Thank you in advance

I’m not sure what you’re trying to do exactly, but check this article, as it explains the input system pretty well.

I want to make erge game for mobile.

No I do not have a keyboard or mouse attached

Godot 4.6 I think

Also worth mentioning that Godot 4.7 introduces an easy to plug-in VirtualJoystick, so it might be recommendable to upgrade your project to the latest 4.7 instead of trying to implement it yourself. This will take care of your directional inputs.

If you need to simulate key presses, then simply binding actions to TouchScreenButton presses as @iOSxcOder mentioned should suffice.

1 Like