Dialogue uses more width and slightly large font size

This commit is contained in:
2021-07-03 12:11:51 +10:00
parent b774c119f8
commit 6ac6fb8b44
2 changed files with 13 additions and 12 deletions

View File

@ -73,7 +73,7 @@ define gui.name_text_font = "gui/FallingSky.otf"
define gui.interface_text_font = "gui/FallingSky.otf" define gui.interface_text_font = "gui/FallingSky.otf"
## The size of normal dialogue text. ## 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) ] #define gui.text_outlines = [ (absolute(0.5), gui.text_color_outline, 0, 0) ]
## The size of character names. ## 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 ## number of pixels relative to the left or top side of the textbox, or 0.5 to
## center. ## 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. #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 #It's still bad but it could be legitmately worse
define gui.dialogue_ypos = 47 define gui.dialogue_ypos = 20
define gui.dialogue_xpos = 220
## The maximum width of dialogue text, in pixels. define gui.dialogue_width = 1460
define gui.dialogue_width = 1116
## The horizontal alignment of the dialogue text. This can be 0.0 for left- ## 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. ## aligned, 0.5 for centered, and 1.0 for right-aligned.
@ -444,19 +443,21 @@ init python:
if renpy.variant("small"): if renpy.variant("small"):
## Font sizes. ## Font sizes.
gui.text_size = 45 gui.text_size = 44
gui.name_text_size = 50 gui.name_text_size = 48
gui.notify_text_size = 38 gui.notify_text_size = 38
gui.interface_text_size = 45 gui.interface_text_size = 45
gui.button_text_size = 45 gui.button_text_size = 45
gui.label_text_size = 51 gui.label_text_size = 51
## Namebox ## Namebox
gui.name_xpos = 335 gui.name_xpos = 345
gui.name_ypos = -85 gui.name_ypos = -85
## Adjust the location of the textbox. ## 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. ## Change the size and spacing of various things.
gui.slider_size = 54 gui.slider_size = 54

View File

@ -456,7 +456,7 @@ style main_menu_vbox:
xoffset -30 xoffset -30
xmaximum 1200 xmaximum 1200
yalign 1.0 yalign 1.0
yoffset -30 yoffset -60
style main_menu_text: style main_menu_text:
properties gui.text_properties("main_menu") #, accent=True) properties gui.text_properties("main_menu") #, accent=True)
@ -1613,7 +1613,7 @@ screen quick_menu():
style window: style window:
variant "small" variant "small"
yoffset -100 # ypos 1000 yoffset -75 # ypos 1000
style radio_button: style radio_button:
variant "small" variant "small"