Particle problem...

ChirpinGamesChirpinGames Member, PRO Posts: 214
edited November -1 in Working with GS (Mac)
Hi everyone,
I'm having a bit of trouble with particles and was wondering if anyone might be able to help....

I have a rule saying if playParticle = true emit particles

The problem is when playParticle goes false then back to true again quickly the particles that were in the middle of playing destroy themselves and then start again.

What i'd like is for them to continue playing out so they dont just disappear off the screen...

Anybody had this problem?

Thanks,
Mark

Comments

  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    Hi Mark, strange that it does this; just done a small test and can't seem to reproduce your prob; i.e the particles don't destroy themselves (other than when their lifetime is finished, of course) when playParticle becomes false; it just stops emitting new particles.

    Can't think what else would be affecting it the way it does, sorry.

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    Hang on, get what you mean now; if it's done quickly. A workaround would be to have a boolean attribute called, perhaps, PartSwitch.

    So when PlayParticle is true and Partswitch is 0,
    then your particle behaviour

    and
    when PlayParticle is true and Partswitch is 1,
    then identical particle behaviour

    In the rules where you're turning off the Particles, when you make PlayParticle false, add when PartSwitch is 0 change attribute PartSwitch to 1. When PartSwitch is 1, change attribute partSwitch to 0. Not tested, but I think that should work.

    :-)

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

  • ChirpinGamesChirpinGames Member, PRO Posts: 214
    Ahh i see. Ok great thanks for the help gyrospcope... i'll give it a go tonight when i get home!
    Cheers,
    Mark
  • dmilinovichiiidmilinovichiii Member Posts: 620
    You could just change the color to invisible.
Sign In or Register to comment.