Dissolve that Doesn't Stop Game?

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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.
Post Reply
Message
Author
goldenphoenyyx
Newbie
Posts: 11
Joined: Thu Jun 20, 2019 6:47 pm
Contact:

Dissolve that Doesn't Stop Game?

#1 Post by goldenphoenyyx » Fri Jan 10, 2020 6:56 pm

I'm trying to have images dissolve in the background in a cycle. However when other actions are done it kind of pauses and waits to finish the dissolve so clicking doesn't work for a second. Is there a way around this?

Code: Select all

screen daynight:
	add "bg morning"
	$ renpy.transition(dissolve)

User avatar
gas
Miko-Class Veteran
Posts: 620
Joined: Mon Jan 26, 2009 7:21 pm
Contact:

Re: Dissolve that Doesn't Stop Game?

#2 Post by gas » Fri Jan 10, 2020 9:02 pm

Dict transitions.
https://www.renpy.org/doc/html/transiti ... ransitions

Another idea is to use an ATL transform instead of transitions, that are made specifically for a change in scene. WIth an ATL transform execution don't wait for inputs.
10 ? "RENPY"
20 GOTO 10

RUN

goldenphoenyyx
Newbie
Posts: 11
Joined: Thu Jun 20, 2019 6:47 pm
Contact:

Re: Dissolve that Doesn't Stop Game?

#3 Post by goldenphoenyyx » Sat Jan 11, 2020 10:41 pm

gas wrote:
Fri Jan 10, 2020 9:02 pm
Dict transitions.
https://www.renpy.org/doc/html/transiti ... ransitions

Another idea is to use an ATL transform instead of transitions, that are made specifically for a change in scene. WIth an ATL transform execution don't wait for inputs.
Thanks! That worked but brought up a new problem- now when continuing through text, the dissolve skips and snaps to full opacity anyway.

Code: Select all

define dissolve_image = { "master" : Dissolve(1.0) }

screen daynight:
	add "bg morning"
	$ renpy.transition(dissolve_image)
I tried using atl but the alpha transition fades to black before it goes to the image rather than dissolve into the next one.

User avatar
Alex
Lemma-Class Veteran
Posts: 2428
Joined: Fri Dec 11, 2009 5:25 pm
Contact:

Re: Dissolve that Doesn't Stop Game?

#4 Post by Alex » Sun Jan 12, 2020 3:03 am


Post Reply

Who is online

Users browsing this forum: mikolajspy