Delay on video playback?

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
User avatar
Amie
Regular
Posts: 28
Joined: Tue Jun 06, 2017 4:48 am
Contact:

Delay on video playback?

#1 Post by Amie » Fri Feb 09, 2018 6:13 am

Hi everyone! When I use a movie in my game, there's a small delay before it plays, so for example if I transition to a movie backdrop, for a split second you'll see the transparent background before the movie starts playing, meaning I can't get a smooth transition into the movie, is there any way around this? Perhaps a way to preload videos so they play instantly when called or something like that?

Thanks in advance fro any help :)

User avatar
PyTom
Ren'Py Creator
Posts: 15445
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Delay on video playback?

#2 Post by PyTom » Sat Feb 10, 2018 12:42 pm

I'll look into preloading videos and audio at some point, but for now, 6.99.14.1 should help with this some. You might also want to put the movie on top of a background of the first frame, which you'll see instead of the movie until it's loaded.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
Amie
Regular
Posts: 28
Joined: Tue Jun 06, 2017 4:48 am
Contact:

Re: Delay on video playback?

#3 Post by Amie » Sat Feb 10, 2018 2:38 pm

That's great to know! Thanks PyTom! :D

Post Reply

Who is online

Users browsing this forum: Google [Bot]