I don't want to paste here the script: it's still short, but takes more than a hundred lines, so I've attached it. If you look at it, you might notice that there is not too much content yet, and it's based (copy-pasting required lines) on the example game's script. The case of the line which gives the error IS copy-pasted from the example, and it works in it; so I'm completely lost in why this exception occurs.I'm sorry, but an exception occured while executing your Ren'Py
script.
ParseError: On line 16 of game/script.rpy: expected statement.
g.screen_width = 800
^
While parsing game/script.rpy.
-- Full Traceback ------------------------------------------------------------
File "renpy\bootstrap.pyo", line 76, in bootstrap
File "renpy\main.pyo", line 218, in main
File "renpy\script.pyo", line 293, in load_script
File "renpy\script.pyo", line 94, in __init__
File "renpy\script.pyo", line 126, in load_file
File "renpy\parser.pyo", line 1233, in parse
File "renpy\parser.pyo", line 1209, in parse_block
File "renpy\parser.pyo", line 1155, in parse_statement
File "renpy\parser.pyo", line 1209, in parse_block
File "renpy\parser.pyo", line 1196, in parse_statement
File "renpy\parser.pyo", line 338, in error
ParseError: On line 16 of game/script.rpy: expected statement.
g.screen_width = 800
^
While parsing game/script.rpy.
Ren'Py Version: Ren'Py 5.4.2
Does somebody know how to solve this error?
Thanks in advance.