mirror of
https://github.com/Noratrieb/game-wip-dontplay.git
synced 2026-01-17 04:45:02 +01:00
More around design documents, add save design doc
This commit is contained in:
parent
06a0593b72
commit
7c3bfe373a
3 changed files with 13 additions and 0 deletions
13
design/save.md
Normal file
13
design/save.md
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
Game has different worlds you can generate.
|
||||||
|
Each world has its own folder.
|
||||||
|
Each folder has:
|
||||||
|
- Player file (player.dat)
|
||||||
|
- Subfolder for regions (regions/)
|
||||||
|
|
||||||
|
Each region subfolder has:
|
||||||
|
r.x.y.dat files for each chunk, where x and y are the region coordinates.
|
||||||
|
|
||||||
|
# Regions
|
||||||
|
A region stores multiple chunks in a single file for more optimized storage.
|
||||||
|
Current plan is to store 8 chunks in a region, in other words, 1024*1024 blocks.
|
||||||
|
Around one million blocks, compressed with zstd compression.
|
||||||
Loading…
Add table
Add a link
Reference in a new issue