#tiled #tiling #sparse #tmx #gamedev #converter #atari

app tiles7800

a companion tool of cc7800 generating tiling data from Tiled maps

3 releases (breaking)

0.4.1 Dec 13, 2024
0.3.0 Sep 11, 2023
0.2.0 Aug 16, 2023

#321 in Game dev

Download history 85/week @ 2024-12-07 56/week @ 2024-12-14 1/week @ 2024-12-21 1/week @ 2025-01-04

145 downloads per month

GPL-3.0-or-later

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

~10MB
~192K SLoC