Topic:   Simultaneous movie play   (Read 35549 times)


0 Members and 3 Guests are viewing this topic.

TJgamer


  • GMG Newbie

  • *


  • Posts: 16

  • I love YaBB 1G - SP1!
Simultaneous movie play
« on: November 06, 2009, 02:44:57 AM »
Can an audio file and music file play at the same time in your game? What I mean is, how can a movie file play while a music file is already playing?

Tireas Dragon


  • GMG Extraordinaire

  • ***


  • Posts: 1626

  • Trying to recover from my shattered screen.
Re: Simultaneous movie play
« Reply #1 on: November 06, 2009, 10:40:35 AM »
Well if you know how you can try to make the sound file mix with the movie file. Other than that I don't think its possible.
I must be dreaming (wake up me wake up) How could this have happened. Tireas' cry when he found his computer fallen over in his chair with it's screen shattered.

GMG Mike


  • Administrator

  • GMG-er

  • *****

  • no avatar

  • Posts: 536
    • mikerichardson.name
Re: Simultaneous movie play
« Reply #2 on: November 06, 2009, 12:29:47 PM »
Only one movie can play at a time in GameMaker.

jeremymaharg


  • GMG Newbie

  • *


  • Posts: 52

  • Jeremymaharg Software
Re: Simultaneous movie play
« Reply #3 on: November 06, 2009, 01:03:59 PM »
It is possible to play one movie and one sound simultaneously. If you want two audio tracks playing on top of each other you could embed one in a .mov and play the other as a sound, or try embedding both into the same .mov container. Not sure how to effectively do the second option without outdated software, but it could be done with something like MoviePlayer (Mac OS 9).
The first option could be executed with code like the following:
Code: [Select]
MOVIE 0 0 movie1.mov
SOUND musicsoundclip

EDIT: You could also use Quicktime Pro instead of the old MoviePlayer if you are willing to pay for a key to unlock QT's Pro features.
« Last Edit: November 06, 2009, 01:11:17 PM by jeremymaharg »
[url=http://