3 releases (breaking)
new 0.4.1 | Dec 13, 2024 |
---|---|
0.3.0 | Sep 11, 2023 |
0.2.0 | Aug 16, 2023 |
#449 in Game dev
128 downloads per month
120KB
1.5K
SLoC
tiles7800
tiles7800 generates C code from Tiled (Tiles editor) TMX files. It can be used as a simple TMX
to C converter by supplying the TMX file in argument, or it can be used to generate sparse
tiling data C code using the --sparse
option.
Sparse tiling
In case of sparse tiling C code generation, you must provide a Sprites7800 YAML containing the tiles definitions (their mode, the palette number, etc), so that tiles7800 can optimize the generated code and get benefit of the sparsity of data.
The generated C code must be used with the sparse_tiling.h
header provided with cc7800.
See the sparse tiling examples in the examples
directory of cc7800 to see how this works.
Dependencies
~11MB
~193K SLoC