Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Movie through BGM - Help.

I doubt most you even know this, but; if you put a movie into your BGM folder, you can play it ingame and even in the editor. Try it for yourself.

Anyway, my question is this; when I play the movie, it endlessly repeats itself like any other BGM. How do I prevent this, and stop the movie after it has been played once? Will I have to put a "Wait" command depending on how long the movie is, and then put a "Fade-Out BGM" command? But what if the movie's length is more than 999 Frames?

Any suggestions?
 
Wow. I did not know that... what type of movies can you play? .avi, etc? That is awesome :lol:

I don't really have a solution for your question, though, but I guess the "Wait" command would work. If the movie's longer than 999 Frames, have 2 or more "Wait" commands and add them together, that should do the trick.
 
But it pops up in another window :S  It would be nice if the movie plays on the game window.

Why don't you use it as an ME? ME doesn't loop itself, so no worry about the movie length :)
Still, the movie window won't close itself once the movie is finished :(
 
Before playing movie, change character sprite to none, transfer player to blank map and then play. In that blank map, put a conditional branch checking if the A button is being pressed. Under the conditional branch transfer player to the next map. Works perfectly for me.

EDIT: Remember to tell the player how to skip the video and what to do when the movie is done.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top