mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-20 06:58:20 +00:00
1883546939
3201: Map optimizer r=def- a=Jupeyy Wrote a map optimizer(very aggressive, explain later why). It reduces map sizes by ~40% (optimized the whole ddnet-maps repo and it was around 40% smaller afterwards) Test and idea by mind, credits to him What it does, and why I called it aggressive: - It removes all unused tiles from embedded images - It clears transparent pixels and dilates them as 2D array textures, instead of simple 2D textures. - It uses zlibs best compression So yeah, it changes the output map(keeps the source file working, output is in "out" dir), its not the same as before, it's a nice tool for optimizing size with a lot of embedded images as a final release, or when using higher resolution textures. Co-authored-by: jupeyy <jupeyy@am-6036ddb5ef41.intern> |
||
---|---|---|
.. | ||
antibot | ||
base | ||
engine | ||
game | ||
mastersrv | ||
osx | ||
osxlaunch | ||
steam | ||
test | ||
tools | ||
twping |