I'm creating an android game and using AndEngine. I'm using AutoparallaxBackground to move the background. Background movement is not smooth,its getting stuck and then moving. How to move background smoothly.?
final AutoParallaxBackground autoParallaxBackground = new AutoParallaxBackground(0, 0, 0, 5);
autoParallaxBackground.addParallaxEntity(new ParallaxEntity(-50.0f, new Sprite(0, 0, this.texRegBg1)));
autoParallaxBackground.addParallaxEntity(new ParallaxEntity(-60.0f, new Sprite(0, 0, this.texRegBg2)));
autoParallaxBackground.addParallaxEntity(new ParallaxEntity(-70.0f, new Sprite(0, 0, this.texRegBg3)));
autoParallaxBackground.addParallaxEntity(new ParallaxEntity(-80.0f, new Sprite(0, 0, this.texRegBg4)));