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

GML depth issue

P

PatatjeFriet

Guest
so i am making a game with isometric art style.you can place buildings in it. now my problem is that when i have place a building and then a building above it the new building overlapse the old one what looks stupid. so how can i make it that it doesnt do that?

i am working in gamemaker 8.0 pro

-Patatjefriet
 

JackTurbo

Member
I dont know much about GM8, but assuming its depth system is anything like GMS1.4 then you could use something like:
Code:
depth = -(y + x);
 
Top