Search Unity

Minimize build size

Discussion in 'Flash' started by RetronamicGames, Oct 17, 2013.

  1. RetronamicGames

    RetronamicGames

    Joined:
    Feb 9, 2013
    Posts:
    84
    How do you guys minimize your build size for Flash games?

    1. Smaller compressed textures? (512x512, JPG?)
    2. Which kind of audio compression for sound effects?
    3. Which kind of audio compression for music?
     
  2. DDowell

    DDowell

    Joined:
    Feb 8, 2012
    Posts:
    52
    1. Texture atlases that are custom sized for best effect. JPEG compression at around 80% for most but higher for some.
    2 3: Since audio is always compressed at MP3 128kpbs and cannot be overriden for Flash builds, we have opted to use Flash Profession CS6 to export a SWF with custom compression on all sounds, import the resulting SWC and then having our audio engine play them from inside Unity.