Glitch with big sprites/backgrounds

Carloskhard

Member
Hi everyone,
I'm making a mobile game where you have a menu at the start.
In the menu I have 4 layers of background,3 for stars passing by at diferrent speeds (to create the depth feeling) and then the Tittle of the game. If I play the game on PC it runs smoothly and flawless,however if I run the game on Android every high resolution sprite seems to explode and glitch.This was not happening when the sprites were low resolution and does not happen always..I really can't find the problem.

This is how the Menu looks when it works:

upload_2017-9-4_13-2-35.png
and this is how it looks when glitched:Screenshot_2017-09-03-16-54-04.png Screenshot_2017-09-04-01-31-58.png

*This also happens in the tutorial room witth big sprites,so is not just a background problem

My game is 1280x720 in all rooms

If you need to know something more to help me I will post it for you.
Here is two screenshot of the room:
upload_2017-9-4_13-11-1.png
upload_2017-9-4_13-12-12.png
 
Last edited:

Carloskhard

Member
Check the size of your Android texture page and see if it's the same size as the Windows texture page size.
Increasing the size of the Texture page to from 1024 to 2048 have solve the problem.I've been reading about textures pages and it is more clear now why it was glitching.Reading about that has been very useful.
Thanks a lot man :)
 
Top