From 985a0a79ede816783f2a0f59f238509013a3f25f Mon Sep 17 00:00:00 2001 From: Gouvernathor <44340603+Gouvernathor@users.noreply.github.com> Date: Wed, 15 Nov 2023 02:00:18 +0100 Subject: [PATCH] Modernize use of matrixcolor --- game/scripts/animations/generator.rpy | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/game/scripts/animations/generator.rpy b/game/scripts/animations/generator.rpy index 86fb775e..b9dbe309 100644 --- a/game/scripts/animations/generator.rpy +++ b/game/scripts/animations/generator.rpy @@ -3,6 +3,7 @@ image object: transform OBJbutterfly(hue=random.randint(0, 359)): zoom random.uniform(0.4, 0.85) + matrixcolor HueMatrix(hue) choice: pause random.randint(1, 7) @@ -22,13 +23,13 @@ transform OBJbutterfly(hue=random.randint(0, 359)): ease_circ 1.0 rotate 15 repeat 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 - 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 - 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 - 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 repeat choice: @@ -49,13 +50,13 @@ transform OBJbutterfly(hue=random.randint(0, 359)): ease_circ 1.0 rotate -15 repeat 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 - 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 - 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 - 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 repeat repeat