mirror of https://git.sr.ht/~kikoodx/kble
390 B
390 B
.kble file format
Recommanded extension: .kble
Data stored: level size, level content.
Encoding:
- first byte indicates how big is a chunk of data (in bytes)
- second and third bytes indicates level width
- fourth and fifth bytes indicates level height
- 7th => (7 + data_size * width * height) contains level data
If the encoding is incorrect, return an error or crash the program.