Per K Grok wrote: ↑Wed Jan 02, 2019 6:30 pm
Nanahs wrote: ↑Wed Jan 02, 2019 3:33 pm
For example, there's a label:
Code: Select all
label bedroom:
scene bedromm
show screen lights
The "screen lights" always have that fadein effect when you start the label.
Like this:
I wanted the screen to appear directly as it is on the second image. Without the fadein.
Is there a way to delete this fadein/fadeout effect when using call/show/hide screen?
When using call/show/hide screen it would appear/disappear out of a blue. That's what I'm going for though
PS: Also when using "
action Return('park')" it also has a fadein/out effect, even if I'm not using something like (with fade):
To make it short: I don't want the game to use fadein/out if I didn't ask to
Thanks.
Nice background
call/show/hide screen should be without fadein/out as a standard as far as I can understand.
Could there be something in your code that has changed that?
Do you by any chance have a code line somewhere with 'renpy.transition' in it?
If you make a new project from scratch with just the background and the screen, do you still get the fadein/out effect? If not, that is a strong indication you got something in your ordinary project that causes this.
Thanks
The thing is that I'm using a daytime code.
According to the hour, the bedroom window changes. There's a an animated window screen with sun, another one with moon, etc.
But it was not "updating". Sometimes the window "Night" should already appear but the code was not doing it. So I added a timer that refreshes the page each 5 minutes.
I did it like this:
Code: Select all
screen check_daytime():
timer 300 repeat True action Jump("windowchange")
label bedroomanna:
scene bedroom1
show screen check_daytime
$hour = datetime.datetime.now().hour
if hour in [20, 21, 22, 23, 00, 1, 2, 3, 4, 5]:
hide screen evening
show screen night
if hour in [6, 7, 8, 9, 10, 11]:
hide screen night
show screen morning
if hour in [12, 13, 14, 15, 16]:
hide screen morning
show screen afternoon
if hour in [17, 18, 19]:
hide screen afternoon
show screen evening
And also like that:
Code: Select all
screen check_daytime():
timer 300 repeat True action Jump("windowchange")
label bedroomanna:
scene bedroom1
show screen check_daytime
label windowchange:
$hour = datetime.datetime.now().hour
if hour in [20, 21, 22, 23, 00, 1, 2, 3, 4, 5]:
hide screen evening
show screen night
if hour in [6, 7, 8, 9, 10, 11]:
hide screen night
show screen morning
if hour in [12, 13, 14, 15, 16]:
hide screen morning
show screen afternoon
if hour in [17, 18, 19]:
hide screen afternoon
show screen evening
It works nice.
The problem is that whenever the timer jumps to the label again to "refresh/update" the windows screen, it makes a fadein/out effect and it looks weird.
So I thought that if I could delete this fadein/out effect from screens it would stop.
None of my labels has a fade. And I also didn't edit my options.
I just wanted the time to "refresh" so that the window would change properly. But this fadein/out effect is just weird.
Like, you're in the middle of a conversation in the game and the label fades in/out out of a sudden