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.
I'm having problems, when I do text it works but when I put a background image in I get a error.
I'm just starting and trying to figure this program out.
# You can place the script of your game in this file.
init:
# Declare images below this line, using the image statement.
# eg. image eileen happy = "eileen_happy.png"
image bg maple = "maple.jpg"
# Declare characters used by this game.
$ k = Character ('Kenji', color="#c8ffc8")
# The game starts here.
label start:
image bg maple
k "You've created a new Ren'Py game."
k "Once you add a story, pictures, and music, you can release it to the world!"
I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.
On line 11 of C:\Documents and Settings\Todd Daugherty\Desktop\REipy\renpy-6.9.3\Project\Unbound Decetive Agency/game/script.rpy: indentation mismatch.
I suspect somebody is stealing my internet identity so don't believe everything I tell you via messages. I don't post or send messages anymore so don't believe anything I tell you via messages or posts.