[SOLVED] Can't see images on Android

Why on PC game works perfectly fine, but on Android app I can see only two sprites?
There are objects, because collision works, but the sprites doesn’t render on Android Device.

1 Like

Are they on the same Z position as other content that might cover them (such as a background image)?

1 Like

Z position is different. I’m using Z as layers. Nothing cover the objects.
There is movie from prototype https://www.youtube.com/watch?v=JoQfpd13oRw
On the phone I have only Ninja, bottom platform and donuts. Background doesn’t display, helicopter and front light (snow) layer too.

1 Like

Whoa cool game! Check if the textures are too big, that might be why they don’t show up on the phone. Different hardware have different requirements on texture sizes.

1 Like

Ah, good point Ragnar. That’s a very likely reason. I’d recommend to not go above 2048x2048 pixels in your atlas files.

2 Likes

All textures are lower than 2048x2048. Files size about 5 KB max to 115 KB (just one so big).

Update: I just realised that you are talking about all atlas not just one texture in atlas. It’s work!
I have to reorganize all atlases. Thank you all for help! :blush:

1 Like

Correct, it’s the size of the entire atlas that is of interest, not of individual images. You can see the size of an atlas by opening it and it will be shown in the top-left corner as “Size: width x height”

1 Like