CollideImage writes the image to a layer (you have 16 of them). To which layer an image is written, is defined through the writemask.
If you want to check if an image collides with anything, you do that basing on the layers as well. But this time you have to write the needed layer flag to the collision mask.
Quite simple :-)
Don't forget to call resetcollisions after you check all collisions.
If you want to check if an image collides with anything, you do that basing on the layers as well. But this time you have to write the needed layer flag to the collision mask.
Quite simple :-)
Don't forget to call resetcollisions after you check all collisions.