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.
label start:
$english= False
$math= False
$history= False
label study:
scene black
"What would you like to talk about?"
menu:
"English":
$english =True
"English is ..."
jump study
"Math":
$math = True
"Math is ..."
jump study
"History":
$history = True
" History is ..."
jump study
And if all of them are true. I want to call this label:
default english = False
default math = False
default history = False
label start:
# You can start at study if you want
label study:
scene black
if english and math and history:
"Oh. We finished all the subjects."
jump continue
else:
"What would you like to talk about?"
menu:
"English":
$ english = True
"English is ..."
jump study
"Math":
$ math = True
"Math is ..."
jump study
"History":
$ history = True
"History is ..."
jump study
label continue:
# blah blah blah
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.