forked from SilverStudioGames/WTS
Modernize use of matrixcolor
This commit is contained in:
parent
9a8fdf7450
commit
0cc22f413c
@ -3,6 +3,7 @@ image object:
|
|||||||
|
|
||||||
transform OBJbutterfly(hue=random.randint(0, 359)):
|
transform OBJbutterfly(hue=random.randint(0, 359)):
|
||||||
zoom random.uniform(0.4, 0.85)
|
zoom random.uniform(0.4, 0.85)
|
||||||
|
matrixcolor HueMatrix(hue)
|
||||||
|
|
||||||
choice:
|
choice:
|
||||||
pause random.randint(1, 7)
|
pause random.randint(1, 7)
|
||||||
@ -22,13 +23,13 @@ transform OBJbutterfly(hue=random.randint(0, 359)):
|
|||||||
ease_circ 1.0 rotate 15
|
ease_circ 1.0 rotate 15
|
||||||
repeat
|
repeat
|
||||||
parallel:
|
parallel:
|
||||||
im.MatrixColor("images/rooms/quidditch_pitch/butterfly/0.webp", im.matrix.hue(hue)) with d3
|
"images/rooms/quidditch_pitch/butterfly/0.webp" with d3
|
||||||
pause .3
|
pause .3
|
||||||
im.MatrixColor("images/rooms/quidditch_pitch/butterfly/1.webp", im.matrix.hue(hue)) with d3
|
"images/rooms/quidditch_pitch/butterfly/1.webp" with d3
|
||||||
pause .3
|
pause .3
|
||||||
im.MatrixColor("images/rooms/quidditch_pitch/butterfly/2.webp", im.matrix.hue(hue)) with d3
|
"images/rooms/quidditch_pitch/butterfly/2.webp" with d3
|
||||||
pause .3
|
pause .3
|
||||||
im.MatrixColor("images/rooms/quidditch_pitch/butterfly/1.webp", im.matrix.hue(hue)) with d3
|
"images/rooms/quidditch_pitch/butterfly/1.webp" with d3
|
||||||
pause .3
|
pause .3
|
||||||
repeat
|
repeat
|
||||||
choice:
|
choice:
|
||||||
@ -49,13 +50,13 @@ transform OBJbutterfly(hue=random.randint(0, 359)):
|
|||||||
ease_circ 1.0 rotate -15
|
ease_circ 1.0 rotate -15
|
||||||
repeat
|
repeat
|
||||||
parallel:
|
parallel:
|
||||||
im.MatrixColor("images/rooms/quidditch_pitch/butterfly/0.webp", im.matrix.hue(hue)) with d3
|
"images/rooms/quidditch_pitch/butterfly/0.webp" with d3
|
||||||
pause .3
|
pause .3
|
||||||
im.MatrixColor("images/rooms/quidditch_pitch/butterfly/1.webp", im.matrix.hue(hue)) with d3
|
"images/rooms/quidditch_pitch/butterfly/1.webp" with d3
|
||||||
pause .3
|
pause .3
|
||||||
im.MatrixColor("images/rooms/quidditch_pitch/butterfly/2.webp", im.matrix.hue(hue)) with d3
|
"images/rooms/quidditch_pitch/butterfly/2.webp" with d3
|
||||||
pause .3
|
pause .3
|
||||||
im.MatrixColor("images/rooms/quidditch_pitch/butterfly/1.webp", im.matrix.hue(hue)) with d3
|
"images/rooms/quidditch_pitch/butterfly/1.webp" with d3
|
||||||
pause .3
|
pause .3
|
||||||
repeat
|
repeat
|
||||||
repeat
|
repeat
|
||||||
|
Loading…
Reference in New Issue
Block a user