Make use of alignment for resolution independent parallax scrolling
[supertux.git] / data / levels / world1 / 13 - Above the Arctic Skies.stl
index b434ab4..f6517c8 100644 (file)
@@ -7,6 +7,41 @@
     (name "main")
     (music "music/chipdisko.ogg")
     (ambient-light 1 1 1)
+
+    (background
+      (speed 0.25)
+      (alignment "bottom")
+      (image "images/background/arcticskies1.png")
+    )
+
+    (background
+      (speed 0.5)
+      (alignment "bottom")
+      (image "images/background/arcticskies2.png")
+    )
+
+    (background
+      (speed 0.75)
+      (alignment "bottom")
+      (scroll-speed-x -25)
+      (image "images/background/arcticskies3.png")
+    )
+
+    (background
+      (speed 1.5)
+      (layer 100)
+      (alignment "bottom")
+      (scroll-speed-x -50)
+      (image "images/background/arcticskies35.png")
+    )
+
+    (background
+      (speed 2)
+      (layer 4000)
+      (alignment "bottom")
+      (image "images/background/arcticskies4.png")
+    )
+
     (bouncingsnowball
       (x 3350)
       (y 797)
       (x 1275)
       (y 906)
     )
-    (gradient
-      (top_color 0.4 0.6 1)
-      (bottom_color 1 1 1)
-    )
     (jumpy
       (x 1952)
       (y 736)