Redo fang button image & Add in hover

This commit is contained in:
Nutbuster 2021-10-26 09:56:39 +11:00
parent 37ff65f838
commit f9e510fd83
4 changed files with 16 additions and 7 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

View File

@ -1222,6 +1222,15 @@ label chapter_4:
fixed:
add "cursor"
image fangbuttonidle:
"other/fangbuttonidle.png"
matrixcolor TintMatrix(Color((1.1*255, 1.1*255, 1.1*255)))
easeout_cubic 0.50 matrixcolor TintMatrix(Color((255, 255, 255)))
pause 0.633
repeat
screen mousedetect():
transform: # thanks based nutbuster
zoom 0.8
@ -1233,12 +1242,14 @@ label chapter_4:
hovered Hide("prompt")
unhovered Show("prompt")
screen textscroll():
# 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 action(Show("mousedetect"), Show("prompt"))
screen textscroll():
add Solid("FFF")
transform: # thanks based nutbuster
zoom 0.8
rotate 12.5
@ -1252,12 +1263,10 @@ label chapter_4:
add "texts"
yinitial 1.0
button:
xalign 0.53 ypos 65
fixed:
add "fangbutton" xalign 0.5 yalign 0.5
xsize 284
ysize 107
imagebutton auto "fangbutton%s" xalign 0.53 yalign 0.5:
ypos 65+(107/2)
xsize 284
ysize 107
action (Hide("mousedetect"), Hide("prompt"), Hide("textscroll", transition=Dissolve(1.0)), Return())
add "fang phone"