Crate tileset

Source
Expand description

§TileSets

§Standard Format

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.

§Supported Format

For tiles in non-standard cases, conversion functions are provided.

§RPG Maker XP tiles

§RPG Maker MV tiles

§Tiny tiles

§Wang tiles

§Packed Format

§Questions and Answers

§Q: Is the save format too wasteful?

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

§Q: How about import 3-tiles or 4-tiles?

The library does not (and will not) support this, you must You have to manually decompose into 2-tiles.

§Q: NavMeshes, Layers?

This library is only for resource management, please use TileMap for related functions.

Modules§

utils

Structs§

AnimationFrame
Combining multiple sequence frame sprites into one animation frame sprites
FileSystemTiles
Create a new tile set from rpg maker xp atlas.
GridCompleteAtlas
Create a complete tile set from image.
GridCornerRMVX
A corner type tile set used in RPG Maker VX, RPG Maker VX Ace, RPG Maker MV, RPG Maker MZ.
GridCornerRMXP
A corner type tile set used in RPG Maker 2000, RPG Maker 2003, RPG Maker XP.
GridCornerWang
Wang tile connected by corner rule.
GridEdgeTiny
A edge tile atlas for gridded maps
GridEdgeWang
Create a complete tile set without check.
GridSimpleAtlas
Create a new tile set from rpg maker xp atlas.
SubImage
A View into another image

Enums§

TileAtlasData
Create a new tile set from rpg maker xp atlas.

Traits§

GridAtlas
Create a new tile set from rpg maker xp atlas.
TilesProvider
A manager that can dynamically determine the required tiles.

Type Aliases§

RgbaImage
Sendable Rgb + alpha channel image buffer