So I've been poring over the documentation to get a handle on the language. Something I cant seem to figure out though is themes, and how exactly they are defined.
Within the base launcher there are 11 pre-defined themes, which give you a basis to start off of, along with numerous colour schemes presented to you. The colour schemes are self explanatory, with options to change various points being easily accessible within options.rpy.
When it comes to themes however, I am a bit stuck. On that note, I have a few questions.
1) Are there any other pre-defined themes built in besides those 11 present in the main launcher, and if so, where would I find a list of the themes.
2) Is it possible to create a purely custom window theme, and how would I go about integrating it.
I have a few Ideas on number two, basically I create various images to use as a base for it, borders, buttons, dialouge windows, and such, and them creating a script which compiles it together into the singular theme. I would then use a define argument to identify it as a theme, then call it in options.rpy, The only thing is I don't know how feasible a method this would be if I were to do it this way, nor how exactly I would go about constructing the script if I did it this way, as I don't have any kind of an example script to base it off of.
So yeah, any input on this would be helpful.
Themes
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.
- NialGrenville
- Regular
- Posts: 184
- Joined: Tue Aug 30, 2016 6:30 pm
- Projects: PaS: The Awakening; The Heart Woods; The Witch and the Fairy
- Organization: Gabe Works, Inc.
- Contact:
Re: Themes
1) Uh, not that I know of. No.
2)I'm not sure. I know you can edit just about everything though. You can go into the Ren'Py directory and dig around for the themes. I believe it's in the commons folder. There you can use your own pictures, and create themes.
Your idea is correct, in a sense. You can understand themes a bit better by looking in your options.rpy. Search (ctrl + F, command + F) for widget, or theme. It will bring you to a whole section starting with theme.(whatever theme you chose). From there you can pick apart that code. If you require any more help in that area just tell me. I can break down the code for you.
2)I'm not sure. I know you can edit just about everything though. You can go into the Ren'Py directory and dig around for the themes. I believe it's in the commons folder. There you can use your own pictures, and create themes.
Your idea is correct, in a sense. You can understand themes a bit better by looking in your options.rpy. Search (ctrl + F, command + F) for widget, or theme. It will bring you to a whole section starting with theme.(whatever theme you chose). From there you can pick apart that code. If you require any more help in that area just tell me. I can break down the code for you.
*Me*, *You, ***Calamazoo: *Singularity-A.I.*: *Proceed to processing
PaS: The Awakening, current status: 42%
The HeartWoods, current status: 0%
The Wonderful Mell! My PFI creator Honest Critique
PaS: The Awakening, current status: 42%
The HeartWoods, current status: 0%
The Wonderful Mell! My PFI creator Honest Critique
- nyaatrap
- Crawling Chaos
- Posts: 1824
- Joined: Mon Feb 13, 2012 5:37 am
- Location: Kimashi Tower, Japan
- Contact:
Re: Themes
Themes are obsoleted methods that were replaced by new GUI. There is less documentation on them because they're outdated. If you want to make your custom GUI, it's better to forget about themes then read https://www.renpy.org/doc/html/gui.html
Who is online
Users browsing this forum: _ticlock_