12 releases

0.1.3 Apr 24, 2023
0.1.2 Apr 23, 2023
0.0.7 Apr 21, 2023

32 downloads per month

MPL-2.0 license

1.5K SLoC


Standard Format

The standard save format of the library is a row of 16 tiles, if there is a variant, placed directly below the corresponding position.

Ideally you should provide sprites with transparency channels.

Supported Format

For tiles in non-standard cases, conversion functions are provided.

RPG Maker XP tiles

RPG Maker MV tiles

Tiny tiles

Wang tiles

Packed Format

Questions and Answers

Q: Is the save format too wasteful?

Yes, this resource format will have a lot of useless transparent pixels.

But this is just a lossless resource format for editor, it will compile into a compact format in game.

And thanks to the png compression algorithm, it doesn't take up too much extra disk space

Q: How about import 3-tiles or 4-tiles?

The library does not (and will not) support this, you must You have to manually decompose into 2-tiles.

Q: NavMeshes, Layers?

This library is only for resource management, please use TileMap for related functions.


~144K SLoC