Hi guys i want to loop my background and want it to stay still.
(i searched in forum there are solutions for which background moves in a loop)
And the sprite/character should pass through the background.
To be exact the sprite can keep on moving in 1 direction either right or left without an ending.
-Thanks in advance
Look in the FAQ section under "Sidescroller/Platformer genre"
Loots of examples there on the topic
Develop games in your browser. Powerful, performant & highly capable.
Hi CVP i tried the link but i could not find something like infinite sidescroller.Any suggestions?
Not sure what you mean with "want to loop my background and want it to stay still".
For looping backgrounds, the easiest way would be making your background image a tiled background and stretching it from start to end of your level.
The other way would be having two instances of your background image and moving one in front of the other to get the effect of an infinite background.