Door and map changing

This commit is contained in:
2024-10-07 00:27:20 -05:00
parent 5334f0944e
commit cb3a58e456
15 changed files with 216 additions and 93 deletions

View File

@ -49,7 +49,8 @@
"door": {
"x": 0,
"y": 0,
"direction": 3
"direction": 3,
"map": "testmap2.json"
}
}
]

20
assets/testmap2.json Normal file
View File

@ -0,0 +1,20 @@
{
"width": 3,
"height": 3,
"layers": [
{
"tiles": [
1, 1, 1,
1, 1, 1,
1, 1, 1
]
}
],
"entities": [
{
"type": 1,
"x": 0,
"y": 0
}
]
}