diff options
| author | realtradam <[email protected]> | 2021-05-19 05:42:53 -0400 |
|---|---|---|
| committer | realtradam <[email protected]> | 2021-05-19 05:42:53 -0400 |
| commit | fee80f42f0889f2d484e25f4366f14b68c65ba70 (patch) | |
| tree | fa1e728e3d9d91eb5946177f347781cdfea45b47 /assets | |
| parent | 490b20123c75cf8eb5de7039993cb704e3d7a0c8 (diff) | |
| download | typemon-code-fee80f42f0889f2d484e25f4366f14b68c65ba70.tar.gz typemon-code-fee80f42f0889f2d484e25f4366f14b68c65ba70.zip | |
fully working map import
Diffstat (limited to 'assets')
| -rw-r--r-- | assets/hitbox.png | bin | 0 -> 5178 bytes | |||
| -rw-r--r-- | assets/json/hitbox.json | 14 | ||||
| -rw-r--r-- | assets/json/map_test2.json | 33 |
3 files changed, 46 insertions, 1 deletions
diff --git a/assets/hitbox.png b/assets/hitbox.png Binary files differnew file mode 100644 index 0000000..c06b1f4 --- /dev/null +++ b/assets/hitbox.png diff --git a/assets/json/hitbox.json b/assets/json/hitbox.json new file mode 100644 index 0000000..a1b7938 --- /dev/null +++ b/assets/json/hitbox.json @@ -0,0 +1,14 @@ +{ "columns":1, + "image":"..\/..\/Documents\/Ruby\/dragon\/dragonruby-linux-amd64\/mygame\/assets\/hitbox.png", + "imageheight":16, + "imagewidth":16, + "margin":0, + "name":"hitbox", + "spacing":0, + "tilecount":1, + "tiledversion":"1.6.0", + "tileheight":16, + "tilewidth":16, + "type":"tileset", + "version":"1.6" +}
\ No newline at end of file diff --git a/assets/json/map_test2.json b/assets/json/map_test2.json index ef9c4a1..33640e5 100644 --- a/assets/json/map_test2.json +++ b/assets/json/map_test2.json @@ -43,8 +43,35 @@ "width":16, "x":0, "y":0 + }, + { + "chunks":[ + { + "data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5048, 5048, 5048, 5048, 5048, 5048, 5048, 5048, 5048, 5048, 0, 0, 0, 0, 0, 0, 5048, 0, 0, 0, 0, 0, 0, 0, 0, 5048, 0, 0, 0, 0, 0, 0, 5048, 0, 5048, 0, 5048, 5048, 0, 0, 0, 5048, 0, 0, 0, 0, 0, 0, 5048, 0, 0, 0, 5048, 5048, 0, 0, 0, 5048, 0, 0, 0, 0, 0, 0, 5048, 0, 0, 0, 0, 0, 0, 0, 0, 5048, 0, 0, 0, 0, 0, 0, 5048, 5048, 5048, 5048, 5048, 5048, 5048, 5048, 5048, 5048, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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":3, + "name":"Tile Layer 3", + "opacity":1, + "properties":[ + { + "name":"Hitbox", + "type":"bool", + "value":true + }], + "startx":0, + "starty":0, + "type":"tilelayer", + "visible":true, + "width":16, + "x":0, + "y":0 }], - "nextlayerid":3, + "nextlayerid":4, "nextobjectid":1, "orientation":"orthogonal", "renderorder":"right-down", @@ -58,6 +85,10 @@ { "firstgid":4088, "source":"..\/tileset_1_Generic_16x16.tsx" + }, + { + "firstgid":5048, + "source":"..\/hitbox.tsx" }], "tilewidth":16, "type":"map", |
