Add draft of level definition.
authorSimon Cross <hodgestar@gmail.com>
Sun, 4 Sep 2016 15:46:24 +0000 (17:46 +0200)
committerSimon Cross <hodgestar@gmail.com>
Sun, 4 Sep 2016 15:46:24 +0000 (17:46 +0200)
data/levels/station-alpha.json [new file with mode: 0644]

diff --git a/data/levels/station-alpha.json b/data/levels/station-alpha.json
new file mode 100644 (file)
index 0000000..6d4b7e1
--- /dev/null
@@ -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,
+    },
+  ]
+}