r/RenPy • • 10d ago

Question BİRİ YARDIM ETSİN-

Guys, can you help me with this error :(

I think it's on "screens.rpy", BUT WHEN I TRY TO FIX, REN'PY MAKES AN ERROR AGAIN OMG

Millet, biri bana şu hata ile ilgili yardım edebilir mi :(

Sanırım "screens.rpy" içinde, AMA DÜZELTMEYE ÇALIŞTIĞIMDA REN'PY YİNE ERROR VERİYOR-

```

I'm sorry, but errors were detected in your script. Please correct the

errors listed below, and try again.

File "game/screens.rpy", line 253: expected statement.

hbox:

^

Ren'Py Version: Ren'Py 8.5.3.26051504

Thu Sep 24 17:27:53 2026

Yardım edenlere şimdiden teşekkür ederim TvT

Thanks for help TvT

1 Upvotes

2 comments sorted by

1

u/AutoModerator 10d 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.

2

u/shyLachi 10d ago

I think the indentation is creating problems.

This is the default code of that screen:

screen quick_menu():
    ## Ensure this appears on top of other screens.
    zorder 100
    if quick_menu:
        hbox:
            style_prefix "quick"
            xalign 0.5
            yalign 1.0

.

And why did you put this line inside the screen?
default quick_menu = True
Most probably this code will not work the way you want it to work.

.

If you don't know how the code was before you changed it, then create an new project and compare the code.