I have a question about how to use SpriteAtlas.
The first image is a shop panel,
The second image is the player’s inventory panel.
To optimize mobile performance
When both panels created their respective sprite atlases,
There is a yellow button used on both panels.
Copy each yellow button image file
Shop Panel Sprite Atlas and Inventory Panel Sprite Atlas
Would you like to put it in?
Or a single image file shared by two sprite atlases.
Would you like to put it in?
Few options:
- If it fits in both atlasses, put it in both. That way each panel can be batched properly. It’s not worth bumping the texture resolution probably.
- You could make an atlas for each panel, and 1 atlas for shared images across scenes.
- If you don’t run into performance issues on target hardware, it’s not that big of an issue
1 Like
Thanks for your help!
perfectly understood