Particle Properties changing over time (timeout)

  • Hi!

    I'd like to change the visual of the particle effect according to the movement speed of an objet.

    High speed = higher rate and lower timeout -> the visual result is bigger and fits the speed feeling.

    My problem is that when I decrease the timout (since the speed is decreased itself), the particule generated before the speed decreasement are visually killed, they don't die "naturally" and... it's not very appealing.

    How would you do that smoothly? It is possible to let the "old" particules keep their own properties and die naturally while new particules with new properties are generated? (and will die with their current properties)

    Thanks :)

    Rag'

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You could try changing it from 'continuous' to 'one-shot' in the particle properties.

    And have it create a new particles object every 0.05 seconds or something. Or every x seconds, where x can be proportional to the objects speed.

    another thing that you may find useful is clamp() expression where you can set minimum and maximum limits for any value.

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