Can Construct 2 Implement Destroy on Size 0 into Particle ?

0 favourites
  • 11 posts
From the Asset Store
Casino? money? who knows? but the target is the same!
  • Hello, I am not sure if this is the right place to put it, I apologize if it is not.

    We have the following:

    Destroy Modes:

    1: Fade to Invisible: Fade to Invisible and then destroy.

    2: Timeout Expired: Destroy after Timeout time reached without fading.

    3: Particle stopped: Destroy particle when/if speed = Zero.

    Can we add one more ?

    4: Size 0 Destroy: Destroy when Particle size reaches Zero.

    [This when working alongside Grow Rate with a negative value is used often in Visual Effects packages like AfterEffects].

    I use this a lot in videos like this:

    The Particle System in Construct 2 is robust as it is, but this final implementation will in my option, "complete" the particle system because this is very often use in actual video effect particle implementations <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    Nuke, AfterEffects, and HitFilms have it, so having this would allow many effects created in a certain traditional way to be ported to construct 2 <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

  • I don't get what will you gain from this extra destroy mode. Unless you have a gazillion particles running around at 0 size and perhaps there will be some performance improvement, otherwise, visually there is no difference at all!

    I would very much prefer to see an option for randomizing the timeout and the initial angle for each particle instead. Those options play a crucial part visually on the software you mentioned.

  • If it's simple to add I'll try get it in to the next build.

  • Ashley As long as you're possibly updating particles, if i can piggyback on this request. It would be great to get some other changes implemented:

    1) Randomize the initial particle opacity

    2) Set initial particle angle and randomize the initial particle angle

    3) Randomize the timeout per particle. So all the particles don't fade out at the same time. Looks especially bad if you use one-shot.

    4) Timeout to destroy the particle emitter without destroying whatever particles are still on screen. Every particle emitter I make, I need to make the events: For each particle emitter, if number of particles = 0 -> destroy.

    Thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 1 and 3 would be particularly great. Would make 1 shots a lot more dynamic.

  • It is an honor to have your reply Ashley.

    Yes, Destroy on Size zero will in my opinion, complete the particle system

  • Toddler - I just checked the code and it already does this. Particles which shrink to 0 size are already destroyed, and one-shot particle effects destroy themselves when no particles are left. So just set a negative grow rate, destroy on timeout, and use a high timeout (e.g. 999) and it seems to work fine already.

  • Ashley

    Can you please add preview particles window like preview animation ? So that we don't need to preview the whole game to see the particles ?

  • No, the editor doesn't support that, hopefully something the next-generation editor could do.

  • Toddler - I just checked the code and it already does this. Particles which shrink to 0 size are already destroyed, and one-shot particle effects destroy themselves when no particles are left. So just set a negative grow rate, destroy on timeout, and use a high timeout (e.g. 999) and it seems to work fine already.

    Oh THIS IS GREAT !

    Thank you !

    Note to self, set INCREDIBLY LONG timeout for the effects I usually do

  • No, the editor doesn't support that, hopefully something the next-generation editor could do.

    And it did!

    Sorry for the bump

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