mirror of
https://git.cavemanon.xyz/Cavemanon/SnootGame.git
synced 2025-02-24 18:48:55 +01:00
Redo fang button image & Add in hover
This commit is contained in:
parent
37ff65f838
commit
f9e510fd83
4 changed files with 16 additions and 7 deletions
Binary file not shown.
Before Width: | Height: | Size: 9 KiB |
BIN
game/images/other/fangbuttonhover.png
Normal file
BIN
game/images/other/fangbuttonhover.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.7 KiB |
BIN
game/images/other/fangbuttonidle.png
Normal file
BIN
game/images/other/fangbuttonidle.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.3 KiB |
|
@ -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,10 +1263,8 @@ label chapter_4:
|
|||
add "texts"
|
||||
yinitial 1.0
|
||||
|
||||
button:
|
||||
xalign 0.53 ypos 65
|
||||
fixed:
|
||||
add "fangbutton" xalign 0.5 yalign 0.5
|
||||
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())
|
||||
|
|
Loading…
Reference in a new issue