Game Devigner

Actionscript 3.0 Discovery – A “FacePalm” Moment

by Paolo on May.15, 2009, under Experiments, Programming

FacePalm

I just discovered the “Bitmap” and “BitmapData” classes in Actionscript 3.0 from this blog tutorial on FlepStudio.

Here is an example of what his tutorial and sourcecode looks like:

Actionscript 3.0 - Bitmap and BitmapData Tutorial

Actionscript 3.0 - Bitmap and BitmapData Tutorial

This class could have saved a ton of performance and speed in Strike Eagle.  In Strike Eagle, the moving background is a series of movieclips placed side-by-side and continually scaled which is a huge performance hit in the system.  It would have performed so much faster if I was simply blitting onto a bitmap.

Also, all the particle effects in Space ROX could have used the bitmap treatment saving tons of processing power and reducing the total number of movieclips.

:, ,
No comments for this entry yet...

Leave a Reply

Security Code:

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Blogroll