refactor: new roomage
This commit is contained in:
parent
ec0e3c873c
commit
b3169117f3
4
resource/tileset-half.json
Normal file
4
resource/tileset-half.json
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
{
|
||||||
|
"imageUri": "/tileset-half.png",
|
||||||
|
"tileSize": [16, 16]
|
||||||
|
}
|
BIN
resource/tileset-half.png
Normal file
BIN
resource/tileset-half.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 64 KiB |
|
@ -37,21 +37,28 @@ function flowerBarrelJSON(position) {
|
||||||
}
|
}
|
||||||
// Room.
|
// Room.
|
||||||
const roomJSON = {
|
const roomJSON = {
|
||||||
|
size: [384, 192],
|
||||||
layers: {
|
layers: {
|
||||||
everything: {
|
everything: {
|
||||||
entities: [],
|
entities: [],
|
||||||
tiles: {
|
tiles: {
|
||||||
size: [12, 6],
|
size: [24, 12],
|
||||||
data: [
|
data: [
|
||||||
1, 5, 6, 7, 1, 2, 3, 4, 1, 5, 6, 7,
|
1, 5, 6, 7, 1, 5 , 6 , 7 , 1, 5, 6, 7, 1, 5, 6, 7, 1, 5 , 6 , 7 , 1, 5, 6, 7,
|
||||||
1, 5, 6, 7, 1, 66, 67, 68, 1, 5, 6, 7,
|
1, 5, 6, 7, 1, 5 , 6 , 7 , 1, 5, 6, 7, 1, 5, 6, 7, 1, 5 , 6 , 7 , 1, 5, 6, 7,
|
||||||
1, 5, 6, 7, 1, 5, 6, 7, 1, 5, 6, 7,
|
1, 5, 6, 7, 1, 2 , 3 , 4 , 1, 5, 6, 7, 1, 5, 6, 7, 1, 5 , 6 , 7 , 1, 5, 6, 7,
|
||||||
1, 5, 6, 7, 1, 5, 6, 7, 1, 5, 6, 7,
|
1, 5, 6, 7, 1, 66, 67, 68, 1, 5, 6, 7, 1, 5, 6, 7, 1, 5 , 6 , 7 , 1, 5, 6, 7,
|
||||||
1, 5, 6, 7, 1, 5, 6, 7, 1, 5, 6, 7,
|
1, 5, 6, 7, 1, 5 , 6 , 7 , 1, 5, 6, 7, 1, 5, 6, 7, 1, 5 , 6 , 7 , 1, 5, 6, 7,
|
||||||
1, 5, 6, 7, 1, 5, 6, 7, 1, 5, 6, 7,
|
1, 5, 6, 7, 1, 5 , 6 , 7 , 1, 5, 6, 7, 1, 5, 6, 7, 1, 5 , 6 , 7 , 1, 5, 6, 7,
|
||||||
|
1, 5, 6, 7, 1, 5 , 6 , 7 , 1, 5, 6, 7, 1, 5, 6, 7, 1, 5 , 6 , 7 , 1, 5, 6, 7,
|
||||||
|
1, 5, 6, 7, 1, 5 , 6 , 7 , 1, 5, 6, 7, 1, 5, 6, 7, 1, 5 , 6 , 7 , 1, 5, 6, 7,
|
||||||
|
1, 5, 6, 7, 1, 5 , 6 , 7 , 1, 5, 6, 7, 1, 5, 6, 7, 1, 5 , 6 , 7 , 1, 5, 6, 7,
|
||||||
|
1, 5, 6, 7, 1, 5 , 6 , 7 , 1, 5, 6, 7, 1, 5, 6, 7, 1, 5 , 6 , 7 , 1, 5, 6, 7,
|
||||||
|
1, 5, 6, 7, 1, 5 , 6 , 7 , 1, 5, 6, 7, 1, 5, 6, 7, 1, 5 , 6 , 7 , 1, 5, 6, 7,
|
||||||
|
1, 5, 6, 7, 1, 5 , 6 , 7 , 1, 5, 6, 7, 1, 5, 6, 7, 1, 5 , 6 , 7 , 1, 5, 6, 7,
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
tilesetUri: '/tileset.json',
|
tilesetUri: '/tileset-half.json',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user