From a6ab8bf1c63cd06bc765debc67593d5019c3d414 Mon Sep 17 00:00:00 2001 From: Simon Cross Date: Sun, 4 Sep 2016 17:46:24 +0200 Subject: [PATCH] Add draft of level definition. --- data/levels/station-alpha.json | 37 ++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 data/levels/station-alpha.json 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, + }, + ] +} -- 2.34.1