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.
-
Navypink
- Newbie
- Posts: 3
- Joined: Tue May 16, 2017 2:04 pm
- itch: navypink
-
Contact:
#1
Post
by Navypink » Tue May 16, 2017 2:14 pm
So I've just began using ren'py and I'm making my first game. It's been workng without any problems, until now.... Whenever I try to load the game, there's a messege that says: "Indentation mismatch in line 79" or, occasionally, line 80. I've tried everything, but nothing seems to work. So I thought I need some help. Here's a screenshot of the piece of code supposedly bothering ren'py:
Code: Select all
"I felt sorry for him, he'd just lost his best friend... Besides, he was nice and I would really like to spend time with him~"
"But I had a club meeting to attend on lunchtime... what should I do?"
menu:
"Sure, I'll spend time with you":
$TaroLove += 1
jump taro
"I'm busy":
$ShinLove += 1
jump club
"I don't know...!":
jump hesitant
label taro:
o "I don't really... have anything to do in particular, so I guess I'll.. join you, if that's fine."
"Was I really doing this?"
"Lunchtime was always the time for club meetings, and yet... I would soon be abscent for the first time."
"\'My choices are my own\', I reminded herself. I don't have to attend every single meeting, after all."
"Besides, a change would be nice, wouldn't it?"
t "Really? That would be great! We can meet up outside of our class later."
"I smiled as we went our own, seperate ways, but still somehow connected after our first ever conversation."
"Something was changing in my life, and I was thrilled to see where my new relationship with Taro would take me."
jump lunchtime
The rest seems to be fine, I just don't get the problem with the line: "label taro:" since I think that's what it's all about...
I would appreciate any help. Thanks in advance to any ren'py user who finds the time to help!
-
KuroPan
- Newbie
- Posts: 14
- Joined: Sun May 14, 2017 9:36 am
- Projects: The Town
- Deviantart: KuroYaakhu
-
Contact:
#2
Post
by KuroPan » Tue May 16, 2017 2:36 pm
What is the line 79 (or 80) in this code ?
-
Divona
- Miko-Class Veteran
- Posts: 678
- Joined: Sun Jun 05, 2016 8:29 pm
- Completed: The Falconers: Moonlight
- Organization: Bionic Penguin
- itch: bionicpenguin
-
Contact:
#3
Post
by Divona » Tue May 16, 2017 2:39 pm
Definitely indentation error with label. What you did before was putting "label" inside "menu" and made Ren'Py confused because it doesn't know what to do with label inside the menu.
Code: Select all
"I felt sorry for him, he'd just lost his best friend... Besides, he was nice and I would really like to spend time with him~"
"But I had a club meeting to attend on lunchtime... what should I do?"
menu:
"Sure, I'll spend time with you":
$TaroLove += 1
jump taro
"I'm busy":
$ShinLove += 1
jump club
"I don't know...!":
jump hesitant
label taro:
o "I don't really... have anything to do in particular, so I guess I'll.. join you, if that's fine."
"Was I really doing this?"
"Lunchtime was always the time for club meetings, and yet... I would soon be abscent for the first time."
"\'My choices are my own\', I reminded herself. I don't have to attend every single meeting, after all."
"Besides, a change would be nice, wouldn't it?"
t "Really? That would be great! We can meet up outside of our class later."
"I smiled as we went our own, seperate ways, but still somehow connected after our first ever conversation."
"Something was changing in my life, and I was thrilled to see where my new relationship with Taro would take me."
jump lunchtime
Completed:

-
KuroPan
- Newbie
- Posts: 14
- Joined: Sun May 14, 2017 9:36 am
- Projects: The Town
- Deviantart: KuroYaakhu
-
Contact:
#4
Post
by KuroPan » Tue May 16, 2017 2:45 pm
I've tried your code and in fact, you must put the label at the beginning of your line
-
Attachments
-

- Mystery Time -
"This story took place at the very beginning of our collaboration."
"At the time when everything seemed to be normal."
Oh, my ! Please, the story is in french.
But it would be nice if only there was an english version.
Maybe, a day, I will do a traduction.
A day.
When I finish the first chapter.
A day...
Peace !
THE TOWN (1.0)
-
Navypink
- Newbie
- Posts: 3
- Joined: Tue May 16, 2017 2:04 pm
- itch: navypink
-
Contact:
#5
Post
by Navypink » Tue May 16, 2017 4:07 pm
Thanks so much! I didn't know anyone would answer so quickly!
Users browsing this forum: Google [Bot]