I was just trying out some basic things to work a simple game, and my menu options won't disappear. D:
I put in two options and when either one clicks, it gives the correct result, but the option labels simply go behind the scene picture. How can I fix this?
This is my menu code. I can provide more.
menu:
"Get mad?":
jump choice1_getmad
"Go away?":
jump choice2_goaway
label choice1_getmad:
$ menu_flag = True
t "Shutuppppp!"
jump finish
label choice2_goaway:
$ menu_flag = True
t "I'm just going to go..."
jump finish
label finish:
oz "..."
scene breakcake2
with Dissolve(.5)
Menu options won't disappear?
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: 23
- Joined: Sat Aug 08, 2009 2:06 pm
- Projects: Yeah, 6-7 or more... <_<
- Location: Sweden
- Contact:
Re: Menu options won't disappear?
Can you please wrap it around code tags? It's kinda hard to read the code when the indentation is messed up.
Re: Menu options won't disappear?
Oops, sorry! Here we go.
Code: Select all
menu:
"Get mad?":
jump choice1_getmad
"Go away?":
jump choice2_goaway
label choice1_getmad:
$ menu_flag = True
t "SHUT UP, BOTH OF YOU!"
jump finish
label choice2_goaway:
$ menu_flag = True
t "I'm just going to go..."
jump finish
label finish:
oz "..."
scene breakcake2
with Dissolve(.5)
Re: Menu options won't disappear?
I don't know how and if that leads to your problem, but your menu block is very obviously one indentation level too deep.
The rest is left as an exercise for the reader.
Re: Menu options won't disappear?
Okay, I changed the menu...
Er, then new question: How do you change where the menu options are positioned?
Er, then new question: How do you change where the menu options are positioned?
-
- Eileen-Class Veteran
- Posts: 1265
- Joined: Fri Aug 31, 2007 7:02 am
- Projects: 0 completed game. Still haven't made any meaningfully completed games...
- Contact:
Re: Menu options won't disappear?
Alex wrote:This should help http://lemmasoft.renai.us/forums/viewto ... f=8&t=5953
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.
Who is online
Users browsing this forum: Majestic-12 [Bot]