Update Design Doc: `level` tool
parent
da0cded62c
commit
59f2dbb5ea
|
@ -44,7 +44,7 @@ The .lvl format is output by the `level` tool. It is a binary format ideal for u
|
||||||
|
|
||||||
### Entity Data
|
### Entity Data
|
||||||
```
|
```
|
||||||
2 byte: Number of entities
|
2 bytes: Number of entities
|
||||||
For (number of entities):
|
For (number of entities):
|
||||||
* 2 bytes: Entity ID (-1 if not present)
|
* 2 bytes: Entity ID (-1 if not present)
|
||||||
```
|
```
|
||||||
|
@ -68,4 +68,12 @@ For (number of component instances):
|
||||||
* 2 bytes: Value of the associated field (order per configuration TOML as mentioned above).
|
* 2 bytes: Value of the associated field (order per configuration TOML as mentioned above).
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Map Data
|
||||||
|
```
|
||||||
|
For plane A and plane B:
|
||||||
|
For (total tiles height):
|
||||||
|
For (total tiles width):
|
||||||
|
2 bytes: Tilemap ID
|
||||||
|
```
|
||||||
|
|
||||||
(TBD !!)
|
(TBD !!)
|
Loading…
Reference in New Issue