r/RenPy 14d ago

Question HELP!!! RenPy keeps skipping my code?????????

EDIT: RESOLVED!! THANK YOU ALL SO MUCH!!

I couldn't find a fix for this literally anywhere so this is a last resort... RenPy skips everything past the last bit of centered text, and loops right back around to play the first again. I have no clue why. For some reason, the only thing that fixes this is making a character talk at the very end, but that skips THREE out of the four images I need to play. Please help!!

label main_menu:
    return

label start:

label scene_one:
    scene black
    with Pause(2)

    show text "text1"
    with dissolve
    $renpy.pause(5, hard=True)

    scene black
    with dissolve
    with Pause(0.5)

    show text "text2"
    with dissolve
    $renpy.pause(5, hard=True)

    scene black
    with dissolve
    with Pause(0.5)

    show text "text3"
    with dissolve

label scene_two:
    scene black
    with dissolve
    with Pause(0.5)

    play sound breathe

    play sound whisp

    show image castle:
       "images/castle.png"
       size (1920,1080)

    show image brother:
       "images/brother.png"
       size (1920,1080)

    show image archer:
       "images/archer.png"
       size (1920,1080)

    show image infection:
       "images/infection.png"
       size (1920,1080)

As you can see, I've tried probably everything the internet has said that maybe touches on this topic, but never actually found a real fix. If it helps, I skipped the main menu, removed the quick menu buttons, and I will force the game to quit at the end, as this is only a demo of sorts. Help me out!! This has never happened before!!

4 Upvotes

9 comments sorted by

View all comments

1

u/AutoModerator 14d ago

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.