cascade
authorFrank DeMarco <frank.s.demarco@gmail.com>
Tue, 26 Aug 2014 14:01:19 +0000 (23:01 +0900)
committerFrank DeMarco <frank.s.demarco@gmail.com>
Tue, 26 Aug 2014 14:01:19 +0000 (23:01 +0900)
shaken_and_spit_out/SSO.py

index 4767b55..046df7e 100644 (file)
@@ -230,12 +230,12 @@ class Cloud(GameChild):
                 for y in xrange(len(pixels[0])):
                     color = Color(*base.unmap_rgb(pixels[x][y]))
                     h, s, l, a = color.hsla
-                    color.hsla = int(h), int(s), int(l), \
-                                 int(a * (.95 * (1 - ii * .15)))
+                    color.hsla = int((h + (0, 90, 180)[ii]) % 360), int(s), \
+                                 int(l), int(a * (.95 * (1 - ii * .15)))
                     pixels[x][y] = color
             del pixels
             layer.add_frame(frame)
-            layer.move(ii * 3)
+            layer.move((0, -5, 5)[ii])
             layer.location.bottom = self.ds.get_height()
             layers.append(layer)