Copy link to clipboard
Copied
I'm trying to save a sprite sheet that is 347 x 11,766 in animate cc but it keeps snapping back to 347 x 8192. Did I miss something in setting up my publishing settings, or is there another work around to this issue?
The sprite sheet size is usually dependent on what the GPU abilities are of the device you want to run on. If you're ok with only using more recent mobile devices you might limit to 2048 across. If you want older devices to have a chance you would limit to 1024. If you don't care about performance or memory you could use up to 8192.
Whatever you use, as many PNGs as is needed are created, and the one text file that is exported controls all of them.
If you're doing HTML5 Canvas, and not WebGL, then
...Copy link to clipboard
Copied
The sprite sheet size is usually dependent on what the GPU abilities are of the device you want to run on. If you're ok with only using more recent mobile devices you might limit to 2048 across. If you want older devices to have a chance you would limit to 1024. If you don't care about performance or memory you could use up to 8192.
Whatever you use, as many PNGs as is needed are created, and the one text file that is exported controls all of them.
If you're doing HTML5 Canvas, and not WebGL, then the GPU side of things doesn't matter, but you have to live within the limits of bitmap sizes. For your example it would mean that two images are downloaded instead of one, which would be a small overhead on the page load.
Something else, sprite sheets don't have to be a long thin strip, have you tried setting the sprite sheet to be 1024x4096? What you have very nearly fits inside 2048x2048.