error fixing and codex

This commit is contained in:
Jacoder23 2024-04-19 12:21:17 +08:00
parent d28fe15a5a
commit be9c2fb37a
9 changed files with 1952 additions and 83 deletions

View file

@ -83,7 +83,10 @@ screen quick_menu():
hbox:
style_prefix "quick"
spacing -5
textbutton _("Back") action Rollback()
textbutton _("Codex") action ShowMenu('category_welcome')
textbutton _("History") action ShowMenu('history')
textbutton _("Skip") action Skip() alternate Skip(fast=True, confirm=True)
textbutton _("Auto") action Preference("auto-forward", "toggle")

View file

@ -21,8 +21,12 @@ screen game_menu(title):
textbutton _("Start") action Start()
textbutton _("Codex") action ShowMenu('category_welcome')
else:
textbutton _("Codex") action ShowMenu('category_welcome')
textbutton _("History") action ShowMenu("history")
textbutton _("Save") action ShowMenu("save")

View file

@ -7,8 +7,13 @@
## Replace this with your background image, if you like
image main_menu_background = "Main_Menu3.png"
image main_menu_foreground = HBox(
Solid("#292835AA", xsize=325, ysize=530)
image main_menu_foreground_pc = HBox(
Solid("#292835AA", xsize=325, ysize=580)
)
image main_menu_foreground_web = HBox(
Solid("#292835AA", xsize=325, ysize=500)
) # TODO: use platform checking to make this smaller on web and bigger on other platforms as for some reason this is larger on web
screen main_menu():
@ -20,18 +25,26 @@ screen main_menu():
ypos -20
xpos -70
add "main_menu_foreground":
xalign 0.5
yalign 0.95
if renpy.emscripten:
add "main_menu_foreground_web":
xalign 0.5
yalign 0.95
else:
add "main_menu_foreground_pc":
xalign 0.5
yalign 0.95
vbox:
xalign 0.5
yalign 0.95
spacing -3
spacing -8
textbutton _("Start") action Start():
xalign 0.5
textbutton _("Codex") action ShowMenu('category_welcome'):
xalign 0.5
textbutton _("Load") action ShowMenu("load"):
xalign 0.5

View file

@ -98,6 +98,8 @@ screen preferences():
style_prefix "check"
action Preference("all mute", "toggle")
textbutton _("Clear All Progress") action persistent._clear(progress=True)
### PREF
style pref_label:
top_margin 15