Code: Select all
$ config.button_text_properties["Start Game"] = dict(size=18, xalign = 0.0)
Code: Select all
While executing init code:
File "game/script.rpy", line 4, in script
init python:
File "game/script.rpy", line 14, in <module>
config.button_text_properties["Quit"] = dict(size=18, xalign = 0.0)
Exception: config.button_text_properties is not a known configuration variable.
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/script.rpy", line 4, in script
init python:
File "/Users/adorablerocket/Documents/renpy-6.18.3-sdk/renpy/ast.py", line 785, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "/Users/adorablerocket/Documents/renpy-6.18.3-sdk/renpy/python.py", line 1382, in py_exec_bytecode
exec bytecode in globals, locals
File "game/script.rpy", line 14, in <module>
config.button_text_properties["Quit"] = dict(size=18, xalign = 0.0)
File "/Users/adorablerocket/Documents/renpy-6.18.3-sdk/renpy/defaultstore.py", line 74, in __getattr__
raise Exception('config.%s is not a known configuration variable.' % (name))
Exception: config.button_text_properties is not a known configuration variable.
Darwin-14.1.0-x86_64-i386-64bit
Ren'Py 6.18.3.761
Code: Select all
style.mm_button.text_align = 0.0
Code: Select all
style.mm_button_text.text_align = 0.0
Prior to using either I've declared my own main menu as follows:
Code: Select all
# Starlight - To boldly moé where no one has moéd before!
# Recovery version of E0.1
init python:
config.main_menu = [
(u"How to play", "tutorial", "True"),
(u"New Game ", "start", "True"),
(u"Load Game", _intra_jumps("load_screen", "main_game_transition"), "True"),
(u"Epilogue", "epilogue", persistent.ending1 and persistent.ending2 and persistent.ending3 ),
(u"Preferences", _intra_jumps("preferences_screen", "main_game_transition"), "True"),
(u"Quit", ui.jumps("_quit"), "True")
]
#config.button_text_properties["Quit"] = dict(size=18, xalign = 0.0)
#style.mm_button.text_align = 0.0