Hi Scott,

On your second request, do you think it would be more useful to get an
array of particle references (p0,p1,p2,p3..etc) and then use that to get
parameters of a specific particle (as happens with onParticleDeath
attaching clips at the particle's x,y via getParticleX()and
getParticleY() in the example).

Or would it seem easier if the returned array contained all the
properties of each particle as a 2 dimensional array (like it is
internally in the class) of reference number, coordinates, speed, size
etc.

I'm also thinking about allowing public access to the methods to remove
individual particles.

Any other suggestions?

Phil



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Phil
Douglas
Sent: Monday, 21 November 2005 10:44 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Particle class

You can specify a particle decay, change the distance parameter. It's
infinite if set to 0.

That second point is definitely something I'll look into.

Thanks

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott
Hyndman
Sent: Monday, 21 November 2005 10:37 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Particle class

Very nice. I think it would be cool if you could specify a particle
decay if you want particles to die before they hit the screen edge.

And maybe being able to change particle properties based on their
remaining "life".

Scott


-----Original Message-----
From:   [EMAIL PROTECTED] on behalf of Phil
Douglas
Sent:   Sun 11/20/2005 6:29 PM
To:     flashcoders@chattyfig.figleaf.com
Cc:     
Subject:        [Flashcoders] Particle class
Hi all

 

I've been working on a particle simulation class, and I've put the
current source and an example on my site

 

http://www.lookmumimontheinternet.com/blog/?p=13

 

It's a bit rough around the edges but if people could have a look and
let me know what they think, that'd be great

 

Cheers

 

Phil Douglas

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to