![]() ![]() I prefer the latter since it makes things easier and avoids loading additional bytes on most of the devices. You could split the tree into 2 parts and join it by using sprites on the device – or create another sprite sheet which is only loaded on iPhone 5. iPod 4G only allows a maximum texture size of 2048×2048. You can’t simply add the tree to the jungle sprite sheet since the tree is more than 2048 pixels high. You need one more sprite sheet – this one for iPhone 5, to contain the tree left and right which occupies the additional space. Check and see if they are there.Ĭreating the Frame Spritesheet for iPhone5 This creates 4 files in the Resources folder: ist,, ist, and. This will automatically set the Texture File to .įinally, save the sheet as jungle.tps in the Assets folder and click Publish. Set the Data File to ist in the Resources folder of your Xcode project. The easy way around this is to simply not add the sprite sheets to version control, and instead create them on the fly. This will grow your working copy size pretty fast, especially when using Git or Mercurial for version control.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |