refactor: new roomage

This commit is contained in:
cha0s 2019-03-28 02:14:57 -05:00
parent ec0e3c873c
commit b3169117f3
3 changed files with 19 additions and 8 deletions

View File

@ -0,0 +1,4 @@
{
"imageUri": "/tileset-half.png",
"tileSize": [16, 16]
}

BIN
resource/tileset-half.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

View File

@ -37,21 +37,28 @@ function flowerBarrelJSON(position) {
}
// Room.
const roomJSON = {
size: [384, 192],
layers: {
everything: {
entities: [],
tiles: {
size: [12, 6],
size: [24, 12],
data: [
1, 5, 6, 7, 1, 2, 3, 4, 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, 2 , 3 , 4 , 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 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