gurkenlabs / litiengine

LITIENGINE 🕹 The pure 2D java game engine.
https://litiengine.com/
MIT License
725 stars 93 forks source link

Update TileData specification #463

Closed nightm4re94 closed 7 months ago

nightm4re94 commented 2 years ago

\<data> compression: The compression used to compress the tile layer data. Tiled supports “gzip”, “zlib” and (as a compile-time option since Tiled 1.3) “zstd”.

steffen-wilke commented 7 months ago

While zstd is a good algorithm for compressing TileData, supporting it would lead to the LITIENGINE either adding an external dependency to libraries like https://github.com/airlift/aircompressor or https://github.com/luben/zstd-jni or providing an extension point for the compression/decompression during serialization.

Since there is not a big expected value for the projects that are usually realized with the engine,

LITIENGINE will not support zstd compression for the time being and rely on gzip and zlib default java implementations instead.