diff data/levels/level1 @ 178:5cabbb485ad5

Round-tripped levels through the editor to canonicalize them
author Stefano Rivera <stefano@rivera.za.net>
date Tue, 03 Sep 2013 17:15:00 +0200
parents bf11d3bb2d6b
children 0e5bae238a92
line wrap: on
line diff
--- a/data/levels/level1	Tue Sep 03 16:12:24 2013 +0200
+++ b/data/levels/level1	Tue Sep 03 17:15:00 2013 +0200
@@ -1,4 +1,39 @@
 base_tile: tiles/floor.png
+enemies:
+- args:
+  - [750, 300]
+  - [650, 500]
+  classname: PatrollingAlien
+game_objects:
+- args:
+  - [250, 350]
+  classname: Box
+- args:
+  - [300, 400]
+  classname: FloorSwitch
+  name: switch
+- args:
+  - [300, 600]
+  classname: FloorSwitch
+  name: switch2
+- args:
+  - [300, 500]
+  - switch
+  classname: FloorLight
+  name: light
+- args:
+  - [250, 500]
+  - both_switches
+  classname: FloorLight
+  name: light2
+- args: [switch, switch2]
+  classname: StateLogicalAndPuzzler
+  name: both_switches
+- args:
+  - [400, 400]
+  - level2
+  - [600, 700]
+  classname: Door
 polygons:
   1:
   - [60, 780]
@@ -17,40 +52,3 @@
   - [60, 470]
   - [60, 780]
 size: [1200, 900]
-game_objects:
-  - classname: Box
-    args:
-      - [250, 350]
-  - classname: FloorSwitch
-    args:
-      - [300, 400]
-    name: switch
-  - classname: FloorSwitch
-    args:
-      - [300, 600]
-    name: switch2
-  - classname: FloorLight
-    args:
-      - [300, 500]
-      - switch
-    name: light
-  - classname: FloorLight
-    args:
-      - [250, 500]
-      - both_switches
-    name: light2
-  - classname: StateLogicalAndPuzzler
-    args:
-      - switch
-      - switch2
-    name: both_switches
-  - classname: Door
-    args:
-       - [400, 400]
-       - level2
-       - [600, 700]
-enemies:
-  - classname: PatrollingAlien
-    args:
-       - [750, 300]
-       - [650, 500]