'End of line' error

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Posts: 2
Joined: Mon Oct 12, 2009 9:34 pm

'End of line' error

#1 Post by kaitouJeanne+apricot » Sun Nov 22, 2009 11:00 am

I'm kinda new to ren'py. but i get it's basics functions.
but i keep getting errors with 'end of line' and i don't know what it means.
here is the trace back:

I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.

On line 5 of C:\Users\Jocelyn\Links\Mythological/game/script.rpy: end of line expected.
scene temple= "bg1"

Ren'Py Version: Ren'Py 6.9.3c

so does anyone know how to fix it?

User avatar
Eileen-Class Veteran
Posts: 1686
Joined: Mon Sep 21, 2009 8:03 pm
Projects: E-mail me if you wanna rock the planet
Location: USA

Re: 'End of line' error

#2 Post by JinzouTamashii » Sun Nov 22, 2009 12:01 pm

I don't think you're doing that right.

Code: Select all

    image black = "black.JPG"
    image bar = "bar1.jpg" #Indoor lighting
    image computer = "computer.jpg" #Indoor lighting
    image hallway = "hallway.jpg" #Indoor lighting
Just declare them as images then just use "scene black with fade" or "scene hallway with blinds"
Don't worry, we can get through it together. I didn't forget about you! I just got overwhelmed.

Posts: 18
Joined: Mon Mar 02, 2009 9:46 am

Re: 'End of line' error

#3 Post by Vorsic » Sun Nov 22, 2009 1:15 pm

With version 6.10 you don't need to put the image statement in an init block, they will automatically run before the games starts now.

Post Reply

Who is online

Users browsing this forum: No registered users