summaryrefslogtreecommitdiffhomepage
path: root/assets/json
diff options
context:
space:
mode:
Diffstat (limited to 'assets/json')
-rwxr-xr-xassets/json/_sync.sh4
-rw-r--r--assets/json/map_test2.json66
-rw-r--r--assets/json/map_test_map.json69
-rw-r--r--assets/json/test_map.json62
-rw-r--r--assets/json/tileset_1_Generic_16x16.json14
-rw-r--r--assets/json/tileset_Room_Builder_16x16.json14
6 files changed, 229 insertions, 0 deletions
diff --git a/assets/json/_sync.sh b/assets/json/_sync.sh
new file mode 100755
index 0000000..f4c1677
--- /dev/null
+++ b/assets/json/_sync.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+rm /home/tradam/Documents/Ruby/dragon/dragonruby-linux-amd64/mygame/assets/json/*.json
+rsync /home/tradam/Tiled/dragonruby/*.json /home/tradam/Documents/Ruby/dragon/dragonruby-linux-amd64/mygame/assets/json/
diff --git a/assets/json/map_test2.json b/assets/json/map_test2.json
new file mode 100644
index 0000000..ef9c4a1
--- /dev/null
+++ b/assets/json/map_test2.json
@@ -0,0 +1,66 @@
+{ "compressionlevel":-1,
+ "height":100,
+ "infinite":true,
+ "layers":[
+ {
+ "chunks":[
+ {
+ "data":[79, 693, 694, 694, 694, 694, 694, 694, 695, 81, 0, 0, 0, 0, 0, 0, 146, 760, 761, 761, 761, 761, 761, 761, 762, 148, 0, 0, 0, 0, 0, 0, 146, 2447, 2448, 2448, 2448, 2448, 2448, 2448, 2448, 148, 0, 0, 0, 0, 0, 0, 146, 2514, 2515, 2515, 2515, 2515, 2515, 2515, 2515, 148, 0, 0, 0, 0, 0, 0, 146, 2514, 2515, 2515, 2515, 2515, 2515, 2515, 2515, 148, 0, 0, 0, 0, 0, 0, 146, 2514, 2515, 2515, 2515, 2515, 2515, 2515, 2515, 148, 0, 0, 0, 0, 0, 0, 213, 214, 214, 214, 214, 214, 214, 214, 214, 215, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
+ "height":16,
+ "width":16,
+ "x":0,
+ "y":0
+ }],
+ "height":16,
+ "id":1,
+ "name":"Tile Layer 1",
+ "opacity":1,
+ "startx":0,
+ "starty":0,
+ "type":"tilelayer",
+ "visible":true,
+ "width":16,
+ "x":0,
+ "y":0
+ },
+ {
+ "chunks":[
+ {
+ "data":[0, 0, 0, 4298, 4299, 0, 4864, 4865, 4866, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4314, 4315, 0, 4880, 4881, 4882, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4897, 4685, 4686, 4687, 4688, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4913, 4701, 4702, 4703, 4704, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4717, 4718, 4719, 4720, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
+ "height":16,
+ "width":16,
+ "x":0,
+ "y":0
+ }],
+ "height":16,
+ "id":2,
+ "name":"Tile Layer 2",
+ "opacity":1,
+ "startx":0,
+ "starty":0,
+ "type":"tilelayer",
+ "visible":true,
+ "width":16,
+ "x":0,
+ "y":0
+ }],
+ "nextlayerid":3,
+ "nextobjectid":1,
+ "orientation":"orthogonal",
+ "renderorder":"right-down",
+ "tiledversion":"1.6.0",
+ "tileheight":16,
+ "tilesets":[
+ {
+ "firstgid":1,
+ "source":"..\/tileset_Room_Builder_16x16.tsx"
+ },
+ {
+ "firstgid":4088,
+ "source":"..\/tileset_1_Generic_16x16.tsx"
+ }],
+ "tilewidth":16,
+ "type":"map",
+ "version":"1.6",
+ "width":100
+} \ No newline at end of file
diff --git a/assets/json/map_test_map.json b/assets/json/map_test_map.json
new file mode 100644
index 0000000..f008fe8
--- /dev/null
+++ b/assets/json/map_test_map.json
@@ -0,0 +1,69 @@
+{ "compressionlevel":-1,
+ "editorsettings":
+ {
+ "export":
+ {
+ "format":"json"
+ }
+ },
+ "height":100,
+ "infinite":true,
+ "layers":[
+ {
+ "chunks":[
+ {
+ "data":[1586, 0, 0, 0, 0, 1586, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1586, 0, 0, 0, 0, 1586, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1586, 0, 0, 0, 0, 1586, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1586, 0, 0, 0, 0, 1586, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1586, 1586, 1586, 1586, 1586, 1586, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
+ "height":16,
+ "width":16,
+ "x":0,
+ "y":0
+ }],
+ "height":16,
+ "id":2,
+ "name":"Tile Layer 2",
+ "opacity":1,
+ "startx":0,
+ "starty":0,
+ "type":"tilelayer",
+ "visible":true,
+ "width":16,
+ "x":0,
+ "y":0
+ },
+ {
+ "chunks":[
+ {
+ "data":[79, 693, 694, 694, 695, 81, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 146, 760, 761, 761, 762, 148, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 146, 973, 974, 974, 974, 148, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 146, 1040, 1041, 1041, 1041, 148, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 213, 214, 214, 214, 214, 215, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
+ "height":16,
+ "width":16,
+ "x":0,
+ "y":0
+ }],
+ "height":16,
+ "id":1,
+ "name":"Tile Layer 1",
+ "opacity":1,
+ "startx":0,
+ "starty":0,
+ "type":"tilelayer",
+ "visible":true,
+ "width":16,
+ "x":0,
+ "y":0
+ }],
+ "nextlayerid":3,
+ "nextobjectid":1,
+ "orientation":"orthogonal",
+ "renderorder":"right-up",
+ "tiledversion":"1.6.0",
+ "tileheight":16,
+ "tilesets":[
+ {
+ "firstgid":1,
+ "source":"..\/tileset_Room_Builder_16x16.tsx"
+ }],
+ "tilewidth":16,
+ "type":"map",
+ "version":"1.6",
+ "width":100
+} \ No newline at end of file
diff --git a/assets/json/test_map.json b/assets/json/test_map.json
new file mode 100644
index 0000000..4088440
--- /dev/null
+++ b/assets/json/test_map.json
@@ -0,0 +1,62 @@
+{ "compressionlevel":-1,
+ "height":100,
+ "infinite":true,
+ "layers":[
+ {
+ "chunks":[
+ {
+ "data":[1586, 0, 0, 0, 0, 1586, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1586, 0, 0, 0, 0, 1586, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1586, 0, 0, 0, 0, 1586, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1586, 0, 0, 0, 0, 1586, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1586, 1586, 1586, 1586, 1586, 1586, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
+ "height":16,
+ "width":16,
+ "x":0,
+ "y":0
+ }],
+ "height":16,
+ "id":2,
+ "name":"Tile Layer 2",
+ "opacity":1,
+ "startx":0,
+ "starty":0,
+ "type":"tilelayer",
+ "visible":true,
+ "width":16,
+ "x":0,
+ "y":0
+ },
+ {
+ "chunks":[
+ {
+ "data":[79, 693, 694, 694, 695, 81, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 146, 760, 761, 761, 762, 148, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 146, 973, 974, 974, 974, 148, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 146, 1040, 1041, 1041, 1041, 148, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 213, 214, 214, 214, 214, 215, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
+ "height":16,
+ "width":16,
+ "x":0,
+ "y":0
+ }],
+ "height":16,
+ "id":1,
+ "name":"Tile Layer 1",
+ "opacity":1,
+ "startx":0,
+ "starty":0,
+ "type":"tilelayer",
+ "visible":true,
+ "width":16,
+ "x":0,
+ "y":0
+ }],
+ "nextlayerid":3,
+ "nextobjectid":1,
+ "orientation":"orthogonal",
+ "renderorder":"right-up",
+ "tiledversion":"1.6.0",
+ "tileheight":16,
+ "tilesets":[
+ {
+ "firstgid":1,
+ "source":"..\/tileset_Room_Builder_16x16.tsx"
+ }],
+ "tilewidth":16,
+ "type":"map",
+ "version":"1.6",
+ "width":100
+} \ No newline at end of file
diff --git a/assets/json/tileset_1_Generic_16x16.json b/assets/json/tileset_1_Generic_16x16.json
new file mode 100644
index 0000000..b098e54
--- /dev/null
+++ b/assets/json/tileset_1_Generic_16x16.json
@@ -0,0 +1,14 @@
+{ "columns":16,
+ "image":"..\/..\/Documents\/Ruby\/dragon\/dragonruby-linux-amd64\/mygame\/assets\/non-free\/Modern_Interiors\/1_Interiors\/16x16\/Theme_Sorter\/1_Generic_16x16.png",
+ "imageheight":960,
+ "imagewidth":256,
+ "margin":0,
+ "name":"1_Generic_16x16",
+ "spacing":0,
+ "tilecount":960,
+ "tiledversion":"1.6.0",
+ "tileheight":16,
+ "tilewidth":16,
+ "type":"tileset",
+ "version":"1.6"
+} \ No newline at end of file
diff --git a/assets/json/tileset_Room_Builder_16x16.json b/assets/json/tileset_Room_Builder_16x16.json
new file mode 100644
index 0000000..718a7c0
--- /dev/null
+++ b/assets/json/tileset_Room_Builder_16x16.json
@@ -0,0 +1,14 @@
+{ "columns":67,
+ "image":"..\/..\/Documents\/Ruby\/dragon\/dragonruby-linux-amd64\/mygame\/assets\/non-free\/Modern_Interiors\/1_Interiors\/16x16\/Room_Builder_16x16.png",
+ "imageheight":976,
+ "imagewidth":1072,
+ "margin":0,
+ "name":"tileset_Room_Builder_16x16",
+ "spacing":0,
+ "tilecount":4087,
+ "tiledversion":"1.6.0",
+ "tileheight":16,
+ "tilewidth":16,
+ "type":"tileset",
+ "version":"1.6"
+} \ No newline at end of file