Post removed.
Post removed.
Post removed.
Last edited by TheRLG on Fri Dec 28, 2007 7:45 am, edited 1 time in total.
activex...
the method you link uses an activex control to display the flash animation. that certainly would not work in linux...and would be difficult to integrate into irrlicht. Probably to do this properly we would need to create an OSS flash interpreter much as niko did to read .X files.
My irrlicht-based projects have gone underground for now, but if you want, check out my webcomic instead! http://brokenboomerang.net
-
Guest
I've also been playing around with something called SWFDEC which uses LibArt to draw Shockwave Flash versions 3 and less (no actionscripting). I've been messing with it... if I can get it to work, I'll post it 
Flash would be an awesome addition to the GUI system; you could build your game's GUI in Flash and that looks great.
Some special effects would also be easier to do in Flash.
Also, flash is MUCH SMALLER than a stream of bitmaps for animations.
Put flash into a texture, and you can have an animated computer screen in your game !
And other stuffs like that.
Flash would be an awesome addition to the GUI system; you could build your game's GUI in Flash and that looks great.
Some special effects would also be easier to do in Flash.
Also, flash is MUCH SMALLER than a stream of bitmaps for animations.
Put flash into a texture, and you can have an animated computer screen in your game !
And other stuffs like that.
check this out it's a movie on the site murphy posted called little ninja.
it was done in flash and this is a direct link to the chapters section.
[url = http://atomfilms.shockwave.com/content/ninjai/]Little Ninja link[/url]
it was done in flash and this is a direct link to the chapters section.
[url = http://atomfilms.shockwave.com/content/ninjai/]Little Ninja link[/url]
Unfortunatly, doing it with my library would be problematic, but possible.Testur wrote:If it is possible to use flash for GUI, how far is the step to use flash for textures?
I think GameSWF allows you to program ActionScript, but SWFDEC doesn't. Basically, to use flash for a GUI, you would make a Flash GUI Scenenode that passes events to your event reciever. Then you would make a button in Flash that, on click, runs an actionscript that passes the name to the SWF decoder. Then Irrlicht would take care of the rest. In this case,
Flash (Actionscript) -> Irrlicht(GUI Events)
As for using Flash in textures, you would have the Flash decoder output onto an ITexture*, and then call an update function every frame in your game loop. It wouldn't bee too hard.
However, if you wanted Flash in your Scene, it would be better (I think) to make a "FlashPlayer" Scenenode that could tell the update function weither or not to bother doing all the flash decoding depending on weither the FlashPlayer scenenode was even visible or not. Don't know if that's possible with Textures