summaryrefslogtreecommitdiffstats
path: root/static
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2016-01-05 18:10:35 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2016-01-05 18:10:35 +0100
commit3280ab57bffb3fa1018d406eb25a3d98564a51d7 (patch)
tree02c5d76d89b94b964a7cc005531c6c4427666bc0 /static
parentb910818f176d009a9b98a419b645b6c7e1cb1d20 (diff)
downloadrpgedit-3280ab57bffb3fa1018d406eb25a3d98564a51d7.tar
rpgedit-3280ab57bffb3fa1018d406eb25a3d98564a51d7.zip
Implement basic map rendering
Diffstat (limited to 'static')
-rw-r--r--static/resources/map/test.json141
1 files changed, 68 insertions, 73 deletions
diff --git a/static/resources/map/test.json b/static/resources/map/test.json
index 1caf8e7..12b1894 100644
--- a/static/resources/map/test.json
+++ b/static/resources/map/test.json
@@ -1,50 +1,45 @@
{
- "options": {
- "width": 32,
- "height": 32,
- "layers": 2
- },
"tiles": {
"G": {"rotate": 0, "file": "grass"},
"<": {"rotate": 0, "file": "road_left"},
">": {"rotate": 0, "file": "road_right"}
},
+ "collision": [
+ "11111111111111111111111111111111",
+ "11111111111111111111111111111111",
+ "11111111111111111111111111111111",
+ "11111111111111111111111111111111",
+ "11111111111111111111111111111111",
+ "11111111111111111111111111111111",
+ "11111111111111111111111111111111",
+ "11111111111111111111111111111111",
+ "11111111111111111111111111111111",
+ "11111111111111111111111111111111",
+ "11111111111111111111111111111111",
+ "11111111111111111111111111111111",
+ "11111111111111111111111111111111",
+ "11111111111111111111111111111111",
+ "11111111111111111111111111111111",
+ "11111111111111111111111111111111",
+ "11111111111111111111111111111111",
+ "11111111111111111111111111111111",
+ "11111111111111111111111111111111",
+ "11111111111111111111111111111111",
+ "11111111111111111111111111111111",
+ "11111111111111111111111111111111",
+ "11111111111111111111111111111111",
+ "11111111111111111111111111111111",
+ "11111111111111111111111111111111",
+ "11111111111111111111111111111111",
+ "11111111111111111111111111111111",
+ "11111111111111111111111111111111",
+ "11111111111111111111111111111111",
+ "11111111111111111111111111111111",
+ "11111111111111111111111111111111",
+ "11111111111111111111111111111111"
+ ],
"layers": [
[
- "11111111111111111111111111111111",
- "11111111111111111111111111111111",
- "11111111111111111111111111111111",
- "11111111111111111111111111111111",
- "11111111111111111111111111111111",
- "11111111111111111111111111111111",
- "11111111111111111111111111111111",
- "11111111111111111111111111111111",
- "11111111111111111111111111111111",
- "11111111111111111111111111111111",
- "11111111111111111111111111111111",
- "11111111111111111111111111111111",
- "11111111111111111111111111111111",
- "11111111111111111111111111111111",
- "11111111111111111111111111111111",
- "11111111111111111111111111111111",
- "11111111111111111111111111111111",
- "11111111111111111111111111111111",
- "11111111111111111111111111111111",
- "11111111111111111111111111111111",
- "11111111111111111111111111111111",
- "11111111111111111111111111111111",
- "11111111111111111111111111111111",
- "11111111111111111111111111111111",
- "11111111111111111111111111111111",
- "11111111111111111111111111111111",
- "11111111111111111111111111111111",
- "11111111111111111111111111111111",
- "11111111111111111111111111111111",
- "11111111111111111111111111111111",
- "11111111111111111111111111111111",
- "11111111111111111111111111111111"
- ],
- [
"GGGGGGGGGGG<>GGGGGGGGGGGGGGGGGGG",
"GGGGGGGGGGG<>GGGGGGGGGGGGGGGGGGG",
"GGGGGGGGGGG<>GGGGGGGGGGGGGGGGGGG",
@@ -77,40 +72,40 @@
"GGGGGGGGGGG<>GGGGGGGGGGGGGGGGGGG",
"GGGGGGGGGGG<>GGGGGGGGGGGGGGGGGGG",
"GGGGGGGGGGG<>GGGGGGGGGGGGGGGGGGG"
+ ],
+ [
+ "................................",
+ "................................",
+ "................................",
+ "................................",
+ "................................",
+ "................................",
+ "................................",
+ "................................",
+ "................................",
+ "................................",
+ "................................",
+ "................................",
+ "................................",
+ "................................",
+ "................................",
+ "................................",
+ "................................",
+ "................................",
+ "................................",
+ "................................",
+ "................................",
+ "................................",
+ "................................",
+ "................................",
+ "................................",
+ "................................",
+ "................................",
+ "................................",
+ "................................",
+ "................................",
+ "................................",
+ "................................"
]
- ],
- "collision": [
- "................................",
- "................................",
- "................................",
- "................................",
- "................................",
- "................................",
- "................................",
- "................................",
- "................................",
- "................................",
- "................................",
- "................................",
- "................................",
- "................................",
- "................................",
- "................................",
- "................................",
- "................................",
- "................................",
- "................................",
- "................................",
- "................................",
- "................................",
- "................................",
- "................................",
- "................................",
- "................................",
- "................................",
- "................................",
- "................................",
- "................................",
- "................................"
]
}