#tiled #sparse #tiling #tile #gamedev #tmx #generate

app tiles7800

a companion tool of cc7800 generating tiling data from Tiled maps

2 unstable releases

0.3.0 Sep 11, 2023
0.2.0 Aug 16, 2023

#2034 in Game dev

GPL-3.0-or-later

51KB
351 lines

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

~13MB
~200K SLoC