Heavy RAM usage ?

moses92moses92 Member Posts: 1
edited November -1 in Working with GS (Mac)
Hello ,
Ive been working on a project (a simple / casual addicting type game ) for the past month on gamesalad and yesterday I ran into some kind of trouble .
Basically the game gives the player the option to choose from a list of 3 characters to play with, with different sprites and animations to everyone one of them . Each of the 3 characters has 6 different animations ( 20 frames each , every animation averaging about 130kb ) .
While testing out each character alone , the game ran smooth and nice . However when i moved all 3 characters into the game , it started crashing and the RAM usage was really high ( 156mb ) .
Why is this happening ? how come all of the 3 characters are eating up the RAM while only one is actually active and in the game ?

Im testing it out on a 3rd gen iPod Touch .
PS - all the images are retina display resolution .

Comments

  • InLikeFlynnInLikeFlynn Member Posts: 171
    Did you check Resolution Independence on the home screen? That will automatically scale your images down on non retina displays to free up ram. Also, a lot of image formats are compressed, but when your game accesses the images, it uses an uncompressed form in memory. So images that appear small in your OS might be very large in game.
Sign In or Register to comment.