How do I create particle when projectile collides solids

  • Hey all,

    I came across another issue, I am trying to make my bullet spawn a particle whenever it bounces.

    Do I have to make an event for every single item it can bounce off? Or is it also possible to make an event like; whenever obj_pistol_projectile collides, spawn <obj_pistol> particle at imagepoint1 on obj_pistol_projectile?

    Would be a lot of solid items I had to put into that event so hoping there is a way around that.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Try making an event for the bulit itself in which whenever it collides with "blah-object" it (one time only just in case) creates "sparks/shrapnel" (which sould be a simple particle generator which small ammount of particles) I usually do such things for jumping characters so the puff of smoke is created and destroys itself too. - I hope my ramble was clear-ish enough to follow.

  • Try making an event for the bulit itself in which whenever it collides with "blah-object" it (one time only just in case) creates "sparks/shrapnel" (which sould be a simple particle generator which small ammount of particles) I usually do such things for jumping characters so the puff of smoke is created and destroys itself too. - I hope my ramble was clear-ish enough to follow.

    Thank you for the reply! I tried that but that way I would have to make an event for every individual solid item. I had someone suggest me that I could make families in C2, and with those families I am able to make particles for different types of stones, for like, brown stone certain particles, vegitation certain particles etc. It allows for really neat stuff.

    Never thought I'd be able to make something like this, it looks awesome!

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