0
votes
0answers
21 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
367 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 ...
0
votes
0answers
225 views

detect sprites by tag in parallax

I've created 3 layers and added to a parallax node in my game play scene; I don't know why it crashes when I'm enabling touch, self.isTouchEnabled = YES; on one of my layers; I want that touch to be ...