Make use of alignment for resolution independent parallax scrolling
authorgrumbel <grumbel@837edb03-e0f3-0310-88ca-d4d4e8b29345>
Tue, 1 Dec 2009 04:06:58 +0000 (04:06 +0000)
committergrumbel <grumbel@837edb03-e0f3-0310-88ca-d4d4e8b29345>
Tue, 1 Dec 2009 04:06:58 +0000 (04:06 +0000)
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6161 837edb03-e0f3-0310-88ca-d4d4e8b29345

data/levels/world1/13 - Above the Arctic Skies.stl

index 3572fbb..f6517c8 100644 (file)
 
     (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")
     )
@@ -27,6 +30,7 @@
     (background
       (speed 1.5)
       (layer 100)
+      (alignment "bottom")
       (scroll-speed-x -50)
       (image "images/background/arcticskies35.png")
     )
@@ -34,6 +38,7 @@
     (background
       (speed 2)
       (layer 4000)
+      (alignment "bottom")
       (image "images/background/arcticskies4.png")
     )