diff data/levels/town.json @ 274:e006ec7b3d8f

proper levels
author Adrianna Pińska <adrianna.pinska@gmail.com>
date Fri, 08 Apr 2011 19:12:44 +0200
parents
children abe77599ac47
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/data/levels/town.json	Fri Apr 08 19:12:44 2011 +0200
@@ -0,0 +1,29 @@
+{
+    "description": "The town",
+    "backgrounds": [
+        "background_01_back.png"
+    ],
+    "tileset": "fan_green",
+    "tiles": [
+        "XXXXXXXXXXXXXXXXXXXXXX",
+        "X....................X",
+        "X....................X",
+        "X....................X",
+        "X....................X",
+        "X....................X",
+        "X....................X",
+        "X....................X",
+        "X....................X",
+        "XXXXXXXXXXXXXXXXXXXXXX"
+    ],
+    "enemies": [
+        {"type": "RedOni", "pos": [5, 5], "direction": "left" }
+    ],
+    "doorways": {
+        "starting": {"type": "Doorway", "pos": [3, 9], "facing": "right", "leadsto": "road.to_town"},
+        "to_theatre": {"type": "Doorway", "pos": [6, 9], "facing": "right", "leadsto": "theatre.starting"},
+        "to_tea_house": {"type": "Doorway", "pos": [9, 9], "facing": "right", "leadsto": "tea_house.starting"},
+        "to_market": {"type": "Doorway", "pos": [12, 9], "facing": "right", "leadsto": "market.starting"},
+        "to_celestial_plane": {"type": "Doorway", "pos": [15, 9], "facing": "left", "leadsto": "celestial_plane.starting"}
+    }
+}
\ No newline at end of file