James
James

Reputation: 746

what to do when your sprite sheet gets too big?

I just filled up the sprite sheet for my game, so that I had to increase the max width from 2048 to 4096. Now the sprite sheet won't load on my iphone 4, although it loads fine on my iphone 5, leading me to think it's either a hardware issue or an iOS version issue as the 4 is still on iOS 5.1.

What can I do in this situation? I have included the background for my game in the sprite sheet, and that's taking up most of the space. Should I remove it from the sprite sheet and add it as its own file? Am I better off starting a second sprite sheet? What's the best solution in terms of performance? Is there a way to get a larger sprite sheet to work on older devices?

Upvotes: 0

Views: 540

Answers (2)

Sylvan
Sylvan

Reputation: 536

If I was looking to trim the size of my sprite sheet I would remove the background images from the sprite sheet.

Upvotes: 0

JustSid
JustSid

Reputation: 25318

This is a hardware limitation. Solution? Use more than one spritesheet.

Upvotes: 1

Related Questions