mirror of
https://git.cavemanon.xyz/Cavemanon/SnootGame.git
synced 2025-01-22 17:26:20 +01:00
Raymba Ending in x10 & Title Screen
This commit is contained in:
parent
d72ea745cb
commit
668f07cb6a
6 changed files with 103 additions and 47 deletions
BIN
game/images/cgs/big ending.jpg
Normal file
BIN
game/images/cgs/big ending.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 282 KiB |
Binary file not shown.
Before Width: | Height: | Size: 213 KiB |
BIN
game/images/other/the ending.png
Normal file
BIN
game/images/other/the ending.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.7 KiB |
|
@ -442,7 +442,20 @@ image bonus_flash:
|
|||
pause 0.133
|
||||
repeat 4
|
||||
|
||||
screen bonus_chapter_button():
|
||||
|
||||
image template_black_m = Composite(
|
||||
(511, 129),
|
||||
(6, 5), Crop((0, 0, 511-12, 129-12), Solid("#000000", width=2, height=2)),
|
||||
(0, 0), "gui/button/menubuttons/template_idle.png",
|
||||
(0, 0), "gui/button/menubuttons/template_idle.png"
|
||||
)
|
||||
|
||||
image template_black:
|
||||
"template_black_m"
|
||||
matrixcolor TintMatrix(Color((0, 0, 0)))
|
||||
alpha 0.8
|
||||
|
||||
screen bonus_chapter_button(f="template_idle"):
|
||||
#("gui/button/menubuttons/template_idle.png", "Bonus Chapters", ShowMenu("ex_ch_menu"))
|
||||
button:
|
||||
xmaximum 500
|
||||
|
@ -454,7 +467,7 @@ screen bonus_chapter_button():
|
|||
add "bonus_flash" xalign 0.5 yalign 0.5 zoom 1 xanchor 0 xcenter 0.5 ycenter 0.5
|
||||
$ persistent.old_endings = persistent.endings
|
||||
else:
|
||||
add "gui/button/menubuttons/template_idle.png" xalign 0.5 yalign 0.5 zoom 1 xanchor 0 xcenter 0.5 ycenter 0.5
|
||||
add f xalign 0.5 yalign 0.5 zoom 1 xanchor 0 xcenter 0.5 ycenter 0.5
|
||||
text "Bonus Chapters" xalign 0.5 yalign 0.5 xanchor 0.5
|
||||
|
||||
# label_functions is [ [ "label", function() ], [ "foobar", foobar() ], .. ]
|
||||
|
@ -473,15 +486,18 @@ screen main_menu():
|
|||
## This ensures that any other menu screen is replaced.
|
||||
tag menu
|
||||
|
||||
|
||||
if renpy.seen_image("big ending"):
|
||||
style_prefix "main_menu_ex"
|
||||
add "big ending"
|
||||
else:
|
||||
style_prefix "main_menu"
|
||||
|
||||
add gui.main_menu_background
|
||||
|
||||
|
||||
## This empty frame darkens the main menu.
|
||||
frame:
|
||||
#text "You have unlocked all bonus chapters!"
|
||||
pass
|
||||
|
||||
if persistent.old_endings != persistent.endings:
|
||||
fixed:
|
||||
xalign 0.125
|
||||
|
@ -508,6 +524,17 @@ screen main_menu():
|
|||
spacing 10
|
||||
xpos 1885
|
||||
ypos 1130
|
||||
if renpy.seen_image('big ending'):
|
||||
use main_menu_button("template_black", "Start", Start())
|
||||
use bonus_chapter_button("template_black")
|
||||
use main_menu_buttons("template_black",
|
||||
[
|
||||
[ "Load", ShowMenu("load") ],
|
||||
[ "Options", ShowMenu("preferences") ],
|
||||
[ "Extras", ShowMenu("extras") ], \
|
||||
[ "Quit", Quit(confirm=not main_menu) ]
|
||||
] )
|
||||
else:
|
||||
use main_menu_button("gui/button/menubuttons/template_idle.png", "Start", Start())
|
||||
use bonus_chapter_button()
|
||||
use main_menu_buttons("gui/button/menubuttons/template_idle.png",
|
||||
|
@ -547,9 +574,25 @@ style main_menu_text:
|
|||
style main_menu_title:
|
||||
properties gui.text_properties("title")
|
||||
|
||||
style main_menu_ex is main_menu
|
||||
style main_menu_ex_vbox is main_menu_vbox
|
||||
style main_menu_ex_text is main_menu_text
|
||||
style main_menu_ex_frame is main_menu_frame
|
||||
|
||||
#style main_menu_ex_button:
|
||||
#color "#222"
|
||||
#background "gui/button/menubuttons/template_idle.png"
|
||||
#xalign 0.5 yalign 0.5 zoom 1 xanchor 0 xcenter 0.5 ycenter 0.5
|
||||
|
||||
#style main_menu_ex_button:
|
||||
#color "#222"
|
||||
|
||||
|
||||
|
||||
#style main_menu_version:
|
||||
# properties gui.text_properties("version")
|
||||
|
||||
# style
|
||||
|
||||
## Game Menu screen ############################################################
|
||||
##
|
||||
|
|
|
@ -346,6 +346,7 @@ label chapter_9:
|
|||
"Each one more and more embarrassing than the last."
|
||||
|
||||
show projector9_blur at wiggle with dissolve
|
||||
#$
|
||||
# scene projector9
|
||||
|
||||
"I…{w=0.3} oh god…"
|
||||
|
|
|
@ -952,6 +952,18 @@ label chapter_x10:
|
|||
stop music fadeout 6
|
||||
"{cps=*.05}...{/cps}"
|
||||
|
||||
pause 4
|
||||
|
||||
image big blending = Composite(
|
||||
(1920, 1080),
|
||||
(0, 0), "big ending",
|
||||
(0, 0), "the ending"
|
||||
)
|
||||
|
||||
scene big ending with Dissolve(1)
|
||||
scene big blending with Dissolve(1)
|
||||
pause 8
|
||||
|
||||
scene black with Dissolve(2)
|
||||
|
||||
|
||||
return
|
Loading…
Reference in a new issue