
A month or so ago, Didier Brun over at bytearray.org wrote a class emulating the flash drawing api using BitmapData objects as the palette. And it’s considerably faster than Flash’s rendering!
Tonight I added both quadratic and cubic bezier curves to the Raster class’s methods. Quadratic Bezier curves are what graphics.curveTo renders. And I got the same results- ridiculously faster!!!
demo
source code
original ByteArray post
drew ActionScript 3.0
I came across Experimenting with Web Game Development and found a solid start on tests comparing AS3 and haXe. Most interesting to me was a port of Alec Cove’s APE to haXe.
The results are quite disappointing however… the haXe port underperforms remarkably:
AS3 version
haXe version
I’ve been meaning to play with haXe since I first learned of it as it seems like a wildly brilliant idea and because MTASC became such a staple in my AS2 development. Not that this will stop me, but disappointing all the same…
drew ActionScript 3.0, Physics, haXe