Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Particle destroying another particle and replicating  (Read 1174 times)

0 Members and 1 Guest are viewing this topic.

dexwuyi

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • Email
Particle destroying another particle and replicating
« on: October 23, 2018, 07:56:20 am »
Dear All,
I have created two particles moving and colliding with each other. But i want a situation that when they collide, one particle will destroy the other and it will replicate.

Better perspectives
I have a green and blue particle moving in a window. I want a situation where when they collide, the green particle will destroy the red and the green particle will replicate itself.

Please any help

Hapax

  • Hero Member
  • *****
  • Posts: 3370
  • My number of posts is shown in hexadecimal.
    • View Profile
    • Links
Re: Particle destroying another particle and replicating
« Reply #1 on: October 23, 2018, 11:43:20 pm »
What do you have working so far?
Selba Ward -SFML drawables
Cheese Map -Drawable Layered Tile Map
Kairos -Timing Library
Grambol
 *Hapaxia Links*

dexwuyi

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • Email
Re: Particle destroying another particle and replicating
« Reply #2 on: October 24, 2018, 10:53:56 am »
I have already created the moving particles, what i want is how to diffuse the balls.

 

anything