Image Help Please!!
SethsApps
Member, PRO Posts: 328
Okay, my game is done and everything looks great except for one thing...my images are using 55 MB of memory. Is there any way to use another file format (other than .png) to compress them or anything I can do to make my animations not take up SO much memory. Any help will be very good, thanks!
Comments
If you are using 24Bit images...they will usually be about 3 to 4 times larger in file size.
You can also use a program like ImageOptim or PNGcrusher (google it) to squeeze them even more.
However...not sure if that will impact RAM usage. That number is usually impacted by the actual scale of the image. Larger iamges (backgrounds and such) use more ram than little sprite images. If you have LOTS of large images...this is probably eating up your ram.
so a 480x320 image will use about 615kb of memory on the device.
Still at 200x130, 50 images should not be excessive. Depends how many occurances of those 50 images are displayed I guess.
Right?
QS
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io
If you could have a static image with a couple of smaller animated actors on it to create an animated background, that might be better.
Then you may have to decide if you can live with a static background image.
EDIT: WHOA! Just posted and Stu's avatar change startled me!