shampoo.ooo
/
projects
/
sso
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
173e417
)
cascade
author
Frank DeMarco
<frank.s.demarco@gmail.com>
Tue, 26 Aug 2014 14:01:19 +0000
(23:01 +0900)
committer
Frank DeMarco
<frank.s.demarco@gmail.com>
Tue, 26 Aug 2014 14:01:19 +0000
(23:01 +0900)
shaken_and_spit_out/SSO.py
patch
|
blob
|
history
diff --git
a/shaken_and_spit_out/SSO.py
b/shaken_and_spit_out/SSO.py
index
4767b55
..
046df7e
100644
(file)
--- a/
shaken_and_spit_out/SSO.py
+++ b/
shaken_and_spit_out/SSO.py
@@
-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)