Code: Select all
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/screen_say.rpy", line 31, in script
style window:
File "game/screen_say.rpy", line 35, in <module>
ysize gui.textbox_height
AttributeError: 'StoreModule' object has no attribute 'textbox_height'
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/screen_say.rpy", line 31, in script
style window:
File "C:\Users\Jacob\Desktop\renpy-6.99.12.4-sdk\renpy\ast.py", line 2241, in execute
self.apply()
File "C:\Users\Jacob\Desktop\renpy-6.99.12.4-sdk\renpy\ast.py", line 2224, in apply
value = renpy.python.py_eval(expr)
File "C:\Users\Jacob\Desktop\renpy-6.99.12.4-sdk\renpy\python.py", line 1749, in py_eval
return py_eval_bytecode(code, globals, locals)
File "C:\Users\Jacob\Desktop\renpy-6.99.12.4-sdk\renpy\python.py", line 1743, in py_eval_bytecode
return eval(bytecode, globals, locals)
File "game/screen_say.rpy", line 35, in <module>
ysize gui.textbox_height
AttributeError: 'StoreModule' object has no attribute 'textbox_height'
Windows-8-6.2.9200
Ren'Py 6.99.12.4.2187
Familiarity 0.3.0
Code: Select all
screen say(who, what):
style_prefix "say"
window:
id "window"
if who is not None:
window:
style "namebox"
text who id "who"
text what id "what"
## If there's a side image, display it above the text. Do not display on the
## phone variant - there's no room.
if not renpy.variant("small"):
add SideImage() xalign 0.0 yalign 1.0
style window is default
style say_label is default
style say_dialogue is default
style say_thought is say_dialogue
style namebox is default
style namebox_label is say_label
style window:
xalign 0.5
xfill True
yalign gui.textbox_yalign
ysize gui.textbox_height
background Image("ui/dialog.png", xalign=0, yalign=.0)
style namebox:
xpos gui.name_xpos
xanchor gui.name_xalign
xsize gui.namebox_width
ypos gui.name_ypos
ysize gui.namebox_height
background Frame("ui/nameboxfinal.png")
padding gui.namebox_borders.padding
style say_label:
properties gui.text_properties("name", accent=True)
xalign gui.name_xalign
yalign 0.5
style say_dialogue:
properties gui.text_properties("dialogue")
xpos gui.dialogue_xpos
xsize gui.dialogue_width
ypos gui.dialogue_ypos