Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Hi all, I need help with a conditional style. I have a style named "navigation_btn" which is called for my main menu buttons which are aligned to the left. It works fine in the preferences screen. But I'm trying to center the text in the buttons but only when the main_menu screen is shown.
I want it so that while renpy.get_screen("main_menu") is true, the style of the buttons gets "xalign 0.5" appended to it, then back to default when in the preferences menu.