feat: Unfinished level loading

- Added level struct
- Added loading tests
- Partially implemented level setting up system
This commit is contained in:
Alexey 2026-03-27 18:31:46 +03:00
commit 0ab2620724
9 changed files with 414 additions and 5 deletions

View file

@ -1,3 +1,6 @@
[meta]
tiles = [ "floors", "walls", "wall_connectors" ]
[tiles]
floors = [
{ x = 0, y = 0, w = 16 },
@ -26,7 +29,7 @@ doors = [
{ x = 11, y = 5, facing = "left" },
]
stairs = [
{ x = 8, y = 1, floors = 2 },
{ x = 8, y = 1 },
]
containers = [
{ x = 2, y = 1 },