Wintermute Engine Forum

Wintermute Engine => Feature requests, suggestions => Topic started by: odnorf on April 09, 2003, 06:52:27 PM

Title: sprites with videos
Post by: odnorf on April 09, 2003, 06:52:27 PM
I'd like to be able to use a video inside a sprite instead of many frames. This could be usefull to create simple animations (but with a lot of frames... like a tv in the background) and complicated full-animated backgrounds.
Think of Blade Runner and it's animated backgrounds.

Sorry for my bad english.
Title: Re:sprites with videos
Post by: Mnemonic on April 10, 2003, 08:37:03 AM
Yes, that would be relatively easy to implement. I only see two possible problems:
1) You couldn't use the transparency for those videos (not really a problem for backgrounds).
2) WME currently doesn't allow you to store AVIs in the compiled packages, the video files need to be stored separately.

Anyway, I'm adding this to my ToDo list :)
Title: Re:sprites with videos
Post by: odnorf on June 16, 2003, 06:20:52 PM
That's an old thread already!!! :)

Anyway, I was thinking about this future feature, now that you publish on the net the todo list and I thought some improvements (that are going to be REALLY usefull for dreams). How about adding the ability, when you add a sprite+avi in the scenedit, to be able to use masks for the avi. Those masks could be vector but also greyscale bitmaps (like those from photoshop, for greater precise).
Title: Re:sprites with videos
Post by: Mnemonic on June 16, 2003, 06:24:06 PM
You mean something like an alpha channel for the videos? To make them merge with the background?
Title: Re:sprites with videos
Post by: odnorf on June 16, 2003, 06:38:57 PM
That was a fast reply ! :)

Something like that, but I wouldn't call it an aplha channel.

Even without that it should be possible: put the video behind the background and then put the background on top with a "hole" in the place you want the video to be seen. But that's not the optimal way. With the way I described in my previous post it should be much easier, and also has many possibilities (image videos that don't have to be seen as squares :) ).