• To improve security, we will soon start forcing password resets for any account that uses a weak password on the next login. If you have a weak password or a defunct email, please update it now to prevent future disruption.

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
4,640
7,648
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
252
232

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