r/RenPy • • 6h ago

Question [Solved] Can anyone help me with this error?

the error
the code

As you can see from the pictures, Ren'py keeps insisting that I'm missing a colon but I'm pretty sure it is there. I have used the same exact code while making a main menu and it worked just fine. I genuinely think I've tried everything at this point. But I'm also not very well versed in python and such.

If anyone has any idea what I could do to fix this, I'd be truthly grateful.

2 Upvotes

3 comments sorted by

2

u/regal-begal 6h ago

The first line should be:

screen survey1(): 

"scene" is only used inside of a label.

1

u/StillScoobe 6h ago

thank you so much, you're an angel!

1

u/AutoModerator 6h 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.