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.
-
beastcarving
- Regular
- Posts: 139
- Joined: Mon May 13, 2019 5:03 pm
- Completed: Pulse Cage https://beastcarving.itch.io/pulse-cage-the-full-series
- Projects: Your Brother's Religion
- Organization: BeastCarving Studio
- IRC Nick: BeastCarving
- Tumblr: beastcarving
- Deviantart: beastcarving
- Github: beastcarving
- itch: beastcarving
-
Contact:
#1
Post
by beastcarving » Fri Nov 06, 2020 9:04 pm
I want the story to advance while the scene is dissolving. When the scene dissolves the textbox will either be empty until the scene is done dissolving or not show up at all. How do I make so the text box advances while the transition is happening.
Code: Select all
show lunchroom with superslowdissolve
Last edited by
beastcarving on Sun Nov 08, 2020 5:58 am, edited 1 time in total.
-
_ticlock_
- Veteran
- Posts: 391
- Joined: Mon Oct 26, 2020 5:41 pm
-
Contact:
#2
Post
by _ticlock_ » Fri Nov 06, 2020 10:36 pm
Hi,
beastcarving,
For example, you can use transform:
Code: Select all
transform slowdissolve:
on hide:
alpha 1.0
easein 10.0 alpha 0.0 # 10 second dissolve
label start:
show lunchroom at slowdissolve
e "lunchroom is shown"
hide lunchroom
e "lunchroom is hiding"
e "lunchroom might be still hiding"
-
hell_oh_world
- Miko-Class Veteran
- Posts: 777
- Joined: Fri Jul 12, 2019 5:21 am
- Projects: The Button Man
- Organization: NILA
- Github: hell-oh-world
- Location: Philippines
-
Contact:
#3
Post
by hell_oh_world » Sat Nov 07, 2020 2:07 am
If I remember correctly, the
with statement requires causes an interaction. The game will wait until a transition is finished before proceeding onto the next line of code. So yeah transforms should fix this I guess.
https://patreon.renpy.org/interaction.h ... ion-happen
Users browsing this forum: No registered users