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.
While running game code:
File "game/script.rpy", line 663, in script
menu:
File "game/script.rpy", line 665, in <module>
"The beach" if thebeach1_done == False:
NameError: name 'thebeach1_done' is not defined
For this code-- which, it keeps telling me it's not defined, but i already defined the variables
mikolajspy wrote: ↑Tue Feb 13, 2018 1:37 pm
Instead of $ symbol, which is used to change variable use define or default (define for something static, default for variables), so: