Crates.io | tiles7800 |
lib.rs | tiles7800 |
version | 0.3.0 |
source | src |
created_at | 2023-08-16 14:25:58.894873 |
updated_at | 2023-09-11 07:56:57.166826 |
description | a companion tool of cc7800 generating tiling data from Tiled maps |
homepage | https://github.com/steux/tools7800 |
repository | https://github.com/steux/tools7800 |
max_upload_size | |
id | 945975 |
size | 146,183 |
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.
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.