Playing a non-fullscreen video in a specified space(e.g.,23,78)

Started by jfcwilson, Tue 07/10/2008 21:23:09

Previous topic - Next topic

jfcwilson

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.

GarageGothic

It's not a feature of AGS, but check out the ags_theora Video Player plugin which allows you to do exactly that.

jfcwilson

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.

GarageGothic

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?

jfcwilson

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.

GarageGothic

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.


SMF spam blocked by CleanTalk