Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Error with the code!!

A topic by lily145687 created Nov 05, 2024 Views: 298 Replies: 3
Viewing posts 1 to 3

When I run the game on my phone, I get an error in the script. 

File "game/shop_screens.rpy", line 237: 'break' is not a keyword argument or valid child for the for statement.

    break

         ^

Ren'Py Version: Ren'Py 8.0.3.22090809

Tue Nov 5 10:55:47 2024

What to do?

Okay, I've solved the problem. I just downloaded a program where you can edit the script. and deleted line 237. Surprisingly, the game worked stably even without this line. 

what program?

"Shell Script Editor" in the playmarket, the icon has a white background and gray stripes in the form of a sheet of paper.