• 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!

player is left behind objects

H

Harold88

Guest
When I pass the room, my player is behind all the objects, how could I solve it
 
S

Slothagami

Guest
There is little information to go off, but

I'm guessing that this is a problem with depth, gamemaker draws things in front of each other based on depth, the lower the depth the more in front the object is drawn, so something like
GML:
depth = -10;
In the player's create event should fix it. You cold also make the number lower first to be sure that's the problem, say -100.
Hope this helps
 
Top