From a9dc1953793591578fe807e2aca551ab84509050 Mon Sep 17 00:00:00 2001 From: Gouvernathor <44340603+Gouvernathor@users.noreply.github.com> Date: Wed, 15 Nov 2023 02:02:50 +0100 Subject: [PATCH] Upgrade other uses of image manipulators --- game/scripts/characters/hermione/events/cardgame_wager.rpy | 2 +- game/scripts/interface/book.rpy | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/game/scripts/characters/hermione/events/cardgame_wager.rpy b/game/scripts/characters/hermione/events/cardgame_wager.rpy index 8196b944..acc73bb5 100644 --- a/game/scripts/characters/hermione/events/cardgame_wager.rpy +++ b/game/scripts/characters/hermione/events/cardgame_wager.rpy @@ -701,7 +701,7 @@ label hg_wager_bj_secret: screen hg_wager_bj_secret(): zorder 4 - add im.MatrixColor("images/rooms/overlays/g_circular.webp", im.matrix.saturation(0.0)*im.matrix.brightness(0.7)) + add Transform("images/rooms/overlays/g_circular.webp", matrixcolor=BrightnessMatrix(.7)*SaturationMatrix(.0)) text "Replay" pos (50, 50) size 40 color "#FFF" outlines [(5, "#000", 0, 0)] at blink diff --git a/game/scripts/interface/book.rpy b/game/scripts/interface/book.rpy index 93b0a68a..3344f17f 100644 --- a/game/scripts/interface/book.rpy +++ b/game/scripts/interface/book.rpy @@ -137,7 +137,7 @@ screen book_menu(page, pages, title, page_title, page_text, page_overflow): xalign 1.0 # Next if page < pages: - idle im.Alpha("interface/book/hover.webp", 0) + idle Transform("interface/book/hover.webp", alpha=0) hover "interface/book/hover.webp" action Return("next") # Fast Back to start @@ -151,7 +151,7 @@ screen book_menu(page, pages, title, page_title, page_text, page_overflow): imagebutton: pos (242, 100) ysize 400 - idle im.Alpha(Transform("interface/book/hover.webp", xzoom=-1.0), 0) + idle Transform("interface/book/hover.webp", xzoom=-1.0, alpha=0) hover Transform("interface/book/hover.webp", xzoom=-1.0) action Return("prev")