I keep getting indentation mismatch on line 50...
label boring:
scene cottage
"I go back home."
"One day, I walked back into the shed."
"The mystery door had disappeared!"
"Dissapointed, I went back home..."
"I never got to see the door again.
"
return (This is line 50 BTW...)
label adventure:
scene sunny trees
"I wake up in a forest."
"The only way out seems to be a single path."
"The door had disappeared so I walked along the path."
please help me!
Help! Indentation Mismatch!
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.
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.
-
- Newbie
- Posts: 2
- Joined: Mon Feb 25, 2013 7:33 am
- Contact:
-
- Newbie
- Posts: 2
- Joined: Mon Feb 25, 2013 7:33 am
- Contact:
Re: Help! Indentation Mismatch!
oh yeah! and return has 4 spaces.
- Kato
- Miko-Class Veteran
- Posts: 649
- Joined: Tue Jan 15, 2013 4:45 am
- Projects: Memories of Summer Winds
- Organization: Blue Sphere Group
- Location: Perth, Western Australia
- Contact:
Re: Help! Indentation Mismatch!
Have you made a call stack for it to return to?
Code: Select all
Also pasting code into code tags like this helps with formatting issues...
-
- Lemma-Class Veteran
- Posts: 2299
- Joined: Mon Feb 06, 2012 9:50 pm
- Completed: Icebound, Selenon Rising Ep. 1-2
- Projects: Selenon Rising Ep. 3-4
- Organization: Fastermind Games
- Deviantart: sundownkid
- Location: NYC
- Contact:
Re: Help! Indentation Mismatch!
Make sure you let the program auto-indent. Just put your cursor on the end of the line and press enter and it should indent for you. Otherwise use Tab to indent and Shift+Tab to un-indent, never use the space bar.
Who is online
Users browsing this forum: Andredron, Google [Bot]