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.
I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.
File "game/script.rpy", line 16: menu statement expects a non-empty block.
menu:
^
Ren'Py Version: Ren'Py 6.99.13.2919
I was so confused,so i created a new game and copied the text from "Choices and Python" to it as to find out where was the error from.It was good at first,but then i added a line before the menu statement:
define e = Character("Eileen")
label start:
e"Do you mind?"
menu:
"Yes, I do.":
jump choice1_yes
"No, I don't.":
jump choice1_no
label choice1_yes:
$ menu_flag = True
e "While creating a multi-path visual novel can be a bit more work, it can yield a unique experience."
jump choice1_done
label choice1_no:
$ menu_flag = False
e "Games without menus are called kinetic novels, and there are dozens of them available to play."
jump choice1_done
label choice1_done:
And the same error was caused.
IDK what to do.Please help.
Last edited by adabella100 on Thu Dec 14, 2017 12:27 pm, edited 1 time in total.