Hello! I am trying to have "menu" options and then the story needs to continue down 1 path again.
Here is the problem : http://imgur.com/a/TaJaH
I don't know what I am doing wrong, but I want the menu to end after "Ah, That's better" (as well as the new image enteringtheapartment2 showing up and continuing the story, which is not part of the menu anymore), but right now it just stays at the first "enteringtheapartment5" picture throughout all the story...
Really need a reply on this, I'm starting to get mad
Thanks!
How to close a menu?
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.
- Divona
- Miko-Class Veteran
- Posts: 678
- Joined: Sun Jun 05, 2016 8:29 pm
- Completed: The Falconers: Moonlight
- Organization: Bionic Penguin
- itch: bionicpenguin
- Contact:
Re: How to close a menu?
A problem I see is the indentation of the "menu". Its still part of the label, so it needs to be inside the label.
Code: Select all
label start:
. . .
menu:
"Knock on the door":
jump knockingonthedoor1
label knockingonthedoor1:
show enteringtheapartment5
"knock..."
pause 2.0
"..."
mc "{i}Guess I'm trying again..."
. . .
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3794
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: How to close a menu?
Can you perhaps paste the code or attach it in future? It's somewhat bothersome having to jump over to imgur just to see what your issue is. It also makes retyping it for you, cumbersome.
You haven't closed the italics {/i} in two lines. Though, I don't know if this is strictly required.
Divona beat me to the rest.
You haven't closed the italics {/i} in two lines. Though, I don't know if this is strictly required.
Divona beat me to the rest.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Twitter
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Re: How to close a menu?
Alright, I'll copy it!Imperf3kt wrote:Can you perhaps paste the code or attach it in future? It's somewhat bothersome having to jump over to imgur just to see what your issue is. It also makes retyping it for you, cumbersome.
You haven't closed the italics {/i} in two lines. Though, I don't know if this is strictly required.
Divona beat me to the rest.
Right now it looks like this :
"You take a deep breath..."
mc "(...I guess it's time...)"
jump knockingonthedoor1
label knockingonthedoor1:
menu:
"Knock on the door":
jump knockingonthedoor2
label knockingonthedoor2:
show enteringtheapartment5
"knock..."
pause 2.0
"..."
mc "{i}Guess I'm trying again..."
show enteringtheapartment5
with vpunch
"knock"
mc "(Ah, {i}that's better)"
jump knockingonthedoor1end
label knockingonthedoor1end:
show enteringtheapartment2
Who is online
Users browsing this forum: Google [Bot]