Is there a simple technique for continous horizontal scrolling in a game canvas.
I have a simple image which i'd like to scroll as a game background. It needs to wrap around and continue scrolling until the user stops the game.
I tried it with TiledLayer and using tiledlayer.setPosition(0, 0) each time the (tiledlayer.getX() > (TILE_WIDTH - getWidth()), but this produced a jerky effect as the TiledLayer was positioned back to the start of the image.
Many thanks for any help.