SFML community forums

Help => General => Topic started by: dexwuyi on October 23, 2018, 07:56:20 am

Title: Particle destroying another particle and replicating
Post by: dexwuyi 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
Title: Re: Particle destroying another particle and replicating
Post by: Hapax on October 23, 2018, 11:43:20 pm
What do you have working so far?
Title: Re: Particle destroying another particle and replicating
Post by: dexwuyi on October 24, 2018, 10:53:56 am
I have already created the moving particles, what i want is how to diffuse the balls.