ElCheTibo
Member
Hey everyone,
I was following the Little Town tutorial (I use the .pdf version), and everything went great until the depth part, where you change the depth of the player and the barrels...
The tutorial told us to put this line of code in both
This line of code seemed pretty weird to me at first, but whatever. I do exactly what the tutorial tell me to, but it doesn't work properly : the player is still "in front" of the barrels...
Can you guys please explain me what is wrong?
I was following the Little Town tutorial (I use the .pdf version), and everything went great until the depth part, where you change the depth of the player and the barrels...
The tutorial told us to put this line of code in both
obj_player
and obj_barrel
:
GML:
// Step event
// Depth sorting
depth =-y;
Can you guys please explain me what is wrong?