summaryrefslogtreecommitdiffstats
path: root/static/resources/map
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2018-12-08 12:39:18 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2018-12-08 12:39:18 +0100
commitb3950330e3351437f153c6c1debb3821d6e28864 (patch)
tree0b381b523045bd59cd679825a11976a45813fc24 /static/resources/map
parent439dcf391784ea3abb61473c74b9c27fcd9fdc2d (diff)
downloadrpgedit-b3950330e3351437f153c6c1debb3821d6e28864.tar
rpgedit-b3950330e3351437f153c6c1debb3821d6e28864.zip
Create Electron app
Diffstat (limited to 'static/resources/map')
-rw-r--r--static/resources/map/test.json84
1 files changed, 84 insertions, 0 deletions
diff --git a/static/resources/map/test.json b/static/resources/map/test.json
new file mode 100644
index 0000000..91efc19
--- /dev/null
+++ b/static/resources/map/test.json
@@ -0,0 +1,84 @@
+{
+ "tiles": [
+ "-stone/floor",
+ "-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",
+ "@water",
+ "-stone/border/bottom_right",
+ "-stone/border/bottom_left"
+ ],
+ "layers": [
+ {
+ "tiles": [
+ [0, 7, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 8, 0],
+ [0, 6, 1, 1, 1, 1, 15, 15, 1, 1, 1, 1, 4, 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],
+ [3, 11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 12, 3],
+ [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
+ [1, 1, 1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