Friendship or Love?
Ok so I am doing this basically to "Learn" everything.
The story is simple. Amelia and Daniel have been friends for a very, very long time. But he vanished while they were children, the story is about her trying to find out the secret and also what he's hiding. She also has to deal with wondering why he is acting so strange when a new person shows interest in her.
Everything runs smoothly but it goes into repeat mode when I choose to Ask him in the second part. If I choose Don't ask now, it goes how it should into the bedroom scene of the next day. HELP! I really want to keep working on this later today!
I will post the original and post another WITH marking in red where my problems are.
Code: Select all
# You can place the script of your game in this file.
# Declare images below this line, using the image statement.
# eg. image eileen happy = "eileen_happy.png"
image daniel normal= "daniel-normal.png"
image daniel happy= "daniel-happy.png"
image daniel blush= "daniel-blush.png"
image daniel blush2= "daniel-blush2.png"
image daniel suspect= "daniel-suspicious.png"
image daniel suspect2= "dainel-suspicious2.png"
image daniel angry= "daniel-angry.png"
image daniel annoyed= "daniel-annoyed.png"
image daniel contemplate= "daniel-contemplate.png"
image forest day= "forestbgday.png"
image fountain day= "fountain-day.jpg"
image Tea Shop= "Tea-shop.png"
image bedroom day= "bedroom-day.png"
# Declare characters used by this game.
define M = Character('Daniel', color="#c8ffc8")
# The game starts here.
label start:
scene forest day
with dissolve
with dissolve
"Amelia" "Hi everyone! My name is Amelia, today it is pretty slow!"
"Amelia" "I really wish I had someone to spend time with though..."
"I wonder if Daniel is around..."
"Amelia" "Daniel is my closest friend in the whole world..."
"He's really cute too."
show daniel normal at left
with dissolve
M "Hey Amelia, You're up to something aren't you?"
"He got me, he always seems to know"
show daniel happy at left
M " I always know when these things are going on..."
"He sure does...hm"
M "So, Amelia what did you do today?"
"Amelia" "I met some new friends, I wanted to introduce you to them!"
show daniel blush2 at left
M "Introduce myself?? To who?!"
"Oh dear, he's getting embarrassed..."
show daniel blush at left
M "Amelia I swear...ok what do you need?"
"Amelia" "Well I thought you could help me out is all...I'm sorry..."
"I feel really bad for making him upset"
show daniel suspect at left
M "So exactly what I am supposed to do?"
"Amelia" "Just stand there...for a moment and smile at them?"
M "I guess it won't hurt..."
"Amelia" "Really? You'll help!?"
show daniel annoyed at left
M "... ... ..."
M "... ... ..."
M "... ... ..."
"Amelia" "Well?"
show daniel happy at left
M "Sure, why not? You really are strange..."
"Amelia" "Thanks Daniel! It will really help me later on!"
show daniel happy at left
M "Like I said, no problem, what are friends for? it's not today is it?"
"Well I am happy he decided to help!"
"Amelia" "No it isn't today Daniel"
"Amelia" "So Daniel, what do you want to do?"
show daniel contemplate at left
M "..."
M "...Hmmm, what to do?"
show daniel normal at left
M "Well Ammy-"
"I hate when he calls me that..."
M "Well we can have tea, at the shop by that fountain you like...do you want to?"
"Tea sounds so lovely...should I say yes?"
menu:
with dissolve
"Yes.":
jump choice_yes
"On second thought...":
jump choice_no
label choice_yes:
$ menu_flag= True
show daniel normal at left
"Amelia""Daniel I would love to get tea with you!"
show daniel happy at left
M "Fantastic! Let's get going! I will meet you there I have to stop by home first.."
M "How about we meet up at 5? I'll see you there!"
"I love when he smiles like that..."
jump choice_done
label choice_no:
$ menu_flag= False
"Amelia" "Sorry Danny, I just remembered..."
"Amelia" "I have to show my friends the gardens today!"
show daniel annoyed at left
M "Awe, well that sucks..."
show daniel contemplate at left
M "well if you have to, maybe I'll see you there?"
jump choice_done
label choice_done:
if menu_flag:
scene black
with dissolve
scene fountain day
with dissolve
"I love the fountain, it's so beautiful..."
"I wonder where Daniel is..."
with vpunch
"Amelia""Ouch!"
"I spun around to see what I had bumped into"
show daniel blush2
with dissolve
M "Ammy, oh, are you alright?!"
show daniel blush
M "Awe, I'm so sorry I didn't mean to run into you!"
M "I thought I was going to be late..."
show daniel happy
"He shuffles his feet, awe poor thing!"
"Amelia"" Daniel don't worry it's ok!"
scene Tea Shop
with dissolve
"The tea shop smells wonderful!"
show daniel normal
with dissolve
M "Hey Ammy, I got you some of your favorite chocolate!"
"He looks so happy, I start to wonder"
"He hasn't always looked happy for a while, I wonder what happened..."
"Daniel went away for a while when we started middle school, but..."
"He came back..."
with vpunch
show daniel happy
"I am startled out of my thoughts by him ruffling my hair"
M "Ammy Girl? What's wrong?"
show daniel happy
"Amelia""Nothing Danny!...nothing..."
show daniel suspect
"Daniel looks at me with suscpision, he should. I have so many questions!"
"Amelia""Danny?"
show daniel normal
M "Yes Ammy?"
"Should I ask him? Or let it be?"
menu:
"Ask Daniel":
jump choice_ask
"Don't Ask Now":
jump choice_Dont
label choice_ask:
$ menu_flag= True
show daniel normal
"I am going to ask...it'can't hurt"
"Amelia" "Danny?"
M "Yes Ammy Girl?"
"Amelia""Where did you go?"
M "What do you mean? I haven't gone anywhere lately..."
show daniel suspect
"Amelia" "When we were younger...where did you go?"
show daniel angry
M "Ammy Girl, I really don't feel like talking about that on sucha nice day..."
show daniel contemplate
"Amelia" "But!"
show daniel annoyed
M "Ammy..."
show daniel happy
"Amelia" "Will you ever tell me?"
M "Perhaps...now enjoy your tea or it will get cold!"
jump choice_done
label choice_Dont:
$ menu_flag= False
M "So what is it?"
"Amelia" "Oh, I just enjoy spending time with you..."
show daniel happy
show daniel blush2
"I really like spending time with you too Ammy Girl..."
show daniel happy
jump choice_done
"We ended the day with a warm cup of tea, time to go home!"
show daniel normal
M "Bye Ammy."
"Amelia""Bye Danny!"
else:
scene black
with dissolve
scene fountain day
with dissolve
"I showed my friends the gardens and found my way back to the fountain."
"Daniel and I loved sitting here as kids eating chocolates from the Tea Shop..."
"Unknown" "Hey...I figured you'd be here...So I waited!"
show daniel happy
with dissolve
"Amelia" "Danny!"
M "Come on Ammy, come have tea with me..."
scene Tea Shop
with dissolve
"The tea shop smells wonderful!"
show daniel normal
with dissolve
M "Hey Ammy, I got you some of our favorite chocolate!"
"He looks so happy, I start to wonder"
"He hasn't always looked happy for a while, I wonder what happened..."
"Daniel went away for a while when we started middle school, but..."
"He came back..."
with vpunch
show daniel happy
"I am startled out of my thoughts by him ruffling my hair"
M "Ammy Girl? What's wrong?"
show daniel happy
"Amelia""Nothing Danny!...nothing..."
"We ended the day with a warm cup of tea, time to go home!"
show daniel normal
M "Bye Ammy."
"Amelia""Bye Danny!"
scene bedroom day
with dissolve
"Mother""Amelia dear! Wake up!"
"Wha? What is it?!"
"My mother is outside of my room"
"Mother" "It's Danny, he's in the sitting room!"
"Aemlia" "What!? Mom I'm not even DRESSED!"
return
My problem is.
Code: Select all
menu:
with dissolve
"Yes.":
jump choice_yes
"On second thought...":
jump choice_no
label choice_yes:
$ menu_flag= True
show daniel normal at left
"Amelia""Daniel I would love to get tea with you!"
show daniel happy at left
M "Fantastic! Let's get going! I will meet you there I have to stop by home first.."
M "How about we meet up at 5? I'll see you there!"
"I love when he smiles like that..."
jump choice_done
label choice_no:
$ menu_flag= False
"Amelia" "Sorry Danny, I just remembered..."
"Amelia" "I have to show my friends the gardens today!"
show daniel annoyed at left
M "Awe, well that sucks..."
show daniel contemplate at left
M "well if you have to, maybe I'll see you there?"
jump choice_done
label choice_done:
if menu_flag:
scene black
with dissolve
scene fountain day
with dissolve
"I love the fountain, it's so beautiful..."
"I wonder where Daniel is..."
with vpunch
"Amelia""Ouch!"
"I spun around to see what I had bumped into"
show daniel blush2
with dissolve
M "Ammy, oh, are you alright?!"
show daniel blush
M "Awe, I'm so sorry I didn't mean to run into you!"
M "I thought I was going to be late..."
show daniel happy
"He shuffles his feet, awe poor thing!"
"Amelia"" Daniel don't worry it's ok!"
scene Tea Shop
with dissolve
"The tea shop smells wonderful!"
show daniel normal
with dissolve
M "Hey Ammy, I got you some of your favorite chocolate!"
"He looks so happy, I start to wonder"
"He hasn't always looked happy for a while, I wonder what happened..."
"Daniel went away for a while when we started middle school, but..."
"He came back..."
with vpunch
show daniel happy
"I am startled out of my thoughts by him ruffling my hair"
M "Ammy Girl? What's wrong?"
show daniel happy
"Amelia""Nothing Danny!...nothing..."
show daniel suspect
"Daniel looks at me with suscpision, he should. I have so many questions!"
"Amelia""Danny?"
show daniel normal
M "Yes Ammy?"
"Should I ask him? Or let it be?"
menu:
"Ask Daniel":
jump choice_ask
"Don't Ask Now":
jump choice_Dont
label choice_ask:
$ menu_flag= True
show daniel normal
"I am going to ask...it'can't hurt"
"Amelia" "Danny?"
M "Yes Ammy Girl?"
"Amelia""Where did you go?"
M "What do you mean? I haven't gone anywhere lately..."
show daniel suspect
"Amelia" "When we were younger...where did you go?"
show daniel angry
M "Ammy Girl, I really don't feel like talking about that on sucha nice day..."
show daniel contemplate
"Amelia" "But!"
show daniel annoyed
M "Ammy..."
show daniel happy
"Amelia" "Will you ever tell me?"
M "Perhaps...now enjoy your tea or it will get cold!"
jump choice_done
label choice_Dont:
$ menu_flag= False
M "So what is it?"
"Amelia" "Oh, I just enjoy spending time with you..."
show daniel happy
show daniel blush2
"I really like spending time with you too Ammy Girl..."
show daniel happy
jump choice_done
"We ended the day with a warm cup of tea, time to go home!"
show daniel normal
M "Bye Ammy."
"Amelia""Bye Danny!"
Right here is where I run into a problem it just repeats over, and over and over and over again instead of going to the next day in her bedroom
THIS SHOULD BE THE RESULT AFTER CHOOSING TO NOT GO TO TEA AT FIRST
else:
scene black
with dissolve
scene fountain day
with dissolve
"I showed my friends the gardens and found my way back to the fountain."
"Daniel and I loved sitting here as kids eating chocolates from the Tea Shop..."
"Unknown" "Hey...I figured you'd be here...So I waited!"
show daniel happy
with dissolve
"Amelia" "Danny!"
M "Come on Ammy, come have tea with me..."
scene Tea Shop
with dissolve
"The tea shop smells wonderful!"
show daniel normal
with dissolve
M "Hey Ammy, I got you some of our favorite chocolate!"
"He looks so happy, I start to wonder"
"He hasn't always looked happy for a while, I wonder what happened..."
"Daniel went away for a while when we started middle school, but..."
"He came back..."
with vpunch
show daniel happy
"I am startled out of my thoughts by him ruffling my hair"
M "Ammy Girl? What's wrong?"
show daniel happy
"Amelia""Nothing Danny!...nothing..."
"We ended the day with a warm cup of tea, time to go home!"
show daniel normal
M "Bye Ammy."
"Amelia""Bye Danny!"
THIS IS SUPPOSED TO BE THE NEXT DAY
scene bedroom day
with dissolve
"Mother""Amelia dear! Wake up!"
"Wha? What is it?!"
"My mother is outside of my room"
"Mother" "It's Danny, he's in the sitting room!"
"Aemlia" "What!? Mom I'm not even DRESSED!"
It all works TILL I choose to "Ask" and then it just repeats instead of going to the next day...Any advice would be great I am working on my backgrounds tomorrow Woohoo! I am also working on a "Mirror" background so people can see what Amelia looks like as she gets ready in the morning. That way I can figure out placement on Ren'Py.
Wish me luck!