Fading out the particles as they reach the deadzone

6 views
Skip to first unread message

sidneydekoning

unread,
Apr 8, 2010, 10:26:11 AM4/8/10
to Stardust Particle Engine
Hello,

I have been playing around with the waypoint demo you created, how
ever i want the particles to fade out when they reacht the deadzone.
Is that possible and if so how?

Kind regards,

Sidney

Allen Chou

unread,
Apr 8, 2010, 10:30:26 AM4/8/10
to stardust-par...@googlegroups.com
You can extend your own Action2D class.

In this class, define the coordinate of the center of the dead zone. Next, override the update() method; in this method, alter the particle's alpha value according to the dead zone center coordinate.
Reply all
Reply to author
Forward
0 new messages