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.
-
InvertMouse
- Regular
- Posts: 95
- Joined: Sat May 31, 2014 3:41 am
- Completed: Unhack
- Organization: InvertMouse
- Location: Sydney, Australia
-
Contact:
#1
Post
by InvertMouse » Fri Sep 18, 2015 10:41 pm
Hello there

. At the moment, I am crossfading between images like this:
scene image_a
"Hello! Here is the first image."
scene image_b with dissolve
"And here is the second image."
When I crossfade to image b, the dialogue box disappears for a second before coming back in. Is that a way to prevent this from happening? I am working on a game at the moment that has quite a few cg transitions, so the constant popping in and out of that box can become quite a distraction.
Thank you everyone

!
-
philat
- Eileen-Class Veteran
- Posts: 1853
- Joined: Wed Dec 04, 2013 12:33 pm
-
Contact:
#2
Post
by philat » Fri Sep 18, 2015 11:13 pm
Use ATL instead of transitions. Transitions force the game to wait until they're finished; ATL does not. You use ATL with "at" rather than "with," and you'll probably have to define a few to fit your needs, but there are good tutorials around for that.
Code: Select all
init:
transform atldissolve:
alpha 0
linear 0.5 alpha 1.0
label start:
"blah"
scene black at atldissolve
"blah blah"
-
trooper6
- Lemma-Class Veteran
- Posts: 3712
- Joined: Sat Jul 09, 2011 10:33 pm
- Projects: A Close Shave
- Location: Medford, MA
-
Contact:
#3
Post
by trooper6 » Sat Sep 19, 2015 12:18 am
Would putting "window show" in your script.rpy file solve the problem?
Like so:
A Close Shave:
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/10
*First Next thing to do: Code in all CG and special animation stuff
*Next Next thing to do: Set up film animation
*Other Thing to Do: Do SFX and Score (maybe think about eye blinks?)
Check out My Clock Cookbook Recipe:
http://lemmasoft.renai.us/forums/viewto ... 51&t=21978
-
philat
- Eileen-Class Veteran
- Posts: 1853
- Joined: Wed Dec 04, 2013 12:33 pm
-
Contact:
#4
Post
by philat » Sat Sep 19, 2015 1:20 am
Reason I recommended atl rather than window show,btw, is that window show will show the window but will still wait for the transition to finish with a blank window (i.e., text disappears). It tends to be slightly more jarring than atl, which simply goes on with the game. But good point bringing the option up.
-
InvertMouse
- Regular
- Posts: 95
- Joined: Sat May 31, 2014 3:41 am
- Completed: Unhack
- Organization: InvertMouse
- Location: Sydney, Australia
-
Contact:
#5
Post
by InvertMouse » Sat Sep 19, 2015 6:14 am
Thank you so much for your responses

! I will give these a try right away.
Users browsing this forum: Ocelot