Mouseover fixed again

This commit is contained in:
Nutbuster 2022-11-07 12:07:22 +11:00
parent 626729bd0f
commit 12d3ca9068

View File

@ -1264,19 +1264,17 @@ label chapter_4:
rotate 12.5
mousearea:
ypos -75
area(0.225, 0, 795, 1100)
area(432, 0, 795, 1100)
# xalign 0.5 yanchor 0 ypos 0
hovered Hide("prompt", 'overlay')
unhovered Show("prompt", 'overlay')
hovered Hide("prompt" )
unhovered Show("prompt")
# kick the player back out in X seconds in case they can't find the 'close' button
# timer 10.0 action Return()
add "white"
timer 2.0 action(Show("mousedetect"), Show("prompt", 'overlay'))
screen textscroll():
timer 2.0 action(Show("mousedetect"), Show("prompt"))
add Solid("FFF")
transform:
zoom 0.8
rotate 12.5
@ -1293,12 +1291,11 @@ label chapter_4:
ypos 65+(int(107/2))
xsize 284
ysize 107
action (Hide("mousedetect", 'overlay'), Hide("prompt", 'overlay'), Hide("textscroll", transition=Dissolve(1.0)), Return())
action (Hide("mousedetect"), Hide("prompt"), Hide("textscroll", transition=Dissolve(1.0)), Return())
add "texts"
add "fang phone"
#call screen mousedetect
call screen textscroll with dissolve
pause 1