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″]
Posted on April 25th 2008 at 7:52 pm by Rich.
View more posts in Experiments. Follow responses via the RSS 2.0 feed.
Make yourself heard
Hire Us
All about Photon Storm and our
HTML5 game development services
Recent Posts
OurGames
Filter our Content
- ActionScript3
- Art
- Cool Links
- Demoscene
- Flash Game Dev Tips
- Game Development
- Gaming
- Geek Shopping
- HTML5
- In the Media
- Phaser
- Phaser 3
- Projects
Brain Food