Jump to content
  • Advertisement
Sign in to follow this  
CaossTec

OpenGL Using Flash in C++ to create the interface

This topic is 4684 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Flash allows creating fancy interfaces with animated menus and buttons. Performing the same task in C++ using DirectX or OpenGl is a lot more complicated. My goal is to render the game and place in front of the screen a layer with the flash. Is there any library that allows me to integrate flash in a DirectX or OpenGl application? So far I had found this library: http://www.tulrich.com/geekstuff/gameswf.html It output the flash into an OpenGl screen. But I need it to be in DirectX!!. Any help?

Share this post


Link to post
Share on other sites
Advertisement
Doesn't Direct3D have a built in skinnable GUI system ready to go? I'm an OpenL+GL guy, but I see this GUI all the time in the d3d samples.

Share this post


Link to post
Share on other sites
Quote:

Doesn't Direct3D have a built in skinnable GUI system ready to go? I'm an OpenL+GL guy, but I see this GUI all the time in the d3d samples.


Yes Direct3D have a GUI system, but Flash allows more than that. The true power of Flash is how easily animations can be created. Is not just showing GUI but making it fade when a button is touch, scrool it in a path when some option is activated, .... I want that!!!! :<

Share this post


Link to post
Share on other sites
Quote:

some other players are here


I checked the open and closed sorce flash players an no one seems to work as a C++ library to render flash on top of a DirectX device. They mostly are applications to view/edit flash movies. :<

Share this post


Link to post
Share on other sites
IIRC, Thatcher claimed that GameSWF would be pretty easy to port to DirectX. I know he used it in some Xbox titles so it must be doable.

That said, I've heard some less-than-encouraging things about gameswf in its current state - namely that it doesn't support a very large set of what's currently possible in Flash, particularly vis a vis Actionscript. Now you may decide that what it doesn't support you don't need anyway (and if you're just using it for menus and suchlike, that's probably the case), but if you do plan on using Flash's latest-and-greatest then you may need to do some work to bring it up to spec.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!