My game runs 400x800, I know it isn't a common resolution but it's exactly what I want for this game.
I didn't have particular problems to adapt the menus, but I couldn't find the correct statement to define the style for a particular button.
The button is "TEST" (volume of sounds).
$ style.prefs_button_text.color = mycolor
with this command I changed the color of buttons in the preferences
My background isn't uniform and I need the Test button in a further different color
thank you
marco
change the style of a particular button
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.
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.
- PyTom
- Ren'Py Creator
- Posts: 16096
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Alas, what you ask isn't possible in 5.4.5. In 5.5, you'll be able to adjust style.soundtest_button.color, but that's a new style that wasn't found in 5.4.5.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
Who is online
Users browsing this forum: Dark79