Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: jfcwilson on Tue 07/10/2008 21:23:09

Title: Playing a non-fullscreen video in a specified space(e.g.,23,78)
Post by: jfcwilson on Tue 07/10/2008 21:23:09
I'm not certain that this or the technical forum is the correct place.
The topic title is fairly explantory, but I'll say it again.

Is it possible to play a non-full screen video in a specified area on the screen? If it's not possible, please ignore my post.
Title: Re: Playing a non-fullscreen video in a specified space(e.g.,23,78)
Post by: GarageGothic on Tue 07/10/2008 21:27:35
It's not a feature of AGS, but check out the ags_theora Video Player plugin (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=34910.msg456858#msg456858) which allows you to do exactly that.
Title: Re: Playing a non-fullscreen video in a specified space(e.g.,23,78)
Post by: jfcwilson on Wed 08/10/2008 19:57:17
I checked that out. I'm not sure, but it seems to say a game made with it will only run on windows. Is that the case? The reason I choose AGS was becouse of its windows\mac portability.
Title: Re: Playing a non-fullscreen video in a specified space(e.g.,23,78)
Post by: GarageGothic on Wed 08/10/2008 21:21:55
Yes, unfortunately plugins only work with Windows. If you tell us in more detail what you're trying to do, I'm sure we could suggest other solutions. Perhaps you can import the video frames as sprites and animate it as an object, or - in case you don't have anything going on while the video plays - you could just modify the video to include the background image around it?
Title: Re: Playing a non-fullscreen video in a specified space(e.g.,23,78)
Post by: jfcwilson on Wed 08/10/2008 22:33:31
I'm making a first-person adventure.
An example of what I'm trying to do:

A description of the background:

On top of a ledge. In the sky, clouds are moving toward the horizon.

The video I'm using for this is an AVI, 15-frames per second, compressed.
So this is the general idea, a looping video that plays on the background while the player can still do things.
Title: Re: Playing a non-fullscreen video in a specified space(e.g.,23,78)
Post by: GarageGothic on Wed 08/10/2008 22:37:27
You should be able to play the loop as an animated object easily. The game file would be somewhat larger due to using sprites instead of compressed video, but if you are able to reuse the same clouds for multiple rooms and the animation loop isn't too long it's definitely workable.
Title: Re: Playing a non-fullscreen video in a specified space(e.g.,23,78)
Post by: jfcwilson on Wed 08/10/2008 22:48:45
I'll give it a  try, thanks.