I read the GUI Documentation (multiple times) but it wasn’t very clear on where exactly I am supposed to define them. It just said what the name of the files were. And I already replaced those, but still nothing. Any help would be greatly appreciated. Please and thank you.
(If you can help me know where I’m supposed to change the images for the sliders as well that would also be greatly appreciated).
How do I change the quick menu idle and hover images?
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.
- Matalla
- Veteran
- Posts: 202
- Joined: Wed Mar 06, 2019 6:22 pm
- Completed: Max Power and the Egyptian Beetle Case, The Candidate, The Last Hope, El cajón del viejo escritorio, Clementina y la luna roja, Caught in Orbit, Dirty Business Ep 0, Medianoche de nuevo, The Lost Smile
- itch: matalla-interactive
- Location: Spain
- Contact:
Re: How do I change the quick menu idle and hover images?
By default, the quickmenu has textbuttons, so there are no images to replace. You can either replace the textbuttons with your own imagebuttons or define the background of the textbuttons with your own backgrounds (or make imagebuttons with text in the foreground).dmasterxd wrote: ↑Mon Apr 15, 2019 10:03 pm I read the GUI Documentation (multiple times) but it wasn’t very clear on where exactly I am supposed to define them. It just said what the name of the files were. And I already replaced those, but still nothing. Any help would be greatly appreciated. Please and thank you.
(If you can help me know where I’m supposed to change the images for the sliders as well that would also be greatly appreciated).
All the images related to bars are by default in "gui/bar".
-
- Regular
- Posts: 161
- Joined: Wed Feb 19, 2014 5:05 pm
- Completed: Mage Wars
- Projects: Falling Star
- Organization: Star Guide
- Contact:
Re: How do I change the quick menu idle and hover images?
And how would I do that? That's the part I don't understand. Like where do I put the code and what is the code for it? Because I can't find the answer to either of those things anywhere (I've already commissioned the background for it).Matalla wrote: ↑Mon Apr 15, 2019 10:32 pm
By default, the quickmenu has textbuttons, so there are no images to replace. You can either replace the textbuttons with your own imagebuttons or define the background of the textbuttons with your own backgrounds (or make imagebuttons with text in the foreground).
All the images related to bars are by default in "gui/bar".
- Matalla
- Veteran
- Posts: 202
- Joined: Wed Mar 06, 2019 6:22 pm
- Completed: Max Power and the Egyptian Beetle Case, The Candidate, The Last Hope, El cajón del viejo escritorio, Clementina y la luna roja, Caught in Orbit, Dirty Business Ep 0, Medianoche de nuevo, The Lost Smile
- itch: matalla-interactive
- Location: Spain
- Contact:
Re: How do I change the quick menu idle and hover images?
Under the quick menu screen in screens.rpy should be the style definitions for it.
So, locate
Code: Select all
screen quick_menu():
Code: Select all
style quick_button:
properties gui.button_properties("quick_button")
Code: Select all
style quick_button:
properties gui.button_properties("quick_button")
idle_background "gui/button/bt_qm_idle.png"
hover_background "gui/button/bt_qm_hover.png"
With the style inspector is easy to find the style you want to modify; put the mouse over the element you want to change and press Shift+i, there you can see the stile applied to it. Search for its definition and add or modify the properties. Here you can find what properties can be applied to every element:
https://www.renpy.org/doc/html/style_properties.html
Who is online
Users browsing this forum: No registered users