Memory usage Problem
1UpGamestudio
Member Posts: 213
I to all,
my game use 150,00Mb memory.
Image: 84Mb
Sounds: 700Kb
Game Engine: 39Mb
Other: 35Mb
I want to know how to lower memory consumption and let me know what you mean by OTHER.
thanks
my game use 150,00Mb memory.
Image: 84Mb
Sounds: 700Kb
Game Engine: 39Mb
Other: 35Mb
I want to know how to lower memory consumption and let me know what you mean by OTHER.
thanks
Comments
Other contains music for sure, but I don't know what else.
Make sure your images are all the correct size to optimize RAM usage. Remember to use the "POWER OF 2" rule, which means making graphics sizes that are (2,4,8,16,32,64,128,256,512,1024) in width or height.
An image that is 100 pixels by 100 pixels will use the same memory as one that is 128 x 128.
Therefore if you use a picture that is 110 x 130 then it will use the same memory as a 128 x 256 graphic, resizing it down to something that falls within the "Power of 2" will result in better memory usage.
If you are new to GS, I would highly recommend getting the Gamesalad Handbook from Photics (http://gamesalad.com/forums/topic.php?id=9334). Saved me HOURS of researching and has a whole section on Memory Usage. It's cheap...
I have in my game 12 background 800x800 - 1 background 480x320 and same sprite 50x50.
the game run slow in some places.
I have 5 animation 480x320 of 10 frame
Good Luck
but if I make the image 512x512 and then increase from attribute dimensions are viewed as large or small images?