Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Video and sprite

Author
Message
Juande
12
Years of Service
User Offline
Joined: 2nd Sep 2011
Location:
Posted: 19th Dec 2012 10:20
Hi everyone,

I have a problem. I have a video (background) in my game menu, and I want to place some sprites on the video... but I can't. The video allways hides the sprites. What command can i use for setting the video depth?

Thanks!
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 19th Dec 2012 15:42
Currently video always appears above everything else as we have not found a way to integrate it with OpenGL. If at some point in the future we find a way of doing this then it should become possible.
Juande
12
Years of Service
User Offline
Joined: 2nd Sep 2011
Location:
Posted: 19th Dec 2012 16:58
Ok. I understand you...
I have tested with videos and I have seen that the video is always above everything (even above the window)... If the window is 640x376 and you use setvideodimensions(320,0,640,376), the video appear above the window (No cuts in Windows OS).

Thanks Paul!
Alex_Peres
AGK Master
14
Years of Service
User Offline
Joined: 13th May 2009
Location: The Milky Way Galaxy
Posted: 30th Dec 2012 17:46
Paul, did you read this http://nehe.gamedev.net/tutorial/playing_avi_files_in_opengl/23001/
?

Login to post a reply

Server time is: 2024-05-04 06:27:05
Your offset time is: 2024-05-04 06:27:05