Destroy a single particle instance on contact

0 favourites
  • 5 posts
From the Asset Store
About 900+ game portals: 400 e-mails, 514 contact/submit forms (last update: 2022, October, +275 contacts)
  • I have a couple of particle emitters in my test level shooting out "hazards".

    Upon collision with the player, I'd like to destroy that particular particle. However, when I used the destroy "particle" event on collision it destroys all particles and the emitter.

    I simply can't find how to do this which seems like it should be so simple. What am I missing?

  • You can't do things with a specific particle, it has to be the entire thing. If you want to, you'd have to create your own particle effect with sprites

  • That's what I've done in the meantime but the particle system just offers all the controls (except this one) off the bat.

    That's a shame - thanks for letting me know, at least I can stop searching for how to make it work now.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • It is awful to use sprites while we have particles already. Scirra team should make to allow that we can pick an instance of particle. It is not your fault.

  • Using any tool incorrectly, knowing what it is and how it works, is simply the wrong way to do things.

    Particles work as well as they do because they're so light in terms of CPU usage. If the engine has to track UID, position, rotation, animations/frames, collisions and all the other things that people would want (and, trust me, I'd love these features too), then the particle object as a whole would become useless for everyone else.

    Admittedly, having optional toggles for these various things would be handy, but I wouldn't say this is a mandatory feature.

    Making your own emitter using a spawn object and bullet-based sprites really doesn't take that long anyway.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)