From 6d4781464353cfa6f218950a1e18d942283f2639 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Fri, 25 Dec 2020 02:18:54 +0100 Subject: [PATCH] Restructure tilesets and map. --- main.json | 49 ++++++++++++++++++++++++++++-------------------- tiles/ascii.png | Bin 1444 -> 0 bytes 2 files changed, 29 insertions(+), 20 deletions(-) delete mode 100644 tiles/ascii.png diff --git a/main.json b/main.json index 908d525..bf33136 100644 --- a/main.json +++ b/main.json @@ -10,7 +10,7 @@ "infinite":false, "layers":[ { - "data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + "data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, "id":4, "name":"link", @@ -70,36 +70,45 @@ "tileheight":32, "tilesets":[ { - "columns":2, + "columns":1, "firstgid":1, - "image":"tiles\/ascii.png", + "image":"tiles\/tile_questionmark.png", "imageheight":32, - "imagewidth":64, + "imagewidth":32, "margin":0, - "name":"ascii", + "name":"tile_questionmark", "spacing":0, - "tilecount":2, + "tilecount":1, + "tileheight":32, + "tilewidth":32 + }, + { + "columns":1, + "firstgid":2, + "image":"tiles\/tile_dot.png", + "imageheight":32, + "imagewidth":32, + "margin":0, + "name":"tile_dot", + "spacing":0, + "tilecount":1, "tileheight":32, - "tiles":[ - { - "id":1, - "properties":[ - { - "name":"collides", - "type":"bool", - "value":true - }] - }], "tilewidth":32 }, { "columns":1, "firstgid":3, - "image":"tiles\/tile_questionmark.png", + "image":"tiles\/tile_hash.png", "imageheight":32, "imagewidth":32, "margin":0, - "name":"tile_questionmark", + "name":"tile_hash", + "properties":[ + { + "name":"collides", + "type":"bool", + "value":true + }], "spacing":0, "tilecount":1, "tileheight":32, diff --git a/tiles/ascii.png b/tiles/ascii.png deleted file mode 100644 index e175679ea1c15c33b898379a9adbc2f450af6f5e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1444 zcmV;V1zY-wP)#3@z zs#*&oV!Z#g&GN66{HNfC2cWF1jHafhXl!hZK7IQ1Tl57NFl2XdaA3>J%k1Ulg*`t% zv#zc#W@TlidDeh{09IUF%#xFnnWd$r)_h|M52aL8RIt0dI|0Dc(-UiHX<-%?7Fq(a z&dyGDadE*G7Z+JhPL9@m;{wpz+bc8=04^^tS$cZ9mN4S|(b16tT0=v_hieSO0ZB9F$X?%QK7YA5dTPySI?Cd^V^Uq9OTmQaExw*NN zn3za5Ha6tt8P3y`+9wrF*Am3DV`-yF!@-JLj3DC6J1fB$a) zu(Y&9hlhs*L7{c2d3kzIPfy~UK;`A-^!WHloEzx&_Lk1i&uL?0gBBJRgq66sxRBZc zPESui1OWDBh(rjc3M(iqETp)&IEspjBDMK4_Wm*P4xJOF01j4!UyQA+tkAb_--weU z?eFi??CdOk`SOKsZf+D{bP>y+43$n!PHb{=QV5H zz;Zx<1qB7d_W_i@zduDpLE`bv8j0f9wOia>GRju*CH}})C}PQ2zhmNbrcg5BjUTW zv$L=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