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.
Can I call the replays from anywhere or do I need to be on a Main Menu / Game Menu screen?
In my game, the player can open his diary in his house and choose the scenes to review. However, I did not create any kind of screen-specific replays. I just want to call replays from his diary.
menu:
"Other options":
#irrelevant things here
"Read your diary (Replay scenes)":
menu:
"Choose a scene to replay."
"Replay Scene A" if switch_scene_a:
# I don't know how to call a replay from here
Is it possible to do this? Or do I have to create a specific screen for Replays and use "textbuttons" for this?
# Scene A goes here
label Scene_A:
"Hello etc."
menu:
"Other options":
#irrelevant things here
"Read your diary (Replay scenes)":
menu:
"Choose a scene to replay."
"Replay Scene A" if switch_scene_a:
jump Scene_A
I really hope this works and is helpful. Let me know how you get on!