With the introduction of large quantity of trees i got the game freezing for 1-2 sec every 1-2 minutes of play ( i put autosave to 30 mins so is not the problem )
Maybe i found a solution to that optimizing all the .png in the graphics folder.
the size is now 1/3 of original with no visual quality loss
game load faster , and is not freezing anymore.
here is the compressed images:
https://dl.dropboxusercontent.com/u/557 ... aphics.rar
Optimized .png
Moderator: ickputzdirwech
Re: Optimized .png
Hi, thanks for pointing this out! I have a question, though. Your optimized files and they seem to have alpha channel removed. That is intentional? Because that it breaks shadows. The removed alpha channel might be a reason why the game is faster (for me it was a little slower, but it might be a measurement error). Otherwise the images are stored in memory unpacked, so there shouldn't be any difference between optimized and unoptimized png For distribution, however the optimized ones are much better (obviously), so it's really great you brought this up.
I have no idea what I'm talking about.
Re: Optimized .png
Thnk the software used to optimize the .png has removed the alpha channel.....
I didn' realized it until now
i'm checking as soon as i can to see if they can be optimized without losing it.
I didn' realized it until now
i'm checking as soon as i can to see if they can be optimized without losing it.
Re: Optimized .png
Yes they can, on linux I usedMarqee wrote:i'm checking as soon as i can to see if they can be optimized without losing it.
Code: Select all
pngfix --strip all --optimize
I have no idea what I'm talking about.
Re: Optimized .png
I have no idea what I'm talking about.
Re: Optimized .png
You may want to look at http://imageoptim.com als well, since it incorporates a number of tools into one tool chain. For web development I use it a lot to get png and jpg images down to smaller sizes. Sometimes even 20% of the original without noticeable quality loss.
Re: Optimized .png
i used those two :
http://luci.criosweb.ro/riot/
https://tinypng.com/
think both remove the alpha channel , keeping transparency.
http://luci.criosweb.ro/riot/
https://tinypng.com/
think both remove the alpha channel , keeping transparency.