• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Legacy GM Question regarding collision checking..

A

Ayziak

Guest
I have two objects with precise masks. I need to find any way to detect when they are no longer colliding.

This would preferably be a single-trigger event, like, say, a key release event, however if it did need to be something that was checked every step, I could work with it.

Thanks for taking the time to read this!
 
D

DevNorway

Guest
Code:
if !place_meeting(x, y, object) {
}
Using "!" or "not" makes you able to do that.
For key-released event you can check if not colliding when you release a key.
 
A

Ayziak

Guest
Code:
if !place_meeting(x, y, object) {
}
Using "!" or "not" makes you able to do that.
For key-released event you can check if not colliding when you release a key.
Thanks! (BTW, the key released thing was just an example for a single trigger :p)
 
Top