What are the best tools to save memory on my game?

what are the best tools to save memory on my game to not spend the 50mb [import]uid: 93421 topic_id: 35026 reply_id: 335026[/import]

Use JPEGs instead of PNG’s for images that don’t need Alpha transparency like backgrounds, tiles, etc. If it has any transparency area, you will have to use PNG.

If you’re using dynamic images (i.e. normal, @2x and @4x sizes), don’t use @4x images if the @2x looks fine on the bigger device. Images that have lots of solid areas will resize up nicely.

Use 11Khz mono sounds instead of 44Khz Stereo tracks.

Reuse art wherever possible. I did an app that had a sheet of paper on a wood table tool. The original art provided me the paper on the wood table as a single image and there were around 10 of these. I had the artist, send me just the one wood table, and one piece of paper and then the things draw on the paper (graphics, buttons etc.) as smaller individual graphics. Saved a ton of space.

[import]uid: 199310 topic_id: 35026 reply_id: 139260[/import]

Use JPEGs instead of PNG’s for images that don’t need Alpha transparency like backgrounds, tiles, etc. If it has any transparency area, you will have to use PNG.

If you’re using dynamic images (i.e. normal, @2x and @4x sizes), don’t use @4x images if the @2x looks fine on the bigger device. Images that have lots of solid areas will resize up nicely.

Use 11Khz mono sounds instead of 44Khz Stereo tracks.

Reuse art wherever possible. I did an app that had a sheet of paper on a wood table tool. The original art provided me the paper on the wood table as a single image and there were around 10 of these. I had the artist, send me just the one wood table, and one piece of paper and then the things draw on the paper (graphics, buttons etc.) as smaller individual graphics. Saved a ton of space.

[import]uid: 199310 topic_id: 35026 reply_id: 139260[/import]