Upgrade other uses of image manipulators
This commit is contained in:
parent
985a0a79ed
commit
a9dc195379
@ -701,7 +701,7 @@ label hg_wager_bj_secret:
|
|||||||
|
|
||||||
screen hg_wager_bj_secret():
|
screen hg_wager_bj_secret():
|
||||||
zorder 4
|
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
|
text "Replay" pos (50, 50) size 40 color "#FFF" outlines [(5, "#000", 0, 0)] at blink
|
||||||
|
|
||||||
|
@ -137,7 +137,7 @@ screen book_menu(page, pages, title, page_title, page_text, page_overflow):
|
|||||||
xalign 1.0
|
xalign 1.0
|
||||||
# Next
|
# Next
|
||||||
if page < pages:
|
if page < pages:
|
||||||
idle im.Alpha("interface/book/hover.webp", 0)
|
idle Transform("interface/book/hover.webp", alpha=0)
|
||||||
hover "interface/book/hover.webp"
|
hover "interface/book/hover.webp"
|
||||||
action Return("next")
|
action Return("next")
|
||||||
# Fast Back to start
|
# Fast Back to start
|
||||||
@ -151,7 +151,7 @@ screen book_menu(page, pages, title, page_title, page_text, page_overflow):
|
|||||||
imagebutton:
|
imagebutton:
|
||||||
pos (242, 100)
|
pos (242, 100)
|
||||||
ysize 400
|
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)
|
hover Transform("interface/book/hover.webp", xzoom=-1.0)
|
||||||
action Return("prev")
|
action Return("prev")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user