feat: Updated tilemap bundle

- Layout is now defined from bottom left corner
- Added rotation to lockpick bundle
- Added level TOML structures that match current level
This commit is contained in:
Alexey 2026-03-27 13:04:47 +03:00
commit 24153e476f
7 changed files with 225 additions and 72 deletions

110
assets/levels/level.toml Normal file
View file

@ -0,0 +1,110 @@
[[tiles.floors]]
x = 0
y = 0
w = 16
[[tiles.floors]]
x = 0
y = 4
w = 16
[[tiles.floors]]
x = 0
y = 8
w = 16
[[tiles.walls]]
x = 0
y = 1
h = 3
[[tiles.walls]]
x = 0
y = 5
h = 3
[[tiles.walls]]
x = 15
y = 1
h = 3
[[tiles.walls]]
x = 15
y = 5
h = 3
[[tiles.wall_connectors]]
x = 4
y = 3
[[tiles.wall_connectors]]
x = 4
y = 7
[[tiles.wall_connectors]]
x = 11
y = 3
[[tiles.wall_connectors]]
x = 11
y = 7
[interactive.player]
x = 1
y = 1
[[interactive.doors]]
x = 4
y = 1
facing = "right"
[[interactive.doors]]
x = 4
y = 5
facing = "right"
lock = "right"
[[interactive.doors]]
x = 11
y = 1
facing = "left"
lock = "left"
[[interactive.doors]]
x = 11
y = 1
facing = "left"
[[interactive.stairs]]
x = 8
y = 1
floors = 2
[[interactive.containers]]
x = 2
y = 1
[[interactive.containers]]
x = 14
y = 1
[[interactive.containers]]
x = 2
y = 5
w = 4
h = 4
[interactive.containers.items]
id = "lockpick"
x = 2
y = 2
[[interactive.containers]]
x = 14
y = 5
w = 2
h = 2
[interactive.containers.items]
id = "lockpick"
rotated = true