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/000 Studios.rpy", line 12: end of line expected.
call screen studiooption
^
Ren'Py Version: Ren'Py 7.2.2.491
Tue Jun 11 19:31:27 2019
Hmm... never called a screen before, so I can't help much with explaining this, but I can at least provide alternate ideas that may at least allow this to function? I've only ever used a "show screen" statement in my projects, never "call screen". Not sure what the difference is or if one has clear benefits over the other, but that's one way to try it. If you require the ability to return from the screen, you could also stick it under a label and call that label. That's the way I personally handle all calls. I do:
call [label_name]
and then for the setup, I would have
label [label_name]
show screen [screen_name]
and of course the screen itself defined after that.
giuelz wrote: ↑Tue Jun 11, 2019 3:12 pm
The problem when I use "Show" is that the script continue in the background. I don't know how to stop it.
I told I'm a newbie in renpy
Use "pause" to stop the script from continuing. I should have noted that.
I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.
File "game/000 Studios.rpy", line 29: expected statement.
pause
^
Ren'Py Version: Ren'Py 7.2.2.491
Tue Jun 11 21:30:29 2019