I have this canvas, I want to repeat this texture down till the end of the canvas, how do I do that?
here is my code:
let middle = new PIXI.Sprite(
PIXI.Loader.shared.resources[
folder + 'environment/layers/middle.png'
].texture
);
middle.position.y = app.screen.height - middle.height;