[SOLVED!] How to add unlockable bonus / epilogue scenes

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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.
Post Reply
Message
Author
User avatar
ppppantsu
Veteran
Posts: 226
Joined: Fri Jan 24, 2014 7:14 am
Completed: Haruman, DMMd Fan VN, Fetish 1.0, Fetish: ESC, Colors~AU~, Fetish: Wanted, Incolore
itch: soraille
Location: Philippines
Contact:

[SOLVED!] How to add unlockable bonus / epilogue scenes

#1 Post by ppppantsu »

EDIT: THANK YOU VERY MUCH!

I'm sorry if this has already been asked but I searched and I can't seem to find what I'm looking for so... :oops:
If similar threads are already existing, please do link me though. :oops:

I want to add an unlockable scene / epilogue after getting an ending. Not a replay, but a new scene.

Is it possible to do this??
Last edited by ppppantsu on Fri Oct 10, 2014 2:24 am, edited 1 time in total.

User avatar
Kia
Eileen-Class Veteran
Posts: 1040
Joined: Fri Aug 01, 2014 7:49 am
Deviantart: KiaAzad
Discord: Kia#6810
Contact:

Re: How to add unlockable bonus / epilogue scenes

#2 Post by Kia »

Code: Select all

define unlockedLevel=False
#somewhere else
e "and that was the end"
$ unlockedLevel=True
#another place
if unlockedLevel=True:
    jump bonusLevel
should be pretty easy :mrgreen:

User avatar
meiri
Regular
Posts: 177
Joined: Wed Jun 25, 2014 6:21 pm
Projects: Tutor Tabitha, Movement
Organization: Blue Bottlecap Games
Location: East Coast, US
Contact:

Re: How to add unlockable bonus / epilogue scenes

#3 Post by meiri »

In reference to what b3vad said, itd probably be better to use persistent variables for this, so that they'd last even once the player goes back to main menu.
http://www.renpy.org/doc/html/persistent.html
http://lemmasoft.renai.us/forums/viewto ... =8&t=28729
What's in a loop? A loop iterated in any other way would output as sweet.
--
Have a look at my GxG kinetic novel, Movement, if you have the chance?

User avatar
ppppantsu
Veteran
Posts: 226
Joined: Fri Jan 24, 2014 7:14 am
Completed: Haruman, DMMd Fan VN, Fetish 1.0, Fetish: ESC, Colors~AU~, Fetish: Wanted, Incolore
itch: soraille
Location: Philippines
Contact:

Re: How to add unlockable bonus / epilogue scenes

#4 Post by ppppantsu »

b3vad wrote:

Code: Select all

define unlockedLevel=False
#somewhere else
e "and that was the end"
$ unlockedLevel=True
#another place
if unlockedLevel=True:
    jump bonusLevel
should be pretty easy :mrgreen:
meiri wrote:In reference to what b3vad said, itd probably be better to use persistent variables for this, so that they'd last even once the player goes back to main menu.
http://www.renpy.org/doc/html/persistent.html
http://lemmasoft.renai.us/forums/viewto ... =8&t=28729
THANK YOU VERY MUCH FOR RESPONDING! Q AQ
I'll try them all and see what happens. >w< )
:oops:

Post Reply

Who is online

Users browsing this forum: Bing [Bot]