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.
-
jory014
- Regular
- Posts: 80
- Joined: Fri Mar 18, 2011 6:13 am
- Projects: Confidant From Darkness (VN), Stand By Me (NaNoRenO 2013)
- Organization: CHILL Brigade
- Location: Manila, Philippines
-
Contact:
#1
Post
by jory014 » Fri Sep 02, 2011 7:46 am
well, I am just wondering... like let's say there like 5 endings and one is a special ending allowing the menu to change, and especially, when they start a new game a new option shows up where they can continue to play the old story or the new route they unlock when they finished that special ending?
I would have searched, but I don't know what to call it... so yeah, please help :/
thanks so much

-
vociferocity
- Regular
- Posts: 93
- Joined: Sat Jun 12, 2010 11:27 am
- Projects: Rogue of Heart, Valkyrie
-
Contact:
#2
Post
by vociferocity » Fri Sep 02, 2011 7:33 pm
what about just having a variable that keeps track of if that special ending's been reached (so, $ specialending = False at the start, $ specialending = True somewhere during the special ending), and right at the start you have an if statement that's something like this: (if specialending = True, menu: "start new game": jump newgame "start new game+": jump newgameplus) and then below that you have obviously label newgame, where the regular new game start is, and label newgameplus, where the special route they've unlocked is. the choice won't show up if they can't access the special route, so it should work.
-
Camille
- Eileen-Class Veteran
- Posts: 1227
- Joined: Sat Apr 23, 2011 2:43 pm
- Completed: Please see http://trash.moe
- Projects: the head well lost
- Organization: L3
- Tumblr: narihira
- Deviantart: crownwaltz
- itch: lore
-
Contact:
#3
Post
by Camille » Fri Sep 02, 2011 8:23 pm
You need to use "persistent variables" for this because they retain their status even after a game has been completed. So I'd make one for your endings and have it set so the main menu changes once one of those variables becomes true, etc.
-
jory014
- Regular
- Posts: 80
- Joined: Fri Mar 18, 2011 6:13 am
- Projects: Confidant From Darkness (VN), Stand By Me (NaNoRenO 2013)
- Organization: CHILL Brigade
- Location: Manila, Philippines
-
Contact:
#4
Post
by jory014 » Sun Sep 04, 2011 10:10 pm
Camille wrote:You need to use "persistent variables" for this because they retain their status even after a game has been completed. So I'd make one for your endings and have it set so the main menu changes once one of those variables becomes true, etc.
Wow, really? then do i need to send you the whole game script then? or just that specific ending?
-
Rewritten Ennui
- Veteran
- Posts: 279
- Joined: Thu Jul 14, 2011 1:50 pm
- Organization: TwinTurtle Games
-
Contact:
#5
Post
by Rewritten Ennui » Sun Sep 04, 2011 10:16 pm
Ever looked at
this page? It should accomplish what you need.
-
jory014
- Regular
- Posts: 80
- Joined: Fri Mar 18, 2011 6:13 am
- Projects: Confidant From Darkness (VN), Stand By Me (NaNoRenO 2013)
- Organization: CHILL Brigade
- Location: Manila, Philippines
-
Contact:
#6
Post
by jory014 » Sun Sep 04, 2011 10:21 pm
vociferocity wrote:what about just having a variable that keeps track of if that special ending's been reached (so, $ specialending = False at the start, $ specialending = True somewhere during the special ending), and right at the start you have an if statement that's something like this: (if specialending = True, menu: "start new game": jump newgame "start new game+": jump newgameplus) and then below that you have obviously label newgame, where the regular new game start is, and label newgameplus, where the special route they've unlocked is. the choice won't show up if they can't access the special route, so it should work.
I somehow didn't get what you mean... as much as I wanted to understand...(I am just a noob..sorry)
But, I'll try to picture it out... so what you're saying is this???
Label Start:
$if special ending=false
label new route_old route:
menu:
"old route"
jump new game
"new route"
jump new game+"
label special ending:
text something
$if special ending= true
return
is that it??? o.o
-
Wright1000
- Miko-Class Veteran
- Posts: 629
- Joined: Thu Mar 31, 2011 10:20 am
- Completed: Finding A Murderer, Memory Loss, Crime Investigation, Stay away from the graveyard, Last Day at School, Lonesome, Email, Hired Gun, Dusk, Hired Gun 2, Man-at-arms, Hired Gun 3, The Phantom Caller, Street Girl, Free love, The Story of Isabel Claudia
-
Contact:
#7
Post
by Wright1000 » Mon Sep 05, 2011 6:09 am
I think it is a bit rude when your programmer already told you that he would do the programming, and you are asking people around.
He who doesn't care about the environment doesn't care about his grandchildren.
-
jory014
- Regular
- Posts: 80
- Joined: Fri Mar 18, 2011 6:13 am
- Projects: Confidant From Darkness (VN), Stand By Me (NaNoRenO 2013)
- Organization: CHILL Brigade
- Location: Manila, Philippines
-
Contact:
#8
Post
by jory014 » Tue Sep 06, 2011 12:39 am
Wright1000 wrote:I think it is a bit rude when your programmer already told you that he would do the programming, and you are asking people around.
i was just curious, I just wanted to learn sorry :p and I also wanted to learn just in case I have members leaving me again. =.= (happened a lot) so yeah, I'm trying to learn in everyway possible. But, I won't ask again regarding that in the forums...
Sorry if I was being rude.
Users browsing this forum: Majestic-12 [Bot]