Morphing Shiny Balls

I was messing around with a little of my old DarkBASIC code last Friday, and figured it would be fun to port it to AS3. I threw in some extra effects and a new shiny ball graphic and here is the end result of an hours work. Adding scaling and z-depth sorting was pretty easy. You do get quite a bit of “popping” because I only z-depth once per loop, but I can live with that 🙂

Adding a depth blur or hue shift is next on the list if I feel like it. There are 18 different wave forms in total. The SWF is 640×480 and published at 60fps (really meant for running on the desktop, but there we go)

[swfobj src=”http://sandbox.photonstorm.com/morph.swf” width=”640″ height=”480″]

Posted on August 3rd 2008 at 2:22 pm by .
View more posts in ActionScript3. Follow responses via the RSS 2.0 feed.


2 Responses

Leave a comment

Make yourself heard