Page 1 of 1

Text over video

Posted: Fri Jun 29, 2012 1:38 pm
by xabierpayet
is any way to put a single text scroll over a video?
i have an .avi video and i need make a single scroll on it, but the only way to do this is creating a new transparen screen over the window? as for example doing sprites is not a solution, why the sprite go to back of the video ever. Anyone know other solution?

Re: Text over video

Posted: Fri Jun 29, 2012 3:01 pm
by airsoftsoftwair
Sorry, that's currently not possible.

From the documentation:
Please note that videos will always appear above everything else. This
means that it is impossible for you to draw on top of a video. Instead,
all graphics commands will always draw beneath the video area. Even
sprites will never appear above the video graphics. Also, videos are
currently not integrated into the layers system at all. Thus, calling
PlayVideo() will not add a new layer into the stack.

Re: Text over video

Posted: Fri Jun 29, 2012 3:11 pm
by xabierpayet
thanks for the answer, i dont see this paragraph in the guide sorry

Re: Text over video

Posted: Fri Jun 29, 2012 3:17 pm
by xabierpayet
is not possible add this feature in future hw versions? add text or graphics (brush or sprites) will be nice for make video titlers or games based in fmv as microcosm

Re: Text over video

Posted: Fri Jun 29, 2012 11:25 pm
by airsoftsoftwair
It's not so easy because video playback may use hardware acceleration via overlays and it's technically not possible to draw on top of overlays.