stencyl-engine
stencyl-engine copied to clipboard
Change wrapping to use difference between coordinates and dimensions
I observed some jitteriness in scrolling backgrounds and decided to look into it. The image coordinates were being set to 0 when they exceeded the image dimensions. It seems like this was a cause of some of the jitter. I modified it to use the difference instead.