Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: amateurhour on Tue 16/10/2012 18:46:06

Title: Just a quick question about video playback
Post by: amateurhour on Tue 16/10/2012 18:46:06
Hey, this is a dumb question, but I've looked at the manual regarding the playvideo function, as well as a few threads and the description is a little fuzzy of what it actually does. I'm running a 640x400 game and I've made a video in After Effects to play during the intro in my intro room.

The confusion is to how the video plays, and what the recommended file type is.

Does the video actually play in the 640x400 window or does it launch a separate viewer to play?

Also, is it best to use OGG for the video file, regarding licensing if I wish to sell a game (in the future)?

Sorry to make a thread for that, but the description of the command in the manual didn't really spell it out for me.

Thanks!
Title: Re: Just a quick question about video playback
Post by: Khris on Tue 16/10/2012 22:57:49
It is played inside the game window.

I'd use OGG because
a) AGS has the proper codec built-in while other formats would have to rely on the user having it installed on their system.
b) the video is built into the exe file and thus can't be watched without playing the game.
c) since it is recommend to use ogg instead of mp3 for audio files if you want to make a commercial game, there won't be any licensing issues.
Title: Re: Just a quick question about video playback
Post by: amateurhour on Tue 16/10/2012 23:43:47
Cool, thanks man!