Tag Archives: bitmapdata

Cool Effect: Create a Blurred Transparent Pause Screen

Overriding for Fun and Profit! One of the things I like about the designers I work with is when they come up with an idea that turns out to let me try something fun and clever. In this case, its … Continue reading

Posted in Code Snippets, Tutorials | Tagged , , , , , , | Leave a comment

Super-fast scrolling of huge Bitmaps

I seem to get a lot of projects that require scrolling backgrounds. Ususally they are reasonably sized backgrounds, that tile or repeat. And there are a bunch of good solutions to smoothly scrolling tiled backgrounds. But recently I got a game … Continue reading

Posted in Tutorials | Tagged , , , , , | 14 Comments

AS3 Get Visible Bounds of Transparent Display Object

How do you get the height of the visible part of a movie clip or bitmap? I ran into a case last week where I needed to get the with of a masked object. The object was a scrollbar. And … Continue reading

Posted in Code Snippets, Tutorials | Tagged , , , , | 6 Comments

Flipping A BitmapData Image

Here’s a handy code snippet for flipping the pixels of a bitmapdata, and ending up with a new bitmap data that is the mirror image of the original. function flipBitmapData(original:BitmapData, axis:String = "x"):BitmapData { var flipped:BitmapData = new BitmapData(original.width, original.height, … Continue reading

Posted in Code Snippets, Tutorials | Tagged , , , | 1 Comment

Make Super-Cool AS3 Particle Effects for Flash Games With BitmapData

This movie requires Flash Player 10 I’m a sucker for a good particle effect. They seem like magic to me and are one of the most fun parts of making a game. I recently stumbled upon a really efficient method … Continue reading

Posted in Tutorials | Tagged , , , , , , , , , | 7 Comments