So I have my engine set up to restart the current frame when my character dies, but it will occasionally restart the frame with active objects drawn all over in weird places. when i scroll away and back it will fix itself. Everything is on one layer. Has anyone seen this before, and is there a workaround?
When I had my backgrounds on a different layer, I'd occasionally get walls and such from foreground layers leaving trails behind as well, which I could never figure out... Help?