menu statement expects a non-empty block menu->:

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
TheeKoroshiya
Newbie
Posts: 1
Joined: Tue Jul 21, 2015 9:02 am
Tumblr: KoroshiyaRunningWithToast
Deviantart: TheeKoroshiya
Contact:

menu statement expects a non-empty block menu->:

#1 Post by TheeKoroshiya »

Sooooooo...I'm new to this thing and I was making my first game. I saw a couple of tutorials and yadda yadda yadda. I typed this in menu:
"Fight for the Bagel team"
$ Bagel_Points += 1
ka "That's right...we'll sho wyou to our king later."
"ka leaves"
hide nagitoa
jump bagelscene
"Fight for the Turkey Sandwich Team"
$ Turkey_Points += 1
ja "Good. Good. We will show you to our leader, but we must take our leave for

now."
"ja leaves"
hide judgea
jump turkeyscene

And when I press Launch Project...it says "Parsing the script failed." File "game/script.rpy", Line 52: menu statement expects a non-empty block. HELP ME, PLEASE!
Attachments
Have this picture!
Have this picture!
download (23).jpg (10.51 KiB) Viewed 524 times

User avatar
mobychan
Veteran
Posts: 275
Joined: Fri Apr 24, 2015 6:31 am
Projects: The Chosen - Sakura Pink & Gentian Blue
Organization: Foresoft
Location: Germany
Contact:

Re: menu statement expects a non-empty block menu->:

#2 Post by mobychan »

You should use the code bb-code, so we can actually see how you're indenting an stuff ;)

I think it's the missing ":" behind you choices:

Code: Select all

menu:
    "Fight for the Bagel team":
        $ Bagel_Points += 1
        ka "That's right...we'll sho wyou to our king later."
        "ka leaves"
        hide nagitoa
        jump bagelscene
    "Fight for the Turkey Sandwich Team":
        $ Turkey_Points += 1
        ja "Good. Good. We will show you to our leader, but we must take our leave for now."
        "ja leaves"
        hide judgea
        jump turkeyscene

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot]