From a8f70f74eb81a3e5c01b3cfc113aebc2c4d2e8c4 Mon Sep 17 00:00:00 2001 From: Robert Date: Sun, 26 Dec 2021 16:12:12 +0100 Subject: [PATCH] bsp in readme --- README.md | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) diff --git a/README.md b/README.md index fbf9374..feceb3e 100644 --- a/README.md +++ b/README.md @@ -13,3 +13,70 @@ Aufruf: python3 injectTilesetCopyright.py meinemap.json -> danach ist meinemap.json aktualisiert. + + +Beispiel: aus diesem hier: +``` + { + "columns": 8, + "firstgid": 1, + "image": "../floortileset.png", + "imageheight": 256, + "imagewidth": 256, + "margin": 0, + "name": "floortileset", + "spacing": 0, + "tilecount": 64, + "tileheight": 32, + "tiles": [ + { + "id": 21, + "properties": [ + { + "name": "collides", + "type": "bool", + "value": true + } + ] + } + ], + "tilewidth": 32, + }, +``` + +wird + +``` + { + "columns": 8, + "firstgid": 1, + "image": "../floortileset.png", + "imageheight": 256, + "imagewidth": 256, + "margin": 0, + "name": "floortileset", + "spacing": 0, + "tilecount": 64, + "tileheight": 32, + "tiles": [ + { + "id": 21, + "properties": [ + { + "name": "collides", + "type": "bool", + "value": true + } + ] + } + ], + "tilewidth": 32, + "properties": [ + { + "name": "tilesetCopyright", + "type": "string", + "value": "CC0BY unbekannt" + } + ] + }, +```