How can I make a layer or a sprite that won't be drawn on certain layers that are behind it? Like a fog particle that doesn't show on the sky layer behind it?
I'd just put the sky in front of that fog effect, but that way I can't use parallax scrolling for it.