Trouble with choices / new endings
Posted: Wed Nov 22, 2017 4:08 pm
I've managed to implement choices but there's a problem, when one plays it will immediately play the other choice once finished with the first choice [unless it's the second / bottom choice in which case it moves on 'naturally]
Also i've been wanting to implement 'end' scenarios, which would end the game early. I've tried using the 'return' for this but it only skips to the first poem, is there a way to make it so one 'return' will continue while another will end the game if you pick the choice associated with it?
The idea is for the player to be presented with the choices and then in the end lead on to the bg / next part but the choices will read one after another [if you pick choice one it will read through that then start playing choice 2...]
I'm also having trouble figuring out how to make an early 'bad end' which would take you back to the main menu, since return in this case takes you to the next poem in the game
-----------------------
label ch0_main: stop music fadeout 2.0 scene bg residential_day with dissolve_scene_full play music t2
s "Heeeeeeeyyy!!"
"I see an annoying girl running toward me from the distance, waving her arms in the air like she's totally
oblivious to any attention she might draw to herself."
"That girl is Sayori, my neighbor and good friend since we were children."
"You know, the kind of friend you'd never see yourself making today, but it just kind of works out because
you've known each other for so long?"
"We used to walk to school together on days like this, but starting around high school she would oversleep more
and more frequently, and I would get tired of waiting up."
$ s_name = "Sayori"
menu:
"But if she's going to chase after me like this, I almost feel better off running away..."
"Run Away":
$ sayori_bulli = True
hide black with dissolve_cg
call ch0_bulli_yes
"Wait for her":
$ sayori_bulli = False
hide black with dissolve_cg
call ch0_bulli_no
return
label ch0_bulli_no:
"However, I just sigh and idle in front of the crosswalk and let Sayori catch up to me."
show sayori 4p at t11 zorder 2
s 4p "Haaahhh...haaahhh..."
s "I overslept again!"
s "But I caught you this time!"
mc "Maybe, but only because I decided to stop and wait for you."
show sayori at s11
s 5c "Eeehhhhh, you say that like you were thinking about ignoring me!"
s "That's mean, [player]!"
mc "Well, if people stare at you for acting weird then I don't want them to think we're a couple or something."
show sayori at t11 zorder 2
s 1a "Fine, fine."
s "But you did wait for me, after all."
s "I guess you don't have it in you to be mean even if you want to~"
mc "Whatever you say, Sayori..."
s 1q "Ehehe~"
show sayori at thide zorder 1
hide sayori
"We cross the street together and make our way to school."
"As we draw near, the streets become increasingly speckled with other students making their daily commute."
show sayori 3a at t11 zorder 2
s "By the way, [player]..."
s "Have you decided on a club to join yet?"
mc "A club?"
mc "I told you already, I'm really not interested in joining any clubs."
mc "I haven't been looking, either."
show sayori at s11
s 4h "Eh? That's not true!"
s "You told me you would join a club this year!"
mc "Did I...?"
"I'm sure it's possible that I did, in one of our many conversations where I dismissively go along with whatever
she's going on about."
"Sayori likes to worry a little too much about me, when I'm perfectly content just getting by on the average
while spending my free time on games and anime."
s 4j "Uh-huh!"
s "I was talking about how I'm worried that you won't learn how to socialize or have any skills before college."
s "Your happiness is really important to me, you know!"
s "And I know you're happy now, but I'd die at the thought of you becoming a NEET in a few years because
you're not used to the real world!"
s 4g "You trust me, right?"
s "Don't make me keep worrying about you..."
mc "Alright, alright..."
mc "I'll look at a few clubs if it makes you happy."
mc "No promises, though."
s 1h "Will you at least promise me you'll try a little?"
mc "Yeah, I guess I'll promise you that."
show sayori at t11 zorder 2
s 4r "Yaay~!"
"Why do I let myself get lectured by such a carefree girl?"
"More than that, I'm surprised I even let myself relent to her."
"I guess seeing her worry so much about me makes me want to ease her mind at least a little bit - even if she
does exaggerate everything inside of her head."
label ch0_bulli_yes:
"Does she even know how embarrassing she looks? If anyone saw her running towards me like that they might
think we're a couple..."
"I don't want anyone getting the wrong idea, so i make a break for it sprinting down the street"
s "Hey! W-wait up!"
"Her voice begins to fade as my feet carry me further down the pavement, no doubt she's still chasing after
me..."
s "[player]!"
"Even this far apart i can hear the exhaustion in her voice... If i keep going there's no way she'll catch me."
menu:
"Can i really leave her alone like this?"
"Yes i can, Run and leave her":
$ sayori_bulli1 = True
hide black with dissolve_cg
call ch0_bulli1_yes
"No i can't, i'll wait for her":
$ sayori_bulli1 = False
hide black with dissolve_cg
call ch0_bulli1_no
return
label ch0_bulli1_no:
"No i can't just leave her all alone..."
"It's not like it's a long walk but it just wouldn't be right going to school without her"
"By the time she's caught up to me she is clearly exhausted, not like either of us are in perfect shape..."
show sayori 4p at t11 zorder 2
s 4p "aahhh...aaahhh..."
s "I've ... Haah ... Got ... Ah ... Y-you!"
mc "Maybe, but only because I decided to stop and wait for you."
show sayori at s11
s 5c "Eeehhhhh, you ... say that ... like you were really ... aaahh ... thinking about up and leaving me!"
s "That's so mean, [player]!"
mc "Well, if people stare at you for acting weird then I don't want them to think we're a couple or something."
show sayori at t11 zorder 2
s 1a "Fine, fine."
s "But you did wait for me, after all."
s "I guess you don't have it in you to be mean even if you want to~"
mc "Whatever you say, Sayori..."
s 1q "Ehehe~"
show sayori at thide zorder 1
hide sayori
"We cross the street together and make our way to school."
"As we draw near, the streets become increasingly speckled with other students making their daily commute."
show sayori 3a at t11 zorder 2
s "By the way, [player]..."
s "Have you decided on a club to join yet?"
mc "A club?"
mc "I told you already, I'm really not interested in joining any clubs."
mc "I haven't been looking, either."
show sayori at s11
s 4h "Eh? That's not true!"
s "You told me you would join a club this year!"
mc "Did I...?"
"I'm sure it's possible that I did, in one of our many conversations where I dismissively go along with whatever
she's going on about."
"Sayori likes to worry a little too much about me, when I'm perfectly content just getting by on the average
while spending my free time on games and anime."
s 4j "Uh-huh!"
s "I was talking about how I'm worried that you won't learn how to socialize or have any skills before college."
s "Your happiness is really important to me, you know!"
s "And I know you're happy now, but I'd die at the thought of you becoming a NEET in a few years because
you're not used to the real world!"
s 4g "You trust me, right?"
s "Don't make me keep worrying about you..."
mc "Alright, alright..."
mc "I'll look at a few clubs if it makes you happy."
mc "No promises, though."
s 1h "Will you at least promise me you'll try a little?"
mc "Yeah, I guess I'll promise you that."
show sayori at t11 zorder 2
s 4r "Yaay~!"
"Why do I let myself get lectured by such a carefree girl?"
"More than that, I'm surprised I even let myself relent to her."
"I guess seeing her worry so much about me makes me want to ease her mind at least a little bit - even if she
does exaggerate everything inside of her head."
label ch0_bulli1_yes:
"We walk together every day, one morning alone won't hurt"
"Besides it's not like she'll hold a grudge, that's not like her. She'll still be the same silly happy Sayori she's
always been"
"Without losing my stride i continue on down the path, turning the corner at the end of the road towards the
school..."
"Was leaving her the right thing to do? Was it too mean? ... No it's just some harmless fun. Besides she
shouldn't have ran at me like an idiot"
scene bg class_day
with wipeleft_scene
Also i've been wanting to implement 'end' scenarios, which would end the game early. I've tried using the 'return' for this but it only skips to the first poem, is there a way to make it so one 'return' will continue while another will end the game if you pick the choice associated with it?
The idea is for the player to be presented with the choices and then in the end lead on to the bg / next part but the choices will read one after another [if you pick choice one it will read through that then start playing choice 2...]
I'm also having trouble figuring out how to make an early 'bad end' which would take you back to the main menu, since return in this case takes you to the next poem in the game
-----------------------
label ch0_main: stop music fadeout 2.0 scene bg residential_day with dissolve_scene_full play music t2
s "Heeeeeeeyyy!!"
"I see an annoying girl running toward me from the distance, waving her arms in the air like she's totally
oblivious to any attention she might draw to herself."
"That girl is Sayori, my neighbor and good friend since we were children."
"You know, the kind of friend you'd never see yourself making today, but it just kind of works out because
you've known each other for so long?"
"We used to walk to school together on days like this, but starting around high school she would oversleep more
and more frequently, and I would get tired of waiting up."
$ s_name = "Sayori"
menu:
"But if she's going to chase after me like this, I almost feel better off running away..."
"Run Away":
$ sayori_bulli = True
hide black with dissolve_cg
call ch0_bulli_yes
"Wait for her":
$ sayori_bulli = False
hide black with dissolve_cg
call ch0_bulli_no
return
label ch0_bulli_no:
"However, I just sigh and idle in front of the crosswalk and let Sayori catch up to me."
show sayori 4p at t11 zorder 2
s 4p "Haaahhh...haaahhh..."
s "I overslept again!"
s "But I caught you this time!"
mc "Maybe, but only because I decided to stop and wait for you."
show sayori at s11
s 5c "Eeehhhhh, you say that like you were thinking about ignoring me!"
s "That's mean, [player]!"
mc "Well, if people stare at you for acting weird then I don't want them to think we're a couple or something."
show sayori at t11 zorder 2
s 1a "Fine, fine."
s "But you did wait for me, after all."
s "I guess you don't have it in you to be mean even if you want to~"
mc "Whatever you say, Sayori..."
s 1q "Ehehe~"
show sayori at thide zorder 1
hide sayori
"We cross the street together and make our way to school."
"As we draw near, the streets become increasingly speckled with other students making their daily commute."
show sayori 3a at t11 zorder 2
s "By the way, [player]..."
s "Have you decided on a club to join yet?"
mc "A club?"
mc "I told you already, I'm really not interested in joining any clubs."
mc "I haven't been looking, either."
show sayori at s11
s 4h "Eh? That's not true!"
s "You told me you would join a club this year!"
mc "Did I...?"
"I'm sure it's possible that I did, in one of our many conversations where I dismissively go along with whatever
she's going on about."
"Sayori likes to worry a little too much about me, when I'm perfectly content just getting by on the average
while spending my free time on games and anime."
s 4j "Uh-huh!"
s "I was talking about how I'm worried that you won't learn how to socialize or have any skills before college."
s "Your happiness is really important to me, you know!"
s "And I know you're happy now, but I'd die at the thought of you becoming a NEET in a few years because
you're not used to the real world!"
s 4g "You trust me, right?"
s "Don't make me keep worrying about you..."
mc "Alright, alright..."
mc "I'll look at a few clubs if it makes you happy."
mc "No promises, though."
s 1h "Will you at least promise me you'll try a little?"
mc "Yeah, I guess I'll promise you that."
show sayori at t11 zorder 2
s 4r "Yaay~!"
"Why do I let myself get lectured by such a carefree girl?"
"More than that, I'm surprised I even let myself relent to her."
"I guess seeing her worry so much about me makes me want to ease her mind at least a little bit - even if she
does exaggerate everything inside of her head."
label ch0_bulli_yes:
"Does she even know how embarrassing she looks? If anyone saw her running towards me like that they might
think we're a couple..."
"I don't want anyone getting the wrong idea, so i make a break for it sprinting down the street"
s "Hey! W-wait up!"
"Her voice begins to fade as my feet carry me further down the pavement, no doubt she's still chasing after
me..."
s "[player]!"
"Even this far apart i can hear the exhaustion in her voice... If i keep going there's no way she'll catch me."
menu:
"Can i really leave her alone like this?"
"Yes i can, Run and leave her":
$ sayori_bulli1 = True
hide black with dissolve_cg
call ch0_bulli1_yes
"No i can't, i'll wait for her":
$ sayori_bulli1 = False
hide black with dissolve_cg
call ch0_bulli1_no
return
label ch0_bulli1_no:
"No i can't just leave her all alone..."
"It's not like it's a long walk but it just wouldn't be right going to school without her"
"By the time she's caught up to me she is clearly exhausted, not like either of us are in perfect shape..."
show sayori 4p at t11 zorder 2
s 4p "aahhh...aaahhh..."
s "I've ... Haah ... Got ... Ah ... Y-you!"
mc "Maybe, but only because I decided to stop and wait for you."
show sayori at s11
s 5c "Eeehhhhh, you ... say that ... like you were really ... aaahh ... thinking about up and leaving me!"
s "That's so mean, [player]!"
mc "Well, if people stare at you for acting weird then I don't want them to think we're a couple or something."
show sayori at t11 zorder 2
s 1a "Fine, fine."
s "But you did wait for me, after all."
s "I guess you don't have it in you to be mean even if you want to~"
mc "Whatever you say, Sayori..."
s 1q "Ehehe~"
show sayori at thide zorder 1
hide sayori
"We cross the street together and make our way to school."
"As we draw near, the streets become increasingly speckled with other students making their daily commute."
show sayori 3a at t11 zorder 2
s "By the way, [player]..."
s "Have you decided on a club to join yet?"
mc "A club?"
mc "I told you already, I'm really not interested in joining any clubs."
mc "I haven't been looking, either."
show sayori at s11
s 4h "Eh? That's not true!"
s "You told me you would join a club this year!"
mc "Did I...?"
"I'm sure it's possible that I did, in one of our many conversations where I dismissively go along with whatever
she's going on about."
"Sayori likes to worry a little too much about me, when I'm perfectly content just getting by on the average
while spending my free time on games and anime."
s 4j "Uh-huh!"
s "I was talking about how I'm worried that you won't learn how to socialize or have any skills before college."
s "Your happiness is really important to me, you know!"
s "And I know you're happy now, but I'd die at the thought of you becoming a NEET in a few years because
you're not used to the real world!"
s 4g "You trust me, right?"
s "Don't make me keep worrying about you..."
mc "Alright, alright..."
mc "I'll look at a few clubs if it makes you happy."
mc "No promises, though."
s 1h "Will you at least promise me you'll try a little?"
mc "Yeah, I guess I'll promise you that."
show sayori at t11 zorder 2
s 4r "Yaay~!"
"Why do I let myself get lectured by such a carefree girl?"
"More than that, I'm surprised I even let myself relent to her."
"I guess seeing her worry so much about me makes me want to ease her mind at least a little bit - even if she
does exaggerate everything inside of her head."
label ch0_bulli1_yes:
"We walk together every day, one morning alone won't hurt"
"Besides it's not like she'll hold a grudge, that's not like her. She'll still be the same silly happy Sayori she's
always been"
"Without losing my stride i continue on down the path, turning the corner at the end of the road towards the
school..."
"Was leaving her the right thing to do? Was it too mean? ... No it's just some harmless fun. Besides she
shouldn't have ran at me like an idiot"
scene bg class_day
with wipeleft_scene