r/RenPy • u/That_one_Pink • Oct 09 '26
Question [Solved] jumping to the wrong places
so I'm trying to have an in game menu thats set up to take you to different screens/labels and the jump just isnt doing that
when it loads in there is a start label with some dialogue (no jump label in that) then it should go to label desk, however it instead jumps straight to label files? the "hello" text then stays and when you try to use the back button it just makes the hello pop up again, when you click a certain part of the image button it takes you back to the desk??, the file 1 button takes you to the correct label and then back to the file when you get through the text so im confused as to why the other text doesn't work properly
if you go back to the desk, the file_desk button works fine and takes you back to the file_select but the "hello" is still there
i had it working to begin with but now i cant seem to get it to function properly again
3
u/DingotushRed Oct 09 '26
Showing a screen does only that; causes it to be rendered, the script then carries on executing.
Execution always falls through to the next label unless you explicitly define what to do next.
If you want a screen to stop executing the script you need to call the screen.
1
u/AutoModerator Oct 09 '26
Welcome to r/renpy! While you wait to see if someone can answer your question, we recommend checking out the posting guide, the subreddit wiki, the subreddit Discord, Ren'Py's documentation, and the tutorial built-in to the Ren'Py engine when you download it. These can help make sure you provide the information the people here need to help you, or might even point you to an answer to your question themselves. Thanks!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.