Hello, I have a question about gallery screen.
I want instead of opening a picture, show a another screen. (Sorry if this sounds dumb....)
( There is little of what I wanted to do )
g.button("01")
if persistent.01=="yes":
*show screen*
So if you unlock and press to this button, you will open a another screen.
This is possible in gallery statement?...
Gallery unlocks screen.
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.
Gallery unlocks screen.
of the people for the people
Re: Gallery unlocks screen.
Your question is impossibly broad. Yes, it's possible. No one's going to write it for you from scratch.
Re: Gallery unlocks screen.
I was not asking to "write from a scratch"
I just don't know which statement I should use for showing screen there.
of the people for the people
- IrinaLazareva
- Veteran
- Posts: 399
- Joined: Wed Jun 08, 2016 1:49 pm
- Projects: Legacy
- Organization: SunShI
- Location: St.Petersburg, Russia
- Contact:
Re: Gallery unlocks screen.
in this case, it is much simpler to use screen's language instead of standard Gallery's function.
https://renpy.org/doc/html/screens.html ... -statement
https://renpy.org/doc/html/screens.html#grid
https://renpy.org/doc/html/screen_actions.html#ShowMenu
https://renpy.org/doc/html/screen_actions.html#If
the sketch:
https://renpy.org/doc/html/screens.html ... -statement
https://renpy.org/doc/html/screens.html#grid
https://renpy.org/doc/html/screen_actions.html#ShowMenu
https://renpy.org/doc/html/screen_actions.html#If
the sketch:
Code: Select all
screen mgallery():
tag gall
#something....
if persistent.endone:
imagebutton idle 'img.png' action ShowMenu('gone')
##etc
screen gone():
tag gall
#whatever
Who is online
Users browsing this forum: Majestic-12 [Bot]