diff --git a/resource/tileset-half.json b/resource/tileset-half.json new file mode 100644 index 0000000..ca1b356 --- /dev/null +++ b/resource/tileset-half.json @@ -0,0 +1,4 @@ +{ + "imageUri": "/tileset-half.png", + "tileSize": [16, 16] +} \ No newline at end of file diff --git a/resource/tileset-half.png b/resource/tileset-half.png new file mode 100644 index 0000000..0c31a07 Binary files /dev/null and b/resource/tileset-half.png differ diff --git a/server/create-server-room.js b/server/create-server-room.js index 71f9721..8795b30 100644 --- a/server/create-server-room.js +++ b/server/create-server-room.js @@ -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, 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