generated from 2ndbeam/bevy-template
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:
parent
0e18bb6df5
commit
24153e476f
7 changed files with 225 additions and 72 deletions
48
assets/levels/level_alt.toml
Normal file
48
assets/levels/level_alt.toml
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
[tiles]
|
||||
floors = [
|
||||
{ x = 0, y = 0, w = 16 },
|
||||
{ x = 0, y = 4, w = 16 },
|
||||
{ x = 0, y = 8, w = 16 },
|
||||
]
|
||||
walls = [
|
||||
{ x = 0, y = 1, h = 3 },
|
||||
{ x = 0, y = 5, h = 3 },
|
||||
{ x = 15, y = 1, h = 3 },
|
||||
{ x = 15, y = 5, h = 3 },
|
||||
]
|
||||
wall_connectors = [
|
||||
{ x = 4, y = 3 },
|
||||
{ x = 4, y = 7 },
|
||||
{ x = 11, y = 3 },
|
||||
{ x = 11, y = 7 },
|
||||
]
|
||||
|
||||
[interactive]
|
||||
player = { x = 1, y = 1 }
|
||||
doors = [
|
||||
{ x = 4, y = 1, facing = "right" },
|
||||
{ x = 4, y = 5, facing = "right", lock = "right" },
|
||||
{ x = 11, y = 1, facing = "left", lock = "left" },
|
||||
{ x = 11, y = 5, facing = "left" },
|
||||
]
|
||||
stairs = [
|
||||
{ x = 8, y = 1, floors = 2 },
|
||||
]
|
||||
containers = [
|
||||
{ x = 2, y = 1 },
|
||||
{ x = 14, y = 1 },
|
||||
{
|
||||
x = 2, y = 5,
|
||||
w = 4, h = 4,
|
||||
items = [
|
||||
{ id = "lockpick", x = 2, y = 2 },
|
||||
],
|
||||
},
|
||||
{
|
||||
x = 14, y = 5,
|
||||
w = 2, h = 2,
|
||||
items = [
|
||||
{ id = "lockpick", rotated = true },
|
||||
],
|
||||
},
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue