Hi! I'm on a project that I really need to play a video/cutscene like WMV and I would like to ask how can I do that?
I want to play the video/cutscene on the windows of the game itself, not on seperate screen.
I'm using Pro and I've tried to use the DnD, but the screen didn't show up anything. Is there another way to do it?
How to show video/cutscene in Game Maker windows?
Started by Nicholas Chan, Jan 14 2011 04:00 PM
3 replies to this topic
#1
Posted 14 January 2011 - 04:00 PM
#2
Posted 14 January 2011 - 04:03 PM
Game Maker Manual > Splash Functions
#3
Posted 14 January 2011 - 04:17 PM
You should be able to do this in D&D although GML coding gives more control. One important thing to remember with videos is that they rely upon the end user having the required codec(s) installed on their machine.
I generally encode the videos as AVI using Microsoft 9 codec. It gives a good compression and reasonable quality. I also supply the distributable installation of these codec(s) with the game installer. (You can download the distributable package from Microsoft but must include their installer and license) Codec(s) are subject to copyright so having them on your system does not give you the right to given to someone else.
The GML codes to look into are:
splash_show_video(filename,loop)
splash_set_main(true) - default setting
slash_set_interrupt(true) - default
If the video plays outside of GM on your default media player then it should play in GM.
I generally encode the videos as AVI using Microsoft 9 codec. It gives a good compression and reasonable quality. I also supply the distributable installation of these codec(s) with the game installer. (You can download the distributable package from Microsoft but must include their installer and license) Codec(s) are subject to copyright so having them on your system does not give you the right to given to someone else.
The GML codes to look into are:
splash_show_video(filename,loop)
splash_set_main(true) - default setting
slash_set_interrupt(true) - default
If the video plays outside of GM on your default media player then it should play in GM.
#4
Posted 15 January 2011 - 08:03 AM
It works, thanks 
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











