• 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 Help with place_meeting

M

memow0857

Guest
Hi, I'm just wondering if there's a way to have a background object and a foreground object and use place_meeting without it interacting with the background object.(Which is just on a separate depth)
 

TheouAegis

Member
No.

Well, you could, but it's slower.

Code:
var d = depth;
with all {
   if d == depth
      if place_meeting(x,y,other.id) {
         //whatever should happen
         break;  //so it doesn't keep checking, unless you want it to
      }
}
 
Top