mirror of
https://git.cavemanon.xyz/Cavemanon/SnootGame.git
synced 2025-03-26 11:54:49 +01:00
reworked subscreen for extras menu, will expand soon
This commit is contained in:
parent
c6a94f7528
commit
019d467a7e
3 changed files with 44 additions and 15 deletions
Binary file not shown.
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 25 KiB |
Binary file not shown.
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 25 KiB |
|
@ -1254,6 +1254,31 @@ style main_menu_title:
|
|||
properties gui.text_properties("title")
|
||||
|
||||
|
||||
##Extras Navigation Screen #####################################################
|
||||
##
|
||||
##This screen is to be reused in
|
||||
screen extrasnavigation():
|
||||
vbox:
|
||||
#xalign 1.0
|
||||
xpos 665
|
||||
ypos 270
|
||||
|
||||
if persistent.splashtype == 1:
|
||||
add "gui/sneedgame.png"
|
||||
else:
|
||||
add "gui/snootgame.png"
|
||||
vbox:
|
||||
spacing 25
|
||||
# xpos 590
|
||||
xalign 0.79
|
||||
yalign 1.0 #0.9
|
||||
imagebutton auto "gui/button/menubuttons/helpbutton_%s.png" action ShowMenu("help")
|
||||
imagebutton auto "gui/button/menubuttons/aboutbutton_%s.png" action ShowMenu("about")
|
||||
imagebutton auto "gui/button/menubuttons/updatesbutton_%s.png" action ShowMenu("updates")
|
||||
imagebutton auto "gui/button/menubuttons/gallerybutton_%s.png" action ShowMenu("gallery")
|
||||
imagebutton auto "gui/button/menubuttons/returnbutton_%s.png" action ShowMenu("main_menu")
|
||||
|
||||
|
||||
## Help screen #################################################################
|
||||
##
|
||||
## A screen that gives information about key and mouse bindings. It uses other
|
||||
|
@ -1306,21 +1331,25 @@ screen help():
|
|||
text _("") ## again in here to keep vbox in check
|
||||
|
||||
vbox:
|
||||
xpos 1940
|
||||
yalign 0.03
|
||||
if persistent.splashtype == 1:
|
||||
add "gui/sneedgame.png"
|
||||
else:
|
||||
add "gui/snootgame.png"
|
||||
vbox:
|
||||
spacing 25
|
||||
xpos 1885
|
||||
yalign 0.9
|
||||
imagebutton auto "gui/button/menubuttons/helpbutton_%s.png" action ShowMenu("help")
|
||||
imagebutton auto "gui/button/menubuttons/aboutbutton_%s.png" action ShowMenu("about")
|
||||
imagebutton auto "gui/button/menubuttons/updatesbutton_%s.png" action ShowMenu("updates")
|
||||
imagebutton auto "gui/button/menubuttons/gallerybutton_%s.png" action ShowMenu("gallery")
|
||||
imagebutton auto "gui/button/menubuttons/returnbutton_%s.png" action ShowMenu("main_menu")
|
||||
xpos 1942
|
||||
# xalign 1.0
|
||||
yalign 0.95
|
||||
use extrasnavigation
|
||||
# xpos 1940
|
||||
# yalign 0.03
|
||||
# if persistent.splashtype == 1:
|
||||
# add "gui/sneedgame.png"
|
||||
# else:
|
||||
# add "gui/snootgame.png"
|
||||
# vbox:
|
||||
# spacing 25
|
||||
# xpos 1885
|
||||
# yalign 0.9
|
||||
# imagebutton auto "gui/button/menubuttons/helpbutton_%s.png" action ShowMenu("help")
|
||||
# imagebutton auto "gui/button/menubuttons/aboutbutton_%s.png" action ShowMenu("about")
|
||||
# imagebutton auto "gui/button/menubuttons/updatesbutton_%s.png" action ShowMenu("updates")
|
||||
# imagebutton auto "gui/button/menubuttons/gallerybutton_%s.png" action ShowMenu("gallery")
|
||||
# imagebutton auto "gui/button/menubuttons/returnbutton_%s.png" action ShowMenu("main_menu")
|
||||
|
||||
|
||||
screen keyboard_help():
|
||||
|
|
Loading…
Add table
Reference in a new issue