Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: AndersM on Fri 17/10/2003 14:59:24

Title: Size of compiled file
Post by: AndersM on Fri 17/10/2003 14:59:24
Since a .bmp picture is bigger than for example a .jpg picture,
will a game with only bmp-images have a bigger compiled file
than a game made only with .jpg pictures ?
Title: Re:Size of compiled file
Post by: scotch on Fri 17/10/2003 15:07:46
Well, ags can't even import jpg pictures, can it?

But anyway, the format you import doesn't make a difference to the size, no.  AGS stores the images internally in it's own way, room backgrounds are compressed using gif style compression, and sprites are not (which is one reason why zipping makes a difference)

The only things that make a difference are image size/resolution and colour depth, a 256 colour image will be a lot smaller than a 16 bit one.
Title: Re:Size of compiled file
Post by: Ishmael on Sun 19/10/2003 10:46:37
Also, the number of colors and the complexity of the images matters, AFAIK, so makeing simpler bgs or sprites might drop the file size...
Title: Re:Size of compiled file
Post by: Pumaman on Sun 19/10/2003 15:40:57
Scotch is spot on. Don't worry too much about the size of your Compiled folder - try zipping it up and you may be pleasantly surprised.
Title: Re:Size of compiled file
Post by: Timosity on Sun 19/10/2003 15:50:33
Yeah, zipping makes a huge difference, Just as an example, my latest game is 42MB in the compiled folder and when zipped compresses to 3.26MB, which is quite a significant difference.