I absolutely suck at searching the documentation for information. I never seem to find what I'm looking for.
I want to create a box that pops up in the middle of the screen. Hopefully, I can customize it as I see fit, but basically, I want a message to pop up (preferably with a sound effect), and I want a button to dismiss the message and let the game continue. Contrast, of course, with regular text/dialogue that shows up VN style. Anyone know where to start on such a thing?
[Answered] Pop-up message box
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.
- Gear
- Miko-Class Veteran
- Posts: 764
- Joined: Tue Apr 05, 2011 10:15 pm
- Projects: Tempestus Sum
- Organization: Xenokos Interactive
- IRC Nick: Gear
- Skype: Skye.Gear
- Location: Grand Prairie, TX
- Contact:
[Answered] Pop-up message box
Last edited by Gear on Mon Jun 30, 2014 10:16 am, edited 1 time in total.
The best reason to get up in the morning is to outdo yourself: to do it better than you've ever done it before. But if you haven't done it better by nightfall... look at your globe and pick a spot: it's always morning somewhere.
Re: Pop-up message box
You can just call a screen, with "action Return" on the button
-
- Eileen-Class Veteran
- Posts: 1258
- Joined: Fri Sep 21, 2007 7:13 am
- Projects: a battle engine
- Contact:
Re: Pop-up message box
Might be an idea to use the yesno screen as a template - only include one button instead of two and make it action Return() like Stapper said.
- Gear
- Miko-Class Veteran
- Posts: 764
- Joined: Tue Apr 05, 2011 10:15 pm
- Projects: Tempestus Sum
- Organization: Xenokos Interactive
- IRC Nick: Gear
- Skype: Skye.Gear
- Location: Grand Prairie, TX
- Contact:
Re: Pop-up message box
Thanks guys. I know what I'm going to do now.
The best reason to get up in the morning is to outdo yourself: to do it better than you've ever done it before. But if you haven't done it better by nightfall... look at your globe and pick a spot: it's always morning somewhere.
Who is online
Users browsing this forum: Baidu [Spider], Bing [Bot], Google [Bot]