EgraltSe EgraltSe loading
Say we have a sprite with multiple clones. When one clone collides with another, we need some way of identifying the clones that were involved in the collision. We can detect a collision like this:
<touching [ Cloned_Sprite] ?>
However this gives us no way of knowing which specific clone is being collided with.
For example, say we have a game with different types of enemy clones. We need a way to identify what type of enemy we have collided with. Keep in mind that more than one collision may be happening at once, and we want to identify which clones are involved in each collision. A complex system of broadcasts and hiding could work, but it is slow and inefficient. Is there a better way?