Update Design Doc: `level` tool
parent
15a0b0f987
commit
db6ba7f49c
|
@ -71,12 +71,12 @@ The collision map is just an array of 8-bit unsigned integers laid out with the
|
||||||
### .spt Format (Sprite Table)
|
### .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.
|
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
|
2 bytes: Number of Sprites
|
||||||
For (Number of Sprites):
|
For (Number of Sprites):
|
||||||
1 Byte: Sprite ID
|
1 byte: Sprite ID
|
||||||
1 Byte: Tile index location (in tiles.bin)
|
1 byte: Tile index location (in tiles.bin)
|
||||||
1 Byte: Sprite Width (tiles)
|
1 byte: Sprite Width (tiles)
|
||||||
1 Byte: Sprite Height (tiles)
|
1 byte: Sprite Height (tiles)
|
||||||
```
|
```
|
||||||
|
|
||||||
### .ecs Format (Entity-Component System)
|
### .ecs Format (Entity-Component System)
|
||||||
|
|
Loading…
Reference in New Issue