Game Ending

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
User avatar
Posts: 4
Joined: Mon Jul 09, 2018 8:22 am
Projects: ink co.
Tumblr: kisses-and-wine
Soundcloud: night_chan
Location: Istanbul

Game Ending

#1 Post by night_chan » Thu Jul 12, 2018 2:20 pm

Hello guys! I'm trying to end one of the branches in my game with a pop up like "Ending 3" I looked up at renpy documentation but i can't seem to get it to work.
edit: I added the return but still it gives mean indentation error at line 206. Help pls!! :cry:

Posts: 97
Joined: Mon Mar 12, 2018 11:15 am

Re: Game Ending

#2 Post by DannX » Thu Jul 12, 2018 2:52 pm

Indentation error means that the statement in line 206 is not properly aligned with the rest, this is a Python and Ren'Py convention and it is very important to follow it. It's hard to see in the small image (and my poor vision may be deceiving me), but I think you have to move the last dialogue line just one space.

Code: Select all

#This statement is not indented
label start:

    "This text is indented four spaces."
    "This text is also indented."
I recommend you look in your script editor (jEdit?) to see if it has an option to show indentation lines, so it is easier for you to see where is the error when something like this happens.

Post Reply

Who is online

Users browsing this forum: MisterHarold