Crates.io | tileset |
lib.rs | tileset |
version | 0.1.3 |
source | src |
created_at | 2023-04-19 13:27:32.959656 |
updated_at | 2023-04-24 03:43:46.102533 |
description | Tailset definition, and supports importing multiple formats |
homepage | |
repository | https://github.com/oovm/Tilemap |
max_upload_size | |
id | 843540 |
size | 76,764 |
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.
You can download tile sets from these sites:
For tiles in non-standard cases, conversion functions are provided.
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
The library does not (and will not) support this, you must You have to manually decompose into 2-tiles.
This library is only for resource management, please use TileMap for related functions.