0
votes
0answers
23 views

libgdx : Scrolling background from spritesheet causes lag when sprite is repositioned… am I doing something wrong? [duplicate]

So, I use a sprite from a spritesheet to draw the background and repeat it. (I am drawing it twice) However, the moment that the background is re-positioned to make it look infinite, it causes a lag. ...
0
votes
1answer
378 views

To stop Spite animation scrolling along the background in openGL ES

After using the endless road algorithm as described here, I also implemented the scrolling of walls along with it. I have the walk animation of the person which is stationed at the center of the ...