Are there any tricks for RAM efficiency?
I'm not doing anything particularly tricky or advanced in my game, but the RAM usage is over 60 MEGS. Is there anything specific that can be done to unload unused images or something like that? The only thing I'm spawning is the ball that is shot. There are a fair amount of timers, but without them, I can't do things like change the scene or reset the scene. It's pretty depressing to have a basic game go off the charts with RAM. I had bigger ideas for bigger games, but now I'm beginning to think twice.
Comments
The main culprits for RAM usage are images and sounds.
Make sure all of your images are 72dpi .png files.
Understand how your images fit into texture memory in powers of two. If you don't know what I mean, read this post that I made in this thread here: http://gamesalad.com/forums/topic.php?id=13501
For audio files, unless absolutely critical to your app, I would make them all mono. To play a stereo sound, you are essentially playing two audio files at once.
The older iOS devices will crash when memory approaches around 40MB of RAM usage. If you want your game to work on the widest number of devices, that is the limit you need to stay under in each Scene.
Changing Scenes will (supposedly!) clear out RAM in GameSalad. There is currently no other way to flush out the RAM, so be careful how many images and sound effects you spawn into the Scene.