I want for the preferences quick menu button to appear when the ghost is. It's essentially an img button. How do I do this?
[SOLVED] How to implement this tricky preferences menu?
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.
-
- Regular
- Posts: 137
- Joined: Mon Sep 09, 2019 10:31 am
- Completed: re:shape, Monster Boys Doctor, Hearts and Hexes, The Prince's Heart, Dragon Gazer
- Projects: Motifs, Longing for Change, The Sinking of the Dream Chaser, Town of the Damned, Monster Boy Wars
- Organization: Funigami
- itch: funigami
- Discord: alexei#5190
- Contact:
[SOLVED] How to implement this tricky preferences menu?
Last edited by alexei on Sat Sep 11, 2021 4:42 pm, edited 1 time in total.
-
- Miko-Class Veteran
- Posts: 793
- Joined: Fri Feb 09, 2018 12:05 am
- Location: Canada
- Contact:
Re: How to implement this tricky preferences menu?
you would do it this way
Code: Select all
imagebutton:
ypos 0
xpos 0
idle "image/your_image.png"
hover "image/your_image.png"
action ShowMenu("preferences") or Show("preferences")
-
- Regular
- Posts: 137
- Joined: Mon Sep 09, 2019 10:31 am
- Completed: re:shape, Monster Boys Doctor, Hearts and Hexes, The Prince's Heart, Dragon Gazer
- Projects: Motifs, Longing for Change, The Sinking of the Dream Chaser, Town of the Damned, Monster Boy Wars
- Organization: Funigami
- itch: funigami
- Discord: alexei#5190
- Contact:
Re: How to implement this tricky preferences menu?
ok, so I found the solution. I know how to implement img buttons, my question was referring as to where to place the preferences menu.
What I did was to remove the preferences text button from the quick menu screen and created an img button within the textbox screen. Then I just aligned it properly and it worked.
What I did was to remove the preferences text button from the quick menu screen and created an img button within the textbox screen. Then I just aligned it properly and it worked.
Who is online
Users browsing this forum: Ocelot