script.rpy character color 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
Message
Author
friskisan
Newbie
Posts: 1
Joined: Wed Jan 17, 2018 3:07 pm
Tumblr: friskisan
Contact:

script.rpy character color error?

#1 Post by friskisan »

hey! so i typed in this thread: define m = Character("Mothman”, color=“#3e2a54”). i keep getting the error I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.


File "game/script.rpy", line 6: is not terminated with a newline. (Check strings and parenthesis.)
(Perhaps you left out a " at the end of the first line.)
define m = Character("Mothman”, color=“#3e2a54”)

What is the issues? Please help!

User avatar
Remix
Eileen-Class Veteran
Posts: 1628
Joined: Tue May 30, 2017 6:10 am
Completed: None... yet (as I'm still looking for an artist)
Projects: An un-named anime based trainer game
Contact:

Re: script.rpy character color error?

#2 Post by Remix »

I suggest actually typing the " double quotes rather than copy-paste. Yours is made of mixed pairs, including inverted quotation marks (which Ren'py does not support)

Supported ones are " (double quote), ' (apostrophe) and ` (rarely used back tick). Start AND end of each string must use the same type.
Frameworks & Scriptlets:

Post Reply

Who is online

Users browsing this forum: MisterPinetree