Sprite overlapping sprite
I'm putting down sprites but when I put down 2 overlapping, the second sprites goes behind the first.
Any suggestions?
Any suggestions?
First, here is how depth typically works: a sprite with a higher Y coordinate will appear above a sprite with a lower Y coordinate. There are some exceptions (background sprites, depth dots, etc) but that's the general rule.
Now, depth dot allows your sprite to pretend it has a different Y coordinate, even though it doesn't have to be physically at that spot. So if I place a sprite at Y coordinate 200, and give it a depth dot of 100, then it will appear behind all sprites with a Y coordinate (or depth dor) of greater than 100 and above all sprites with a Y coordinate (or depth dot) below 100.
Now, depth dot allows your sprite to pretend it has a different Y coordinate, even though it doesn't have to be physically at that spot. So if I place a sprite at Y coordinate 200, and give it a depth dot of 100, then it will appear behind all sprites with a Y coordinate (or depth dor) of greater than 100 and above all sprites with a Y coordinate (or depth dot) below 100.
dont listen to that nonsense. a higher number means it will be more on top, a lower number means it will be more behind. change til it works.