Posts Tagged ‘glitter’

  • Glitter Thrust

    I was playing around with Flint 1.0.2 and a bit of Asteroids ship code that I had (from the Keith Peters AS3 Animation book.) I had the emitter following the ship, leaving a nice particle trail as it went. And then it occurred to me – why not make the particle renderer a mask for an image? A couple of minutes later and the end result surprised even me! Fly around with the cursor keys, as you do so your ship will push the swirling black smoke away revealing the picture behind, leaving a trail of shiny glitter particles as it does so.

    [swfobj src=”http://sandbox.photonstorm.com/glitter_man.swf” width=”550″ height=”400″]