Friendship or Love? The story of Daniel and Amelia

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
Tarebear
Newbie
Posts: 12
Joined: Thu Nov 15, 2012 6:36 am
Contact:

Friendship or Love? The story of Daniel and Amelia

#1 Post by Tarebear »

All backgounds are for a TEMPORARY placement till I get mine finished up.


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!
Attachments
Yay!
Yay!
:D
:D
Another picture
Another picture
Daniel shy because he runs into Amelia
Daniel shy because he runs into Amelia
Last edited by Tarebear on Thu Nov 15, 2012 4:29 pm, edited 1 time in total.

Tarebear
Newbie
Posts: 12
Joined: Thu Nov 15, 2012 6:36 am
Contact:

Re: Testing Game Title ideas and help with scripting?

#2 Post by Tarebear »

Thank you everyone for your comments ahead of time. I will be sure to check on things in the afternoon as it is 6am here and I have stayed up far past my bed time XD. Yes..doing this HAHA, but it is fun. Nite!

dramspringfeald
Miko-Class Veteran
Posts: 825
Joined: Tue May 03, 2011 2:45 pm
Projects: The Echo, CBlue, Safety_Dance
Location: ABQ-USA
Contact:

Re: Testing Game Title ideas and help with scripting?

#3 Post by dramspringfeald »

First I think this goes in Renpy Q&A

and second A game name should tell us most of what your project is about. "The name; what it's about" an Example; "Dead Space" in 2 words you more or less know what the game is about. A Zombie-ish game set in the future IN SPACE
Boarder Lands - Taking place in a hell in the middle of nowhere
Batman; Arkham Asylum - A batman game taking place in the fictional city of Arkham in the nuthouse. *you can infer the Joker will be there if you know anything about Batman, his enemies and the story line from the comics. seeing as the game is made after 98 you know Harley will be there as well*
Mass Effect, is a little tougher but from the title alone you can infer - Science Fiction and Advanced Tech but to be honest that's all you can figure out with just the title.

Alfred Hitchcock's - Psycho. The writer is messed up and likes horror, Psycho - Violent unstable and probably a murderer. SO it's a messed up movie about a dude with a killing issue.
Alfred Hitchcock's - The Birds. The writer is messed up and likes horror + Birds - Feathered critters known to gather. Horror using Birds

So again your Title needs to tell us Who and What your story is about.
Don't be a Poser! Learn to Draw
Learn to Draw with Stan Lee
Learn to Draw with Mark Crilley
If you want you can brows my art. My art can be found at...FA // IB // DA Neglected for a few years so I'm just now updating it

Learn to break a bone to break a bone,
Learn to build a house to build a house,
Learn to make a Game to make a Game.

Tarebear
Newbie
Posts: 12
Joined: Thu Nov 15, 2012 6:36 am
Contact:

Re: Testing Game Title ideas and help with scripting?

#4 Post by Tarebear »

dramspringfeald wrote:First I think this goes in Renpy Q&A

and second A game name should tell us most of what your project is about. "The name; what it's about" an Example; "Dead Space" in 2 words you more or less know what the game is about. A Zombie-ish game set in the future IN SPACE
Boarder Lands - Taking place in a hell in the middle of nowhere
Batman; Arkham Asylum - A batman game taking place in the fictional city of Arkham in the nuthouse. *you can infer the Joker will be there if you know anything about Batman, his enemies and the story line from the comics. seeing as the game is made after 98 you know Harley will be there as well*
Mass Effect, is a little tougher but from the title alone you can infer - Science Fiction and Advanced Tech but to be honest that's all you can figure out with just the title.

Alfred Hitchcock's - Psycho. The writer is messed up and likes horror, Psycho - Violent unstable and probably a murderer. SO it's a messed up movie about a dude with a killing issue.
Alfred Hitchcock's - The Birds. The writer is messed up and likes horror + Birds - Feathered critters known to gather. Horror using Birds

So again your Title needs to tell us Who and What your story is about.

I am sorry! This was supposed to be a work in progress, I hope that helps. I came up with the title last night lol.

Tarebear
Newbie
Posts: 12
Joined: Thu Nov 15, 2012 6:36 am
Contact:

Re: Friendship or Love? The story of Daniel and Amelia

#5 Post by Tarebear »

How do I move this to the Q&A? thank you!

User avatar
fleet
Eileen-Class Veteran
Posts: 1575
Joined: Fri Jan 28, 2011 2:25 pm
Deviantart: fleetp
Contact:

Re: Friendship or Love? The story of Daniel and Amelia

#6 Post by fleet »

An administrator or moderator has to move it for you. Send them the request in a PM.
Some of my visual novels are at http://www.the-new-lagoon.com. They are NSFW
Poorly done hand-drawn art is still poorly done art. Be a Poser (or better yet, use DAZ Studio 3D) - dare to be different.

LVUER
King of Lolies
Posts: 4538
Joined: Mon Nov 26, 2007 9:57 pm
Completed: R.S.P
Location: Bandung, West Java, Indonesia
Contact:

Re: Friendship or Love? The story of Daniel and Amelia

#7 Post by LVUER »

Done. I moved it.
"Double the princesses, quadruple the fun!" - Haken Browning (SRW-OG Endless Frontier)

DeviantArt Account
MoeToMecha Blog (under construction)
Lolicondria Blog (under construction) <- NSFW

Tarebear
Newbie
Posts: 12
Joined: Thu Nov 15, 2012 6:36 am
Contact:

Re: Friendship or Love? The story of Daniel and Amelia

#8 Post by Tarebear »

Thank you so much!

broken_angel
Veteran
Posts: 322
Joined: Sun Oct 03, 2010 11:49 pm
Completed: Memoirs of an Angel (2010)
Projects: Memoirs of an Angel (Remake); W.I.S.H
Location: United States
Contact:

Re: Friendship or Love? The story of Daniel and Amelia

#9 Post by broken_angel »

The problem is that you put your menu under the "if menu_flag:" label. So if menu_flag == True, as is the case when you choose to "ask," then it jumps back to the "choice_done" label and shows the dialog and menu again.

If that part is what you want, then the issue is with the block of text beginning with "We ended the day with a warm cup of tea, time to go home!" As it is, because of how it's indented, it never shows up. It's part of the "choice_Dont" label block, but there's a jump label before you get to it.

Either way, the problem is with indentation. I'd also like to point out that labels should never be indented. With all the cascading indents, it gets really confusing, so I would suggest going through and un-indenting all of the labels, and then you can take out a lot of the extra spaces.

If you don't get what I mean, I would be happy to fix it up later.

Tarebear
Newbie
Posts: 12
Joined: Thu Nov 15, 2012 6:36 am
Contact:

Re: Friendship or Love? The story of Daniel and Amelia

#10 Post by Tarebear »

Thank you so much. I figured it out and you are right LOL. It helped out a lot! It now works Woohoo!

Post Reply

Who is online

Users browsing this forum: barsunduk, Bing [Bot], bloodzy