Godot Version
4.2 main branch.
Question
Hello everyone!
For the past 2-3 months, I’ve been working on a clicker idle game. This is my first project in Godot, and my programming knowledge was almost non-existent before this. Right now, the game is almost finished, but I’m facing some issues with Android export.
Firstly, when it comes to the achievement system, I used the mouse_entered
and mouse_exited
signals. When the player hovered the mouse over the achievement textures, information about that achievement would appear at the bottom of the screen. I assumed that when the user touched the texture on Android, it would trigger the mouse_entered
signal, but it seems that mouse_entered
signal doesn’t work on Android. What signal or function can I use instead?
My second issue is with GpuParticles in the game. These particle effects show up in the editor, in the Windows port, in the HTML5 port, and even in the HTML5 port accessed from a mobile device, as well as in Android Studio. However, when I convert the game to an APK and install it on my phone, these particles don’t appear. My phone is relatively new. What could be causing this?
This brings me to my third question. Probably, to solve these two problems, I’ll need to make code changes that might affect the functionality of the game on its main platform, Windows. Currently, I’m thinking of creating a separate project for the Android port and progressing with two different projects. However, if I go this route, when I identify a bug, I’ll have to fix it in both projects. Is it possible to use different code for Android and Windows within the same project?
Thanks for taking the time to read this. I’m eagerly awaiting your responses.