From 6ac6fb8b44b5baec3f3f9f7a9e7ef6300ac0d5d0 Mon Sep 17 00:00:00 2001 From: nutbuster Date: Sat, 3 Jul 2021 12:11:51 +1000 Subject: [PATCH] Dialogue uses more width and slightly large font size --- game/gui.rpy | 21 +++++++++++---------- game/screens.rpy | 4 ++-- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/game/gui.rpy b/game/gui.rpy index a44aa8d..d67f37a 100644 --- a/game/gui.rpy +++ b/game/gui.rpy @@ -73,7 +73,7 @@ define gui.name_text_font = "gui/FallingSky.otf" define gui.interface_text_font = "gui/FallingSky.otf" ## The size of normal dialogue text. -define gui.text_size = 40 +define gui.text_size = 42 #define gui.text_outlines = [ (absolute(0.5), gui.text_color_outline, 0, 0) ] ## The size of character names. @@ -146,11 +146,10 @@ define gui.namebox_tile = False ## number of pixels relative to the left or top side of the textbox, or 0.5 to ## center. #To make the text with the characters align to the normal text, I set this to match up and make it "just werk". It is a horrible, hacky fix, but werks none the less. I hope this fix is so bad that I never get to write gui code ever again. -define gui.dialogue_xpos = 365 -define gui.dialogue_ypos = 47 - -## The maximum width of dialogue text, in pixels. -define gui.dialogue_width = 1116 +#It's still bad but it could be legitmately worse +define gui.dialogue_ypos = 20 +define gui.dialogue_xpos = 220 +define gui.dialogue_width = 1460 ## 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. @@ -444,19 +443,21 @@ init python: if renpy.variant("small"): ## Font sizes. - gui.text_size = 45 - gui.name_text_size = 50 + gui.text_size = 44 + gui.name_text_size = 48 gui.notify_text_size = 38 gui.interface_text_size = 45 gui.button_text_size = 45 gui.label_text_size = 51 ## Namebox - gui.name_xpos = 335 + gui.name_xpos = 345 gui.name_ypos = -85 ## Adjust the location of the textbox. - gui.text_width = 1650 # not needed + gui.dialogue_ypos = 20 + gui.dialogue_xpos = 240 + gui.dialogue_width = 1460 ## Change the size and spacing of various things. gui.slider_size = 54 diff --git a/game/screens.rpy b/game/screens.rpy index 49dfd14..d92e211 100644 --- a/game/screens.rpy +++ b/game/screens.rpy @@ -456,7 +456,7 @@ style main_menu_vbox: xoffset -30 xmaximum 1200 yalign 1.0 - yoffset -30 + yoffset -60 style main_menu_text: properties gui.text_properties("main_menu") #, accent=True) @@ -1613,7 +1613,7 @@ screen quick_menu(): style window: variant "small" - yoffset -100 # ypos 1000 + yoffset -75 # ypos 1000 style radio_button: variant "small"