ios - Create "Sprites" to Reduce iPhone App Memory -


Currently all my icons and buttons on my iPhone app. PNG loads as pictures, which takes considerable memory, are there any other format or means of loading multiple images, such as the amount of memory used by my app, is greatly reduced?

What specific UIImage method do I use to load images?

Thank you!

Disclaimer: So far the iOS is not super familiar, probably the best answer will not be . But I am familiar with some more spratings, so maybe it will help you.

A traditional approach that can save some memory (based on iOS device process images; I'm not sure) to add your prints to the spread sheets

For example, instead of 16 different 32x32 PNGs, it stores a 128x128 PNG (4 to 4 sprites), and you display your sprites through pixel offsets. Normally, offsets are expressed as an index, multiplying by 32 in the assist method to find the actual pixel offset.

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -