Hi,
I want:
After two objects collide, one of them should be removed and replaced with a random number of other objects. Is there a way to do this?
Is the any way to do this?
thanks,
Hi,
I want:
After two objects collide, one of them should be removed and replaced with a random number of other objects. Is there a way to do this?
Is the any way to do this?
thanks,
Thanks,
You are right.
But I think the problem still remains. In this case, if this collision happens to several objects, this event will happen only once. But my intention is that this event falls for each of the objects.
What is your idea about this code?
Do you think this is correct?
Hi!
The code you provided deletes all Boxes in screen when Circle is colliding any of them. Is that the purpose? Or maybe so that only the colliding box is deleted? In that case @MrMen code is correct, the first For Each event (where you Delete the Box) is not needed.
Could this be helpful? The link below leads to Asteroid game (WASD + Space for shooting), and when the bullet hits the asteroid, the original asteroid is deleted and two smaller asteroids are created to the same position.
I want an event to occur when the circle collides with any box.