I'm relatively new to Ren'py and have been mostly relying on other people having similar questions to me so far.
I'm not sure if I'm not looking it up right, or if this hasn't been dealt with before but here goes.
What I'm attempting to do is have a line of text that works as an alert or a pop up during certain events, mainly when a new character profile is available, a new codex entry is unlocked, or when a character gains/loses approval. All of which I can get it to do.
However, what I can't get to work, is for this 'pop up' to appear passively. I want it to act as an alert that shows up in the background, chills for five seconds or so, then shows itself out, while everything else continues to happen (characters continue to move and talk, or nvl style exposition continues on)
Is this possible?
I hope this is clear enough and thanks for any/all help!
[Solved]Trying to make the equivalent of a pop up alert
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: 5
- Joined: Fri Jul 31, 2015 3:24 am
- Tumblr: eightstepsup
- Contact:
[Solved]Trying to make the equivalent of a pop up alert
Last edited by Wynchester on Mon Aug 24, 2015 9:07 pm, edited 1 time in total.
- chocojax
- Miko-Class Veteran
- Posts: 705
- Joined: Sun Oct 25, 2009 11:27 am
- Projects: Umbra, Familiarity, Maleficent Justice
- Tumblr: chocojax
- Location: California
- Contact:
Re: Trying to make the equivalent of a pop up alert
Have you tried the notify function? (http://www.renpy.org/doc/html/other.html#renpy.notify) I think it stays on screen for a couple of seconds before disappearing.
You can also modify the notification screen here: http://www.renpy.org/doc/html/screen_sp ... tml#notify
You can also modify the notification screen here: http://www.renpy.org/doc/html/screen_sp ... tml#notify
- mobychan
- Veteran
- Posts: 275
- Joined: Fri Apr 24, 2015 6:31 am
- Projects: The Chosen - Sakura Pink & Gentian Blue
- Organization: Foresoft
- Location: Germany
- Contact:
Re: Trying to make the equivalent of a pop up alert
It's basically a screen you show and later hide again ^^
try reading the documentation about screens:
http://www.renpy.org/doc/html/screens.html
try reading the documentation about screens:
http://www.renpy.org/doc/html/screens.html
-
- 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: Trying to make the equivalent of a pop up alert
I recently implemented exactly that into the latest version of my game (and my next game).
It's basically putting a transform on a screen, that will make its alpha from 0 to 1 in a certain amount of time, and then make its alpha from 1 to 0 after a few seconds. Then you show the screen and hide it sometime afterwards.
It's basically putting a transform on a screen, that will make its alpha from 0 to 1 in a certain amount of time, and then make its alpha from 1 to 0 after a few seconds. Then you show the screen and hide it sometime afterwards.
-
- Newbie
- Posts: 5
- Joined: Fri Jul 31, 2015 3:24 am
- Tumblr: eightstepsup
- Contact:
Re: Trying to make the equivalent of a pop up alert
Thank you! This is exactly what I need! I was literally just using every wrong word to look it up.chocojax wrote:Have you tried the notify function? (http://www.renpy.org/doc/html/other.html#renpy.notify) I think it stays on screen for a couple of seconds before disappearing.
You can also modify the notification screen here: http://www.renpy.org/doc/html/screen_sp ... tml#notify
Who is online
Users browsing this forum: Nozori_Games