- Изменено
Max Page Size 1024px x 1024px
Hi,
Am i right in assuming that you cannot have an image that is greater than 1024px x 1024px as part of your .json and texture packer export?
I am wanting a particular image to be 2500px in length. The reason being we are creating a highly animated game with scenes where there will be zoomed in close ups on characters and the objects they interact with.
Please advise? Thanks.
Hi homerthethief,
When you export, go to the atlas settings, then set the MaxWidth and MaxHeight so that they are bigger than your source image.
Texture Packing - Spine User Guide: Settings
Remember that padding adds up to the size of the page, so if you add one pixel padding per side, 2500px won't be enough.
This being said, I hope you're exporting a background, otherwise 2500px for a single piece of skeleton is really huge!
Thanks Erikari,
Can't believe i missed this!
2500px is for a large object the character interacts with which is consequently a child bone in the character skeleton.
All characters will be a max of 1000px high.
Can you foresee any problems with this?
As I say the game will be heavily animated and will feature some very close up shots where we therefore need the characters/skeletons to be such a high resolution to maintain their quality.
2048x2048 is a reasonable max texture size for mobile devices. Note that an RGBA texture of that size will take up 16MB of video memory (2048 * 2048 * 4 bytes per pixel). While it depends how modern the devices are that you are targeting, if you are doing a mobile app then I think a general rule is to try to use less than 128MB. If so, you'd want to try to keep it at 7 or fewer textures of that size. You may need to load and unload textures as needed.