TextureOffset Bug? Is the solution?

I used “mainTextureOffset” scroll texture, but this software is installed to the ipod. After a period of time,scroll the texture will gradually deteriorate. Is the solution?:face_with_spiral_eyes:

644178--23037--$Screenshot 2011.07.29 11.53.25.png
644178--23038--$Screenshot 2011.07.29 12.06.08.png

The solution is to wrap the number. ie if (x>1024) x =-1024;

You are getting these artifacts because the number is reaching the limit of how precise it can be. Inaccuracies creep in after a while. Just wrap your number by the size of the scroll texture.

hippocoder :
Very Thank You!:wink:

No problem man, good luck with the game.