Why can't you use normal buttons?
TouchScreenButtons don't work when project exported to android
DaveTheCoder I would need to change every touchbutton in the game which would take a lot of time. Could this possibly a bug?
- Edited
If it's a bug, why does the button work for me?
Did you try disabling "Use Gradle Build"?
Try searching the github issues. I found several by searching for "TouchScreenButton".
- Edited
DaveTheCoder Maybe it only doesnt work when you use gradle. From my understanding i need to use gradle because of my plugins or something.
edit: it also doesn't work without grade. I have know idea what im doing wrong T-T
DaveTheCoder Maybe it is an emulator problem?
- Edited
Tested two different projects on 2 different versions of godot on 2 different emulators with different settings, nothing works. Slowly loosing my mind
You're having the problem when using an Android emulator? What about on an actual Android device?
DaveTheCoder hehe i dont have one
You should have said that earlier. Can you upload the .apk for that small test project?
DaveTheCoder ok, ill try
I installed test2.apk on my Android phone.
Both buttons work. If I touch the left button, "touchscreen button pressed" is displayed. If I touch the right button, "normal button pressed" is displayed.
DaveTheCoder huh? So why does it not work for me. Maybe I should install a new version of android studio but I doubt that is the cause. The funny thing is everything worked normally before…
I have Android Studio installed, and have used it for making Android apps using Kotlin and Dart/Flutter.
But I've never used it for emulating a Godot Android app. I'd like to do that, but haven't figured out how. If you can provide instructions on how to do that, I could try it and see if I can duplicate the problem you're having.
i was testing a litttle bit more and it turns out it doesn't detect any touch input, only mouse.
Please, can anyone help?
DaveTheCoder did you try it already?