diff --git a/src/vnpipe/renpy_templates/game/gui.rpy b/src/vnpipe/renpy_templates/game/gui.rpy index 95e08eb..d2c2043 100644 --- a/src/vnpipe/renpy_templates/game/gui.rpy +++ b/src/vnpipe/renpy_templates/game/gui.rpy @@ -97,7 +97,7 @@ define gui.game_menu_background = "@@MENU_BG@@" ## time. ## The height of the textbox containing dialogue. -define gui.textbox_height = 278 +define gui.textbox_height = 310 ## The placement of the textbox vertically on the screen. 0.0 is the top, 0.5 is ## center, and 1.0 is the bottom. @@ -130,11 +130,11 @@ define gui.namebox_tile = False ## The placement of dialogue relative to the textbox. These can be a whole ## number of pixels relative to the left or top side of the textbox, or 0.5 to ## center. -define gui.dialogue_xpos = 402 -define gui.dialogue_ypos = 75 +define gui.dialogue_xpos = 360 +define gui.dialogue_ypos = 70 ## The maximum width of dialogue text, in pixels. -define gui.dialogue_width = 1116 +define gui.dialogue_width = 1250 ## The horizontal alignment of the dialogue text. This can be 0.0 for left- ## aligned, 0.5 for centered, and 1.0 for right-aligned. @@ -180,9 +180,9 @@ define gui.button_text_xalign = 0.0 ## ## These customizations are used by the default interface: -define gui.radio_button_borders = Borders(27, 6, 6, 6) +define gui.radio_button_borders = Borders(48, 6, 6, 6) -define gui.check_button_borders = Borders(27, 6, 6, 6) +define gui.check_button_borders = Borders(48, 6, 6, 6) define gui.confirm_button_text_xalign = 0.5 @@ -226,7 +226,7 @@ define gui.choice_button_text_insensitive_color = '#8888887f' define gui.slot_button_width = 414 define gui.slot_button_height = 309 define gui.slot_button_borders = Borders(15, 15, 15, 15) -define gui.slot_button_text_size = 21 +define gui.slot_button_text_size = 26 define gui.slot_button_text_xalign = 0.5 define gui.slot_button_text_idle_color = gui.idle_small_color define gui.slot_button_text_selected_idle_color = gui.selected_color diff --git a/src/vnpipe/renpy_templates/game/screens.rpy b/src/vnpipe/renpy_templates/game/screens.rpy index 7705f0c..467db21 100644 --- a/src/vnpipe/renpy_templates/game/screens.rpy +++ b/src/vnpipe/renpy_templates/game/screens.rpy @@ -135,7 +135,7 @@ style window: yalign gui.textbox_yalign ysize gui.textbox_height - background Image("gui/textbox.png", xalign=0.5, yalign=1.0) + background Frame("gui/textbox.png", 0, 0) style namebox: xpos gui.name_xpos diff --git a/src/vnpipe/renpy_templates/game/styles.rpy b/src/vnpipe/renpy_templates/game/styles.rpy index ac3fc0d..b3c51bc 100644 --- a/src/vnpipe/renpy_templates/game/styles.rpy +++ b/src/vnpipe/renpy_templates/game/styles.rpy @@ -13,27 +13,50 @@ screen vn_art_style_picker(): modal True - add Solid("#000000") + add gui.main_menu_background + add Solid("#000000c8") vbox: xalign 0.5 - yalign 0.5 - spacing 30 + yalign 0.45 + spacing 24 - text "@@ART_STYLE_TITLE@@" xalign 0.5 size 60 - text "@@ART_STYLE_HINT@@" xalign 0.5 size 28 + text "@@ART_STYLE_TITLE@@": + xalign 0.5 + size gui.title_text_size + color gui.accent_color - null height 20 + text "@@ART_STYLE_HINT@@": + xalign 0.5 + size 30 + italic True + + null height 40 for style_id, style_label in vn_art_styles: textbutton style_label: + style_prefix "vn_picker" xalign 0.5 action [SetField(persistent, "art_style", style_id), SetField(persistent, "art_style_chosen", True), Return()] +style vn_picker_button is gui_button +style vn_picker_button_text is gui_button_text + +style vn_picker_button: + xminimum 420 + padding (30, 12) + +style vn_picker_button_text: + size 44 + xalign 0.5 + text_align 0.5 + ## Shown once, before the first scene, when there is a choice to make. label vn_pick_art_style: if len(vn_art_styles) > 1 and not persistent.art_style_chosen: scene black + $ quick_menu = False call screen vn_art_style_picker + $ quick_menu = True return