Share to EffectHub.com

You can earn money or coins from your share:)

Tips: you can use Sparticle for uploading away3D effects.

Tips: you can download Sparticle for uploading effects.

Tips: The ActionScript editor is supporting Away3D, Starling, Dragonbones and Flex frameworks.

Tips: paste the web page URL then click button:)

EffectHub.com: Your Best Source for Gaming
Login    or

How to change particle number at runtime ?

Hi there,


Is it possible to change the particleNum at runtime ?

I'm trying to adjust the number based on the speed of an object, but didnt find any parameter that I could use to do that...

Thanks,

...

You must Sign up as a member of Effecthub to view the content.

1493 views    3 comments

You must Sign up as a member of Effecthub to join the conversation.

u can reinit particles every time when u need to change number and chang it

Liao Cheng 2014-03-10

The status of particle system is predefined, including the particleNum. You can't change them after the animation is inited. This is also the key of high performance.

777 2014-03-06

Seems no settings can do this. You can email Liao Cheng for help

Join Effecthub.com


Or Login with Your Email Address:

Or Sign Up with Your Email Address:
This field must contain a valid email
Password should be at least 1 character