Hey guys I have a game that the background scrolls and then repeats so it’s like a constant movement. My question here is my images range about 6-8k pixels wide each to do what I want. All of the background is different there is no repeating besides when it scrolls through and restarts. I want to know is there a better way to get this without having to use images that size? To me it seems like ridiculous size to have but I don’t know of another way to go about this… Any suggestions? Also I may be wrong… is it not really gonna effect performance much at all? [import]uid: 20272 topic_id: 35053 reply_id: 335053[/import]
Hi @mkjt88,
The limitation here will be the allowed texture size of the device. This varies by device, but you can view the limit on each device by doing:
print( system.getInfo( "maxTextureSize" ) )
You just can’t exceed that limit (in pixels in either direction), so you’ll need to find a way to “tile” your images into several parts and scroll them together, quite possibly by adding them to the same display group.
Brent [import]uid: 200026 topic_id: 35053 reply_id: 139422[/import]
Ok appreciate the help. [import]uid: 20272 topic_id: 35053 reply_id: 139518[/import]
Hi @mkjt88,
The limitation here will be the allowed texture size of the device. This varies by device, but you can view the limit on each device by doing:
print( system.getInfo( "maxTextureSize" ) )
You just can’t exceed that limit (in pixels in either direction), so you’ll need to find a way to “tile” your images into several parts and scroll them together, quite possibly by adding them to the same display group.
Brent [import]uid: 200026 topic_id: 35053 reply_id: 139422[/import]
Ok appreciate the help. [import]uid: 20272 topic_id: 35053 reply_id: 139518[/import]