|Topic was automatically imported from the old Question2Answer platform.
I exported my project to windows and everything works fine, but exporting an apk to use on android some sprites disappears. I created na area2d with textureButton, but the sprite and the functionality of the buttons are gone on my android phone. I imported with gles3 and gles2, enabled all architetures but nothing changed.
I’m using 100x100 for all images. I don’t know whats the difference between the sprites that work and the ones that don’t. The sprites that don’t work are being generated one by one, in tiles similar to a chess board, with a 12x8 board size. Also, my game is 1200x800.
I did found this: “Create a Control node and just reparent your top most node that contains your sprites/anything not rendering to the newly made control.” But i’m not sure if I’m doing correct. I have a tilemap as a main node. It’s child is control, and child of control is a texture button with a sprite that does not work on android.
Attach Logcat output or no one will be able to help.
yrtv | 2021-02-09 21:26
I found a solution, it worked for me. Make sure the textures are directly in the “sprites” folder.
HelderSu | 2021-06-15 12:27