How do I create a scene with no sprites or textbox?
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.
How do I create a scene with no sprites or textbox?
Hello,
This is my first post but I've been following this forum for a while now and I have to say it has been extremely helpful, thank you!
I feel a bit embarrassed to ask as I'm certain there's a really simple solution to this but I just can't seem to find the answer. My question is, how do I make a scene without dialogue/narrative or images? Here's an example of what I'm currently doing:
scene bg meadow
with fade
pause 4
scene bg house
with fade
However I'm finding that if you click to skip to the next scene it overrides any transition. How can I do this without using pause so you can just click to get to the next scene without any time constraint and keep the transitions?
Many thanks!
This is my first post but I've been following this forum for a while now and I have to say it has been extremely helpful, thank you!
I feel a bit embarrassed to ask as I'm certain there's a really simple solution to this but I just can't seem to find the answer. My question is, how do I make a scene without dialogue/narrative or images? Here's an example of what I'm currently doing:
scene bg meadow
with fade
pause 4
scene bg house
with fade
However I'm finding that if you click to skip to the next scene it overrides any transition. How can I do this without using pause so you can just click to get to the next scene without any time constraint and keep the transitions?
Many thanks!
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3636
- Joined: Mon Dec 14, 2015 5:05 am
- Location: Your monitor
- Contact:
Re: How do I create a scene with no sprites or textbox?
Code: Select all
window hide
scene bg meadow
with fade
# You can cut back on lines by combining the two previous statements, into one. scene bg meadow with fade
# This only works if you have no other images to fade in at the same time.
scene bg house
with fade
window show
"Story continues here"
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Free Android GUI - Updated occasionally
Twitter
Imperf3kt Blackjack - a WIP blackjack game for Android made using Ren'Py
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Free Android GUI - Updated occasionally
Imperf3kt Blackjack - a WIP blackjack game for Android made using Ren'Py
Re: How do I create a scene with no sprites or textbox?
Hi Imperf3kt,
Thanks for the reply. I tried this method but with this example I'm finding the meadow scene blinks onto the screen for half a second and then cuts to house scene which isn't what I want to do.
Could this be to do with my settings?
Thanks for the reply. I tried this method but with this example I'm finding the meadow scene blinks onto the screen for half a second and then cuts to house scene which isn't what I want to do.
Could this be to do with my settings?
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3636
- Joined: Mon Dec 14, 2015 5:05 am
- Location: Your monitor
- Contact:
Re: How do I create a scene with no sprites or textbox?
That's because of the "scene" command
Try using "show" instead - it also works for backgrounds, you aren't required to use "scene" all the time.
Try using "show" instead - it also works for backgrounds, you aren't required to use "scene" all the time.
Code: Select all
window hide
scene bg meadow with fade
show bg house with fade
window show
"Story continues here"
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Free Android GUI - Updated occasionally
Twitter
Imperf3kt Blackjack - a WIP blackjack game for Android made using Ren'Py
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Free Android GUI - Updated occasionally
Imperf3kt Blackjack - a WIP blackjack game for Android made using Ren'Py
Re: How do I create a scene with no sprites or textbox?
Hmm..I've tried both variations of scene and show for bg meadow and bg house, but it still only shows bg meadow for just half a second before cutting to bg house. I'm not sure why it's doing this 
- DannyGMaster
- Regular
- Posts: 113
- Joined: Fri Sep 02, 2016 11:07 am
- Contact:
Re: How do I create a scene with no sprites or textbox?
Don't know if this will help, but I kind of solved this problem by creating a blank character that says nothing:
I admit this is not the best solution and I hope someone does have a better one, I've also tried all manner of ways and this was the only one that worked.
Code: Select all
define nothing = Character('', window_background=None) #This is the blank character, kind of a placeholder
label start:
"Changing scenes."
window hide
scene bg meadow with fade
nothing "" #Here I have nothing say an empty string. The user clicks, the next image is shown.
scene bg house with fade
window show
"Story continues here"
The silent voice within one's heart whispers the most profound wisdom.
Re: How do I create a scene with no sprites or textbox?
Thank you DannyGMaster, this works! 
Also just to add, I used window auto rather than window show so that it still fades out with each scene.
Also just to add, I used window auto rather than window show so that it still fades out with each scene.
- TellerFarsight
- Veteran
- Posts: 230
- Joined: Sun Jun 04, 2017 8:09 pm
- Projects: Vora, Secrets Untold
- Location: Toronto, ON
- Contact:
Re: How do I create a scene with no sprites or textbox?
If you just type
pause
instead of
pause 4
it becomes a pause that lasts forever until you click. Just try removing the 4 and see if that works.
pause
instead of
pause 4
it becomes a pause that lasts forever until you click. Just try removing the 4 and see if that works.
Who is online
Users browsing this forum: Google [Bot]