From: Simon Cross Date: Sun, 4 Sep 2016 15:46:24 +0000 (+0200) Subject: Add draft of level definition. X-Git-Tag: tabakrolletjie-v1.0.0~263 X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=a6ab8bf1c63cd06bc765debc67593d5019c3d414;p=tabakrolletjie.git Add draft of level definition. --- diff --git a/data/levels/station-alpha.json b/data/levels/station-alpha.json new file mode 100644 index 0000000..6d4b7e1 --- /dev/null +++ b/data/levels/station-alpha.json @@ -0,0 +1,37 @@ +{ + "config": { + "name": "Station Alpha", + "power": 100, + "seeds": 10, + }, + "obstacles": [ + { + "type": "wall", + "vertices": [ + [400, 400], [450, 400], [450, 450], [400, 450] + ] + }, + { + "type": "wall", + "vertices": [ + [800, 400], [850, 400], [850, 450], [800, 450] + ] + } + ], + "lights": [ + { + "type": "spotlight", + "colour": "red", + "position": [700, 500], + "direction": 90.0, + "spread": 45.0, + }, + { + "type": "spotlight", + "colour": "yellow", + "position": [500, 500], + "direction": -90.0, + "spread": 45.0, + }, + ] +}