Jump to content

Recommended Posts

Posted (edited)

Hi Community,

I'm looking for a way to do a Video Overlay GUI or something like that. The idea is to create a GUI which plays a video loop (with transparency/alpha channel) in front of an other GUI. Before you asking why - because I don't believe that GDIPlus can do it out of the box. My skillset for that kind of graphical things isn't good enough to do that, but here are some specialist like @UEZ maybe ;) who can help.


Example alpha channel video (visualized as animated *.gif):


I tried to do the light rays effect directly with GDIPlus, but honestly that's a bit too difficult for me. I would be very glad and grateful if there are some suggestions, ideas or recommendations.


Code for the Video play:

  Reveal hidden contents

 

Example video "End.mpeg":

  Reveal hidden contents

 

The next challenge is that the overlay GUI should be not clickable. If I hover over the overlay area, I want to have the possibility to control the GUI or what ever, in the background. But if there is any chance to make it with GDIPlus as a Video Overlay for light rays, I would prefer that approach instead of my crazy work-around idea.

Thanks for any suggestion - I'm grateful!
Sven

Edited by Sven-Seyfert
Posted

Maybe I should explain that I want to use it in my 2D game. It should improve the game ambience a lot.

Otherwise I tried to change the brightness and contrast of the background tiles (the images), but it didn't work and it would look not very good.

Is there any other possibility to deal with such effects in an game? Other recommended third party tools that should be used? But I like GDIPlus and I don't wanna work with Irrlicht for example.

Any help, suggestion, recommendation and ideas are welcome.

Thanks - I'm grateful!
Sven

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...