Infinite moving background

Hi!

I’m trying to do a platform game where the character runs infinitely an the background is always moving in a loop, but i’m not capable of doing it.

Any help?

I’ve found some topics about it :slight_smile:
This method moves two backgrounds to achieve the effect: http://www.forum.compilgames.net/viewtopic.php?f=19&t=6846&p=52575#p52572
I think this method is the same as the explained here: http://www.forum.compilgames.net/viewtopic.php?f=19&t=4453&start=10#p39239

Then, a better way is with a tiled sprite, modifying the texture offsets, check the project I share here (the last events): [url][Demo][JavaScript] PIXI Filters]

1 Like