Hi, got a bit of a problem when using parallax in a level, and I'm hoping someone can help me out.
Everything was working great until I used this code for parallax (plus a gradient) to keep the moon in place. Then this happens:
The layer 3 spazzes out ONLY when scrolling horizontally. Anyone got any idea why this is happening? Any help would mean a lot!!
Edit:
Tested out the code without the gradient and the layer 3 seems to reset its position every 8 pixels.
Everything was working great until I used this code for parallax (plus a gradient) to keep the moon in place. Then this happens:
The layer 3 spazzes out ONLY when scrolling horizontally. Anyone got any idea why this is happening? Any help would mean a lot!!
Edit:
Tested out the code without the gradient and the layer 3 seems to reset its position every 8 pixels.