Wednesday, November 10, 2010

Shattering a bitmap

More work with fractals.



I generate shards of a source image by recursively branching over-top it, after which, I create a mask out of the voided space and then copy the source bitmapData to those voids.

Very convincing effect!

Go here to see the prototype. Click the sprite to see the effect.

You'll need to click on the sprite to shatter it :)

Friday, November 5, 2010

Brownian Tree with AS3

I've been messing around with fractals lately. Here's a fun test I put together:



My inspiration came from here!

Tuesday, November 2, 2010

Particle System



So, I'm working on this game and they were using a super cheesy decal system to depict bullet impacts on NPCs. I came up with this app as a test to see what a pixel blood particle sys could look like:

[Instructions: Produce a projectile by clicking anywhere on the left half of the screen. If the projectile comes in contact with the sprite, a particle emitter will be placed at the point of impact.]

Try It Out Here!

I did a couple more passes of optimization for what went into production but, regardless, I'm still happy with this test. You'll see roughly 150 particles moving about at 50 FPS, not bad.

About Me

I produce and engineer games and applications. | Portfolio | LinkedIn