Ren'Py Displaying multiple videos on main menu background

korukoru

New Member
Aug 13, 2020
11
2
Hi, I wanted to ask, how can I display multiple videos on the main menu background? Only displaying one is pretty simple, I just done this
Python:
define gui.main_menu_background = Movie(play="gui/main_menu0.webm", loop=True)
But what I want to do is to have multiple videos, for example: gui/main_menu0.webm, gui/main_menu1.webm, gui/main_menu2.webm and so on. Each of them staying for like 5 seconds and than looping back to the first one
 

MissFortune

I Was Once, Possibly, Maybe, Perhaps… A Harem King
Respected User
Game Developer
Aug 17, 2019
5,379
8,647
Why not just embed them into the video itself?

Just put the background video into a video editor and then put the other ones above it. Video 1 for X seconds on the timeline > Dissolve into Video for X seconds on the timeline > and so forth > Then dissolve the final video while making sure the video itself is in a loopable state.
 
  • Like
Reactions: gojira667

gojira667

Member
Sep 9, 2019
325
320

It takes a list of paths. :unsure: Not sure if you need a play_callback to define possible transitions between the movies...