The orange Sprite1 squares should change color when they collide with Sprite2. But some change color even though they are far outside, and some inside don’t.
It has nothing to do with the amount of squares, how they are created, with the grid or the movement. Also swapping the objects in the condition or using a for each event doesn’t help.
It doesn’t really explain the result, which is not a clean rectangle.
But it could have happened because of the new feature that automatically creates a collision mask based on the sprite content + exchange the resource graphic file without adding it again in GD.
-Add a Sprite Object
-Add two animations with a different size
-Check the collision masks and you will see that the mask from animation #0 is always shared across all animations.
5.3.201 @Luni
The first animation will set the “automated” collision shape.
If you want to have different collision shapes in different animations or frames, you need to select the create a custom collision mask button and then change the settings to not share the same mask for all animations.