mirror of
https://git.cavemanon.xyz/Cavemanon/SnootGame.git
synced 2025-02-24 18:48:55 +01:00
add scrolling Trish texts proof-of-concept
This commit is contained in:
parent
2bbef6aa79
commit
3942b354ef
4 changed files with 55 additions and 0 deletions
BIN
game/images/cgs/fang phone.png
Normal file
BIN
game/images/cgs/fang phone.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 345 KiB |
BIN
game/images/other/texts.png
Normal file
BIN
game/images/other/texts.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 839 KiB |
BIN
game/images/vfx/pointer.png
Normal file
BIN
game/images/vfx/pointer.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 19 KiB |
|
@ -1140,6 +1140,7 @@ label chapter_4:
|
|||
with Dissolve(1)
|
||||
pause .5
|
||||
|
||||
label phonepeek:
|
||||
"Fang’s password is{cps=*.1}...{/cps}"
|
||||
|
||||
"Wait,{w=.4} only the ‘one’ key is smudged?"
|
||||
|
@ -1148,6 +1149,60 @@ label chapter_4:
|
|||
pause .5
|
||||
|
||||
"Ah,{w=.4} the messenger app."
|
||||
|
||||
transform cursortransform:
|
||||
xalign 0.55
|
||||
block:
|
||||
yalign 0.2
|
||||
pause .25
|
||||
easein_cubic 1 yalign 0.75
|
||||
pause .5
|
||||
repeat
|
||||
|
||||
image cursor = At("pointer", cursortransform)
|
||||
|
||||
|
||||
screen fuckthis():
|
||||
|
||||
fixed:
|
||||
add "cursor"
|
||||
|
||||
screen prompt():
|
||||
mousearea:
|
||||
area(0.3, 0, 795, 1000)
|
||||
# xalign 0.5 yanchor 0 ypos 0
|
||||
hovered Hide("fuckthis")
|
||||
unhovered Show("fuckthis")
|
||||
|
||||
screen textscroll():
|
||||
# kick the player back out in X seconds in case they can't find the 'close' button
|
||||
# timer 10.0 action Return()
|
||||
timer 0.5 action(Show("prompt"), Show("fuckthis"))
|
||||
|
||||
transform:
|
||||
# rotate 10 # thanks based nutbuster
|
||||
viewport:
|
||||
xalign 0.5 yanchor 0 ypos 0 xysize(795, 1000)
|
||||
child_size(795, 7776)
|
||||
draggable True
|
||||
arrowkeys True
|
||||
# edgescroll(400, 800)
|
||||
|
||||
add "texts"
|
||||
yinitial 1.0
|
||||
|
||||
frame:
|
||||
xpos 50 ypos 50
|
||||
button:
|
||||
text "CLOSE" style "button_text"
|
||||
action (Hide("prompt"), Hide("fuckthis"), Return())
|
||||
|
||||
|
||||
show fang phone:
|
||||
yalign 0.5 xalign 0.5
|
||||
zoom 1.25
|
||||
rotate -12
|
||||
call screen textscroll
|
||||
#TODO: IMPLEMENT MESSAGING GUI
|
||||
#do we even have time for this?
|
||||
#maybe this will be a post release update
|
||||
|
|
Loading…
Reference in a new issue