Need a script make movie run as background

Started by finalholylight, January 19, 2013, 11:24:57 am

Previous topic - Next topic

finalholylight

If you play final fantasy 7,8,9 you will know this
I want a movie file run as background, then it will below character, and movie run parallel with game, that's mean actor can be control when movie is running.

Like this:

actor in game with no movie:
Spoiler: ShowHide


play movie:
Spoiler: ShowHide


and I want this when movie are playing:
Spoiler: ShowHide

Blizzard

Why don't you just use animated panorama backgrounds?
Check out our game brands:

Daygames
Game Night Games
Chugnar Games

Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

finalholylight

January 19, 2013, 12:43:32 pm #2 Last Edit: January 19, 2013, 12:45:07 pm by finalholylight
If I use animated panorama, there are too many animation frames, for a movie scene with 15s, then I will use 400 pictures or more, omg ~.~!
in this case, create a movie easier than create 400 pictures.

G_G

Yeah but playing a movie is a lot harder than displaying a bunch of pictures in quick succession. First of all, the script would require an outside library to actually decode the video file since Ruby would be far too slow to actually do it on it's own. Then you have to worry about trying to pass each frame from the library to the RGSS engine. Since the library can't just decode it and automatically convert it to a ruby bitmap, you'd have to write your own conversion process for that. And if you don't want to do that, the other route I could think of is having the outside library render on top of the RGSS window using a window handler. But the problem arises when the video would get rendered on top and not behind like you would want. See how complicated this would be?

I'm not trying to be a dick or anything, but this is a lot of work for a scripter to do. Your best bet is to use the Picture Movie add-on from ToA and use 400+ images. I'm not being mean, but no ones probably going to fulfill this request.

Blizzard

Well, to be honest, we're using the Theora Player Library (which my boss made) that depends on the Theora Video Library and it works more or less well in C++. The advantage is that you don't have to play have any special codecs installed, but because of that the number of formats you can use for videos is limited to only Theora's format. So using something like that and making/having a generic script for movie playback has its ups and downs.
Check out our game brands:

Daygames
Game Night Games
Chugnar Games

Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.