02
Dec
07

Complex Particles Source

In Chapter 7 we talked extensively about programming motion with AS3, and created a basic particle system. This post contains source for a more complex particle system, based on the book example.

Particle Demo

This movie requires Flash Player 9. Please update your player.

Download: Complex Particles  Download Complex Particles (271.7 KB, 1,854 hits)

Demo Features:
- Controlling velocity
- Controlling gravity
- Controlling alpha and scale
- Controlling filters
- Organized UI management
- Implementing the las3 OpenSlider class

Print This Post Print This Post

Related Content



3 Responses to “Complex Particles Source”


  1. 1 Ivan V. Dec 9th, 2008 at 4:28 am

    This is great, thank you, book is also great.

  2. 2 Tommy Nov 20th, 2010 at 12:23 am

    Hi!

    I've just finished Chapter 7 of LAS3 and I've got to tell you, this book is awesome! I've just got the particle example from the book to work and I have some questions...

    Basically what I want to do is to create is a small custom particle effect, with a given number of particles on mouse click (or some other event).
    I also want the script to take MC's out of a special pool of MC's and use them as the particles.

    I've never programmed before, and all I know about AS3 is the things I've read in your book until the end of chapter 7, so I don't really know how I would do this :(
    However, I'm GUESSING that the pool of MC's could be specified with an array consisting of the MC's of your choice?

    As for number of particles? Hm, I'm guessing this would be done with a for loop, but I'm not sure...

    If you see this, and have the time, could you please help me with this? Maybe you could just tell me the theory behind it, if you don't have time to write the code for it.

    Anyways, great book and thanks to you I feel like I could actually learn how to program!

  3. 3 Tommy Nov 20th, 2010 at 4:12 am

    Hi again, forget about my previous comment - I got it working! :D Just had to do some Googling and voila!

    Thanks anyways.

Leave a Reply




Speaking



Archives