How to Get your game under 20mb ?!

POMPOM Member Posts: 2,599
edited November -1 in Working with GS (Mac)
Please post here all your tips on how to decrease mb in your projects!
Images, sound effects, music, development tips, you name it..

Here is one from me:
For photos : in using "imageoptim" to make the png's a smaller file size!

( I wonder if we can run this procces on the resolution indepandens images that GS servers gives us )

Comments

  • sebmacflysebmacfly Member Posts: 1,018
    "You can make your images the size you actually need. Keeping in mind the power of 2 rule. That rule is, images take up as much memory as an image of the same size as the next highest power of 2 in each dimension.e.g. 127x256 takes up as much memory as 128x256. But 129x257 image takes up as much memory as a 256x512."

    GameSalad Customer Support Tips
  • POMPOM Member Posts: 2,599
    @sebmacfly
    This is good tip for RAM usage during gameplay ! However the power of 2 will not affect the project filesize...
  • sebmacflysebmacfly Member Posts: 1,018
    p-o-m said:
    @sebmacfly
    This is good tip for RAM usage during gameplay ! However the power of 2 will not affect the project filesize...

    Hummmm sorry for the mistake :S
  • sebmacflysebmacfly Member Posts: 1,018
    You can Show the content of your project, and compress the PNG files into the "images" folder...
    And replace it in that folder (you can save some memory)
  • MotherHooseMotherHoose Member Posts: 2,456
    you should delete the screenshots images in the application after the build...

    those are there to help us in creation and have no value/use in game runtime...

    again... do the R click in Finder on your app file and Show Package Contents... open the screenshot folder and select and delete those images.

    also do the imageoptim on the image there in Package Contents... to make sure no extraneous png info has been attached to your images.

    MH
  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    And where possible, making your sound/music files as 22 Khz, mono can help a fair bit, if you've lots of sound files.

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

  • MarkOnTheIronMarkOnTheIron Member Posts: 1,447
    The screenshots are to be deleted before the build. Also the Imageoptim should be run before the build.

    If you have music convert it with Audacity to mono and resample it to 22050 Hz. Save it then to aac at 128, the sound instead have to be saved as ogg.

    If the images don't have too much colors or gradients or transparency try to save them as Png8 with Photoshop.
  • MotherHooseMotherHoose Member Posts: 2,456
    MarkOnTheIron said:
    The screenshots are to be deleted before the build. Also the Imageoptim should be run before the build.

    ...

    worked fine after the build... but @MarkOnTheIron think your way may be more correct...
    so save a separate copy and clean-up and build that one... so you don't lose the screenshots in your work-up gameProject.

    MH
  • expired_012expired_012 Member Posts: 1,802
    I remember someone posting about a program called ImageOptim. Download it, it helps a ton. You basically drag in all of your images in there and it optimizes all of them for you, and reduces the size of the image anywhere from 30-60% and the image stays in the same quality as before. Try it out
Sign In or Register to comment.