Update Design Doc: `level` tool

master
Ashley N. 2023-09-24 16:18:42 +00:00
parent b819376e0d
commit 15a0b0f987
1 changed files with 11 additions and 0 deletions

@ -68,6 +68,17 @@ While the above format contains the graphics, this contains the nametable settin
### .lvc Format (Level Collision Map)
The collision map is just an array of 8-bit unsigned integers laid out with the same tile dimensions as your visible layers. 0 is a free area, while 1 is a collision area.
### .spt Format (Sprite Table)
The Sprite Table contains a mapping of sprites to tile indices, as well as their tile dimensions and number of animation frames.
```
2 Bytes: Number of Sprites
For (Number of Sprites):
1 Byte: Sprite ID
1 Byte: Tile index location (in tiles.bin)
1 Byte: Sprite Width (tiles)
1 Byte: Sprite Height (tiles)
```
### .ecs Format (Entity-Component System)
This file contains the entity-component system defined by the [attributes](#entity-component-system) set in Tiled Map Editor's object layer(s).