Does actor size affect memory use?
JoeB
Member Posts: 160
I'm switching from using an iPhone 5 portrait base when designing my game, to iPad portrait so I can use the universal build template.
The thing I noticed is that the size of the scene got a lot bigger while size of my existing actors stayed the same. Now i'm thinking of just enlarging the actors.
Question: If I increase the gamesalad 'size' of my actors, will this also affect the memory usage of these actors?
Thanks! I really want to make sure before I rebuild most of my actors.
The thing I noticed is that the size of the scene got a lot bigger while size of my existing actors stayed the same. Now i'm thinking of just enlarging the actors.
Question: If I increase the gamesalad 'size' of my actors, will this also affect the memory usage of these actors?
Thanks! I really want to make sure before I rebuild most of my actors.
Comments
"Unfortunately optimising your images won't have any effect on the size of the game in RAM, so if your game in RAM with unoptimized images is 140MB it will still be 140MB with optimized images.
The one way to guarantee smaller image files (in RAM) is to keep the file dimensions (in pixels) within the powers of 2 rule:
2 4 8 16 32 64 128 256 . . . . etc etc
A file that is 129 x 129 pixels takes up 4 times as much memory as a file that is 128 x 128 pixels, trim a single pixel from each dimension and you lose 75% of its RAM footprint.
A file that is 1025 x 1025 pixels takes up 4 times as much memory as a file that is 1024 x 1024 pixels, trim a single pixel from each dimension and you lose 75% of its RAM footprint."