Door and map changing
This commit is contained in:
@ -49,7 +49,8 @@
|
||||
"door": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"direction": 3
|
||||
"direction": 3,
|
||||
"map": "testmap2.json"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
20
assets/testmap2.json
Normal file
20
assets/testmap2.json
Normal 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
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user