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:
$sceneName = "Начало"
"Яркий солнечный свет на дороге словно объявляет о приходе лета."
Now, about my problem. Last phrase works well. It is always saved successfully and loaded successfully too. But instead of scene name '---missing---' is displayed. I suppose that "scenename" just don't save and I don't know why. Maybe you have some ideas? Thanks in advance.
Last edited by Yuuji on Sat Mar 07, 2015 5:56 am, edited 1 time in total.
There's no point in standing around with your mouth open waiting for talent to fall from the sky. You make your own. No matter what you're doing, the most essential thing is not to give up.
PyTom, thank you for your answer! But your code works as well as mine. I'm trying to save a last phrase from the game and scene name, but only last phrase is saved.
PyTom wrote:There's a default json callback that saves the scene name.
I'm sorry but I can't find it
There's no point in standing around with your mouth open waiting for talent to fall from the sky. You make your own. No matter what you're doing, the most essential thing is not to give up.
in save_phrase function but last_phrase is saved and I can do nothing with it. I don't know what to do
There's no point in standing around with your mouth open waiting for talent to fall from the sky. You make your own. No matter what you're doing, the most essential thing is not to give up.
Oh... My problem is solved. I just made a stupid mistake. Now all works fine.
There's no point in standing around with your mouth open waiting for talent to fall from the sky. You make your own. No matter what you're doing, the most essential thing is not to give up.