Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / How to show and hide particles

Author
Message
MobileCreator
12
Years of Service
User Offline
Joined: 1st Jun 2011
Location: Ottawa - Canada
Posted: 4th May 2016 02:41
Hi

I am trying to create an effect where when the object hits the other, there will be some particles effect that will run only for a couple of seconds. I manage to do it only creating new particles over and over.

Is there a way where I can "reuse" the same particles I created before (one that ran and disappeared) ?

If I have to call CreateParticles with different IDs, what happen to the ones that are not being displayed anymore?


Thanks

Paulo

----------
Paulo
http://c64programming.wordpress.com
MobileCreator
12
Years of Service
User Offline
Joined: 1st Jun 2011
Location: Ottawa - Canada
Posted: 4th May 2016 03:42
Ok, replying my own question. I found that there is the ResetParticleCount, which is what I basically need.

So I set my particles with the SetParticlesMax and then I call the other command in order to run it again.

Cheers!
----------
Paulo
http://c64programming.wordpress.com

Login to post a reply

Server time is: 2024-04-26 06:28:34
Your offset time is: 2024-04-26 06:28:34