How difficult to use Flixely renderer with WCK?

Hi Mayobutter,

How difficult do you estimate that it would be for me to patch wck to use a renderer similar to Flixel's (BitmapData/CopyPixels) instead of the display hierarchy? It seems that the stage is used to dispatch events related to activeness and stepping throughout wck. I am interested in taking advantage of wck's layout functionality but not at the cost of rendering performance.

-Tim Kerchmar
WCK is very dependent on Flash's display object hierarchy. I have no idea how Flixel works. I just checked out the project page briefly and it claims flixel renders 10x faster than native Flash, I assume because it's using nothing but bitmaps and doesn't use Flash's vector rendering engine. That's all nice but then do they provide an alternate level layout tool? The reason I build WCK is because I could use the Flash authoring environment to layout my game levels.

I'm not saying its impossible I just don't know enough about Flixel to give you an accurate answer 😕. I would love to dig into this deeper though.
Not released yet, but I already have a homebrew library to convert MovieClips, loaded pngs, and loaded swfs into bitmapdatas/arrays of bitmapdatas. If you look at Canabalt or http://tim.kerchmar.com/RopeBurn.html, you can see what kind of performance rendering bitmapdatas directly can give you. Keep in mind that the grass is being drawn with graphics.drawTriangles and is not bitmapdata.copypixels'ed like everything else. So far, I'm very impressed, and I think that the performance (while maybe not 10x) is definately significant enough to deal with the hassle.
Sounds great, i think PBEngine also has a custom sprite engine to convert mc's, it might be worth looking into as well since its open source.

Original thread: https://box2d.org/forum/viewtopic.php?t=4804