Archive

Archive for February, 2007

BitmapData drawing speed

February 14th, 2007

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

AS3 vs haXe performance test with APE (ActionScript Physics Engine)

February 5th, 2007

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