How to Make an 'Extra Scene' Gallery?
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.
-
- Veteran
- Posts: 241
- Joined: Tue Feb 20, 2018 12:59 pm
- Completed: Through the Screen, Riddle Me This, Trust Fall, Phobias, Another Adventure
- Projects: The Souls in the Seams, Fata Morgana, Minecraft: Story Mode - Behind the Scenes
- Organization: Astral Autumn Games
- Tumblr: astralautumngames
- Deviantart: ArizaLuca
- itch: astralautumngames
- Contact:
How to Make an 'Extra Scene' Gallery?
I know there's like image galleries, music rooms, and other things like that, but I want to make a gallery where you can unlock extra scenes, like the ones in Valentine's Otome by Synokoria... does anybody have any idea how to do that? Thanks.
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3791
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: How to Make an 'Extra Scene' Gallery?
make a screen with links to each 'chapter'
(very basic)example using three different actions:
Don't forget to include a button in your navigation. Something like:
Or you could make it so the entire screen isn't available until the game is completed:
If you take this route, I suggest editing this bit:
to this:
(very basic)example using three different actions:
Code: Select all
screen extras():
if persistent.end:
vbox:
textbutton _("Secret after ending scene 01") action Start("secret_01")
textbutton _("Secret after ending scene 02") action Jump("secret_02")
textbutton _("Secret after ending scene 03") action Call("secret_03")
else:
vbox:
null
null
null
# the else bit isn't strictly necessary, but it helps keep formatting if you have other objects styled based on position of other things within the screen.
default persistent.end = False
label start:
e "This story is kinda short..."
$ persistent.end = True
return
label secret_01:
e "Oh wait, hello again."
return
label secret_02:
e "Really, stop with the super short chat."
return
label secret_03:
e "Alright, thats it. I'v had enough, no more extra endings for you."
reurn
Code: Select all
textbutton _("Bonus Scenes") action ShowMenu("extras")
Code: Select all
if persistent.end:
textbutton _("Bonus Scenes") action ShowMenu("extras")
Code: Select all
screen extras():
if persistent.end:
vbox:
textbutton _("Secret after ending scene 01") action Start("secret_01")
textbutton _("Secret after ending scene 02") action Jump("secret_02")
textbutton _("Secret after ending scene 03") action Call("secret_03")
else:
vbox:
null
null
null
Code: Select all
screen extras():
vbox:
textbutton _("Secret after ending scene 01") action Start("secret_01")
textbutton _("Secret after ending scene 02") action Jump("secret_02")
textbutton _("Secret after ending scene 03") action Call("secret_03")
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Twitter
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
-
- Veteran
- Posts: 241
- Joined: Tue Feb 20, 2018 12:59 pm
- Completed: Through the Screen, Riddle Me This, Trust Fall, Phobias, Another Adventure
- Projects: The Souls in the Seams, Fata Morgana, Minecraft: Story Mode - Behind the Scenes
- Organization: Astral Autumn Games
- Tumblr: astralautumngames
- Deviantart: ArizaLuca
- itch: astralautumngames
- Contact:
Who is online
Users browsing this forum: Ahrefs [Bot], Semrush [Bot]