Looping picture

Is there a way to make a seamless picture to loop endlessly? My game screen size is 1296x768 and the seamless picture is 1296x1296. I tried using the loop command, like this:

A1wy7sp.jpg


However, it doesn't work well. After a few seconds the pictures start appearing on top of each-other. Probably due to the unstable FPS?

Is there any other way to do this?

Any help is appreciated. Cheers!
I played around with this and I came up with the TilingSprite because you can control its origin rather than its position and it's tiled.

The only way I could figure out how to get a tilingsprite onto the game's base sprite is with this little plugin.
PHP:
Spriteset_Base.prototype.createUpperLayerOld = Spriteset_Base.prototype.createUpperLayer;
var tiledpicture;
Spriteset_Base.prototype.createUpperLayer = function() {
   tiledpicture = new TilingSprite();
   tiledpicture.bitmap = ImageManager.loadBitmap("img/pictures/","DarkSpace1OpacityEdit", 0, true);
   tiledpicture.move(0, 0, 0, 0);
   this._baseSprite.addChild(tiledpicture);
   return Spriteset_Base.prototype.createUpperLayerOld.apply(this, arguments);
}

Where DarkSpace1OpacityEdit would be your picture.

Then to show picture by event script just call this once.
PHP:
tiledpicture.move(0, 0, Graphics.width, Graphics.height);

And to make it move call this in a parallel process.
PHP:
// where this will be += or -= for your moving speed.
tiledpicture.origin.x += 0.5;
tiledpicture.origin.y += 0.5;

I hope somebody who knows how to access the base sprite through $gameMap or $gameScreen or something chimes in, because I don't know where that property ends up for event script.

tiledpicture-o%209.21.06%20PM.gif

I just added some opacity to a game parallax img to test this. It doesn't perfectly tile up or anything, but it's length and width looping with no overlap.
I just added some opacity to a game parallax img to test this. It doesn't perfectly tile up or anything, but it's length and width looping with no overlap.

Epic, thank you very much!
I forgot to mention.
PHP:
tiledpicture.move(0, 0, 0, 0);

To turn it off again or it will show the whole game.

Original thread: https://forums.rpgmakerweb.com/threads/looping-picture.74869/