stencyl-engine icon indicating copy to clipboard operation
stencyl-engine copied to clipboard

Change wrapping to use difference between coordinates and dimensions

Open CoryAlexMartin opened this issue 4 years ago • 0 comments

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.

CoryAlexMartin avatar Dec 28 '20 23:12 CoryAlexMartin