autoscoll Camera now references Path, just like the Platform does
[supertux.git] / data / levels / bonus2 / level1.stl
index 88ab3f9..1333438 100644 (file)
     (particles-clouds\r
       (layer -200)\r
     )\r
+    (path \r
+      (name "cameraPath1") \r
+      (circular #f)\r
+      (nodes \r
+        (node (x 100)   (y 352)) \r
+        (node (x 18500) (y 352)  (time 205)) \r
+      )\r
+    )\r
     (camera\r
       (mode "autoscroll")\r
-      (path\r
-        (point (x 100) (y 352) (speed 90.0))\r
-        (point (x 18500) (y 352) (speed 0.0))\r
-      )\r
+      (path "cameraPath1")\r
     )\r
     (spawnpoint\r
       (name "main")\r