Playing music file over movie

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
leviathanimation
Regular
Posts: 49
Joined: Wed Nov 15, 2017 9:33 pm
Completed: Tyrania visual novel
Projects: Making multiple animations
Deviantart: leviathanimation
itch: leviathanimation
Location: Canada
Contact:

Playing music file over movie

#1 Post by leviathanimation » Wed Jan 08, 2020 10:13 pm

I put music in my main menu and after that, there is a movie file (.mpg) playing. I would like the music of the menu to play over it but when the movie starts, the music just stops and restarts after the video ends.
Image

User avatar
Per K Grok
Miko-Class Veteran
Posts: 741
Joined: Fri May 18, 2018 1:02 am
Completed: the Ghost Pilot, Sea of Lost Ships, Bubbles and the Pterodactyls, Defenders of Adacan Part 1 & 2
itch: per-k-grok
Location: Sverige
Contact:

Re: Playing music file over movie

#2 Post by Per K Grok » Thu Jan 09, 2020 1:52 am

leviathanimation wrote:
Wed Jan 08, 2020 10:13 pm
I put music in my main menu and after that, there is a movie file (.mpg) playing. I would like the music of the menu to play over it but when the movie starts, the music just stops and restarts after the video ends.
$ renpy.movie_cutscene("movies/Landing2.mpg", stop_music=False)

User avatar
leviathanimation
Regular
Posts: 49
Joined: Wed Nov 15, 2017 9:33 pm
Completed: Tyrania visual novel
Projects: Making multiple animations
Deviantart: leviathanimation
itch: leviathanimation
Location: Canada
Contact:

Re: Playing music file over movie

#3 Post by leviathanimation » Thu Jan 09, 2020 11:20 am

Thank you very much!
Per K Grok wrote:
Thu Jan 09, 2020 1:52 am
leviathanimation wrote:
Wed Jan 08, 2020 10:13 pm
I put music in my main menu and after that, there is a movie file (.mpg) playing. I would like the music of the menu to play over it but when the movie starts, the music just stops and restarts after the video ends.
$ renpy.movie_cutscene("movies/Landing2.mpg", stop_music=False)
Image

Post Reply

Who is online

Users browsing this forum: No registered users