Memory question
I played my game in GS view a few times, and it says that it's taking up 32mb of memory in images alone.
But all of my artwork only ads up to 651k , can someone please explain this?
My understanding is that I should stay under 40MB?
What do you think is ideal memory usage?
But all of my artwork only ads up to 651k , can someone please explain this?
My understanding is that I should stay under 40MB?
What do you think is ideal memory usage?
Comments
I don't remember the numbers offhand, but GameSalad uses set amounts of memory for different sized images. it' starts out with 32x32, 64x64, 128x128 etc…If your image is imported in at 12x12, GameSalad is still going to use the set amount of memory for an image 32x32, since that's where it starts. And if your image is 36x32, even though it's just barely over 32, GameSalad will use the set amount of memory for an image that is 64x64.
Hope that made sense.
kipper
And I could still be missing something.
But the jump from 32x32 to 64x64 is 4 times the amount of information.
All my are is 651k , even if for whatever reason gamesalad was using 10x more info than necessary , it would only be 6.5 MB
I am not totally sure but my guess is that you are using images that are geared toward screen size and that this when in game memory is pushing things up hugely. By tiling parts of the image together the images you be able to drop the memory usage radically.
edit- 15 points to mr.slick. you beat me to it this time.
Kipper (big and ugly)