MarcoFazioRandom / Virtual-Joystick-Godot

A simple virtual joystick for touchscreens, for both 2D and 3D games, with useful options.
MIT License
742 stars 81 forks source link

Issue with buttons on mobile after export #86

Open MartinLyne opened 1 week ago

MartinLyne commented 1 week ago

Hey, I think I have an issue that stems from the touch as mouse / mouse as touch settings that the joystick requires.

Seems a normal button works fine on desktop when clicked with mouse, but after exporting it to android the button doesn't respond to touch input. (This is before I can even get to the joystick, so that may work fine)

It's quite possible I'm doing something dumb.. but if anyone has any idea how I might get around this I'd love to hear it thanks.

MarcoFazioRandom commented 1 week ago

There was a similar issue some time ago, #55. Try using TouchScreenButton instead of TextureButton.

MarcoFazioRandom commented 1 day ago

Hey @MartinLyne, do you have any news? Have you tried that solution?