summaryrefslogtreecommitdiffstats
path: root/dist/resources/map
diff options
context:
space:
mode:
Diffstat (limited to 'dist/resources/map')
-rw-r--r--dist/resources/map/test.json110
1 files changed, 55 insertions, 55 deletions
diff --git a/dist/resources/map/test.json b/dist/resources/map/test.json
index 0fede44..57e5a23 100644
--- a/dist/resources/map/test.json
+++ b/dist/resources/map/test.json
@@ -1,72 +1,72 @@
{
"tiles": [
"stone/floor",
- "stone/plate"
+ "stone/plate",
+ "stone/wall/top",
+ "stone/wall/right",
+ "stone/wall/bottom",
+ "stone/wall/left",
+ "stone/wall/top_left",
+ "stone/wall/top_right",
+ "stone/wall/bottom_right",
+ "stone/wall/bottom_left",
+ "stone/wall/top_left_inner",
+ "stone/wall/top_right_inner",
+ "stone/wall/bottom_right_inner",
+ "stone/wall/bottom_left_inner"
],
"layers": [
[
- [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
- [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0],
- [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0],
- [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0],
- [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0],
- [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
- [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
- [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0],
- [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0],
- [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0],
- [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0],
- [0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0]
+ [0, 7, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 8, 0],
+ [0, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 0],
+ [0, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 0],
+ [0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7, 12],
- [5, 12],
- [5, 11],
- [1, 11],
- [1, 7],
- [0, 7],
- [0, 5],
- [1, 5]
+ [ 2, 1],
+ [12, 1],
+ [12, 5],
+ [14, 5],
+ [14, 7],
+ [12, 7],
+ [12, 11],
+ [ 8, 11],
+ [ 8, 13],
+ [ 6, 13],
+ [ 6, 11],
+ [ 2, 11],
+ [ 2, 7],
+ [ 0, 7],
+ [ 0, 5],
+ [ 2, 5]
]
}
]