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.
First time poster here, and let me tell ya. I suck. Bad. I've followed some instructions and still managed to mess it up. Simple stuff.
The lines of code are as follows and the issue after that. I've tried to define just two things...
# The script of the game goes in this file.
# Declare characters used by this game. The color argument colorizes the
# name of the character.
define e = Character("Eileen")
# The game starts here.
Define c = character(_("Chadwick"), color="#ccffcc")
Define l = character(_("Lonnie"), color="#ffcccc")
label start:
"l" "Tesing testing."
"c" "Why?"
"define" is a Renpy keyword, and it's match case, so "Define" won't work.
Also, you should indent you code (4 spaces to the right) when creating a new block.
I'm almost sure it will work in this case if you don't indent, but it won't work in anything except label declarations (never understood why), so you should get used to it.
# The script of the game goes in this file.
# Declare characters used by this game. The color argument colorizes the
# name of the character.
define e = Character("Eileen")
define c = character(_("Chadwick"), color="#ccffcc")
define l = character(_("Lonnie"), color="#ffcccc")
# The game starts here.
label start:
"l" "Tesing testing."
"c" "Why?"
# The script of the game goes in this file.
# Declare characters used by this game. The color argument colorizes the
# name of the character.
define e = Character("Eileen")
define c = Character(_("Chadwick"), color="#ccffcc") ## no capital for define, capital C for Character definition
define l = Character(_("Lonnie"), color="#ffcccc") ## no capital for define, capital C for Character definition
# The game starts here.
label start:
l "Tesing testing." ## no quotes for the character name (quotes are for "anonymous"/undefined characters
c "Why?" ## same here