So, if I have a couple of buttons on the side of my text box...
like so...
and I wanted to make those buttons work as the save and quit buttons and also get rid of the default ones, how would I do that...
I've looked everywhere and I just cant seem to find an answer
Help would be greatly appreciated
thank you...
Custom save buttons?
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.
-
- Lemma-Class Veteran
- Posts: 2299
- Joined: Mon Feb 06, 2012 9:50 pm
- Completed: Icebound, Selenon Rising Ep. 1-2
- Projects: Selenon Rising Ep. 3-4
- Organization: Fastermind Games
- Deviantart: sundownkid
- Location: NYC
- Contact:
Re: Custom save buttons?
That would be moving the buttons from the navigation bar to the screen itself. The easiest way would be to edit the "quick_menu" screen and add imagebuttons that do the same thing as the save and quit buttons from navigation.
However, I would probably just use the quick save/load buttons and make them more prominent, and add a second quit button. That way the navigation bar won't have any stuff confusingly missing.
However, I would probably just use the quick save/load buttons and make them more prominent, and add a second quit button. That way the navigation bar won't have any stuff confusingly missing.
Re: Custom save buttons?
edit your screens.rpy, kinda like
thats example on how i have custom buttons in my textbox.
and i think you will have to change the hbox to vbox. and manage the xalign and yalign based on the size of your textbox.
hope this helps
Code: Select all
screen quick_menu:
# Add an in-game quick menu.
hbox:
style_group "quick"
xalign 0.995
yalign 1.0
imagebutton:
idle "assets/pictures/save_idle.jpg"
hover "assets/pictures/save_hover.jpg"
action ShowMenu('save')
and i think you will have to change the hbox to vbox. and manage the xalign and yalign based on the size of your textbox.
hope this helps
I'm epic noob!
Who is online
Users browsing this forum: No registered users