bevy-expedition-demo/assets/levels/level.toml
2ndbeam 08751ff12f feat: lighting system
- Added lamp bundle
- Moved door collider to its children
- Updated level structure
2026-03-31 13:37:54 +03:00

123 lines
1.2 KiB
TOML

[meta]
tiles = [ "floors", "walls", "wall_connectors" ]
[[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 = 5
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
[[interactive.lamps]]
x = 8
y = 3
[[interactive.lamps]]
x = 8
y = 7
intensity = 3
radius = 6