S
SVG
Guest
Should be a straight forward issue, but I can't find anything on it so I'm assuming there's no function for it.
Explanation:
So when you create a Collision Event with an object inside the event window of an object, it runs code only if it's own sprite's MASK collides/overlaps with the other object's sprite's MASK, even if it's an oval or diamond.
My question:
Instead of using the Collision Event, can I use a function in code to check for collisions between those 2 objects' masks?
Issue:
I've only found collisions functions that aren't checking the mask but rather the entire area around the sprite, or you can check 'precise'.
Need:
I want to simply check inside the Step Event if (this object's mask) collides with (that object's mask) {do this};
or is this way of thinking not good? Maybe it's bad practice to force game maker to check mask collisions with each other outside of when it normally checks for them...
Explanation:
So when you create a Collision Event with an object inside the event window of an object, it runs code only if it's own sprite's MASK collides/overlaps with the other object's sprite's MASK, even if it's an oval or diamond.
My question:
Instead of using the Collision Event, can I use a function in code to check for collisions between those 2 objects' masks?
Issue:
I've only found collisions functions that aren't checking the mask but rather the entire area around the sprite, or you can check 'precise'.
Need:
I want to simply check inside the Step Event if (this object's mask) collides with (that object's mask) {do this};
or is this way of thinking not good? Maybe it's bad practice to force game maker to check mask collisions with each other outside of when it normally checks for them...