Upgrade other uses of image manipulators

This commit is contained in:
Gouvernathor 2023-11-15 02:02:50 +01:00
parent 0cc22f413c
commit a13dac8f93
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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")