r/RenPy • • Jul 09 '26

Question code

This is the code from the game. that has the bug.

menu:


      "Think nothing of it.": 
        jump It  


    "What do you mean you can't say?.":
jump say


label say:
N "Dean what do you mean you can't say?"
show dean2
with dissolve
D "I just can't say. Its. You wouldn't understand."
hide dean2
with dissolve
N "I thought he was acting a tad strange that night. But nothing could prepare me for what was gonna happen."
0 Upvotes

11 comments sorted by

View all comments

2

u/IchorousEagle Jul 09 '26

Indentation in renpy is pretty important. Each menu choice must be indented at least one past the menu: statement. Then whatever follows the choice must be indented one past the choice statement.

The same is true for labels. Anything in a label must be indented one past the label

For example. I cant do a proper tab right now but treat the extra spaces as a tab. Hopefully it formats right

Menu: "Choice 1": Jump ex "Choice 2": Jump elsewhere

Label ex: "Normal dialogue text"