sprites compression

Started by Monsieur OUXX, Tue 01/12/2015 16:00:16

Previous topic - Next topic

Monsieur OUXX

Hi,

I know it has been explained numerious times, but I can't seem to find the information.
Suppose I have many sprites that would take very little space if they were RLE-compressed.
What would be the best way to reduce my game size? Does it work if I import .PNG files for sprites, or are they immediately converted to whatever format by AGS?
 

Crimson Wizard

#1
Sprites are converted to raw bitmaps when you import them in project.
To compress them enable "Compiler / Compress the sprite file" in the general settings.

Monsieur OUXX

Quote from: Crimson Wizard on Tue 01/12/2015 19:42:58
Sprites are converted to raw bitmaps when you import them in project.
To compress them enable "Compiler / Compress the sprite file" in the general settings.

Alright. But I hope it's lossless compression.
 

Scavenger

Quote from: Monsieur OUXX on Wed 02/12/2015 10:12:38

Alright. But I hope it's lossless compression.

It's literally just RLE. It would be really useless if it was lossy, since AGS doesn't save the raw files seperately. You'd end up losing all your data after a couple of saves.

SMF spam blocked by CleanTalk