F
_felix
Guest
This here is supposed to be a wheat field (used sprites are placeholders). They're all sprites being drawn by one object, the positions being stored in an array. While assigning the positions it checks whether they're within a certain radius to get the circular shape. This means the sprite positions are determined in a random order, which causes the sprites to be layered on top of eachother randomly. How can I draw the sprites in a way that assigns depth correctly, so that the sprites closer toward the bottom appear to sit front of the ones higher up?
Thanks
Thanks