Pyxel Edit Forum Archive
ArchiveFeature requests

Tilemap Export Filtering

Thndr
Sep 5, 2013 at 4:59 am
I suggest that when you export there should be an option of what to include in the exported file.

I personally don't use the FLIPX and ROT values so increases the filesize of the XML or JSON, and feel that there should be a way to cut down on the size. It causes quite a clutter with multiple layers on a decent size pyxel document.
Danik
Sep 5, 2013 at 9:02 am
I agree, I'll probably add this for the next version.
Z
zenmumbler
Sep 8, 2013 at 4:04 pm
Not exporting empty tiles would also help. Currently, empty-ish layers are exported as a whole bunch of tile index=-1 entries. Leaving those out would already cut down the file size enormously.
Thndr
Sep 10, 2013 at 3:12 am
Those are needed because you need to know the space is not assigned. The tileset starts at tile 0. Lots of programs parse an empty token in the array as a 0 numerically.

This assignment is needed for the tile system to work, and is needed to be there in the export too.