Perhaps you can check the maximum texture size of your hardware. Maybe it’s lower than 5000, which might cause a problem. You can check it with something like the snippet below:
It give me 4096 on Android (One Plus One), but PNG image is now 4000x864… I am thinking to put a series of images and make them scrollable so it looks like a single image… but I think it is so expensive in RAM usage.
EDIT: I just noticed that with this method it doesn’t draw neither smaller images (2000x400)… maybe I am wrong with something
OK, for now I resolved putting an horizontal tile of images, and it seems to works very good, but I think it isn’t the best ways to do it.
Now I have another question: is there a method to draw images only when they are on the screen? I think it is heavy to draw images when they are not visible on the screen… I am doing something like this for now:
Yeah I managed it to works, thank you, but unfortunately it is not compatible with RGBA images in PNG :\ thanks a lot however, I done it with making a “handmade” tiled image