I'm working on a Match 3 puzzle game with 2 players but on one side there is a weird bug on the collision.
Normally at the collision between the shooting ball and the ball to destroy, all the balls with the same animation frame are destroyed but instead of that none are destroyed and some balls are created and I don't know why. The only ball which must be created is on the collision when the shooting ball is replacing by the same ball than the others.
Here is the code :
Here is the Gamespace :
When the problem appends :
I you understand my code and you have an idea of the problem please help me.