How to Create an Infinitely Scrolling Background with camera
paralyze
Member Posts: 20
Hi
I have a space game that is like a classic game like the "Basic shoot em up template" and I want to have one scene to be infinite scrolling from the beginning to the end without knowing or seeing when the scene loops from the start.
let me demonstrate here is the scene numbered with 1 to 4
1 - 2 - 3 - 4
each number demonstrates 1024 pixels so total 4096 pixels wide is the scene.
and the camera will follow the player when its steered forward or backward and the background moves along.
normally the 1 is the beginning and 4 hits a wall
but i want it to be like this
1 - 2 - 3 - 4 -1 - 2 - 3 - 4....and so on and the player can go forward and backward without hitting any walls or restart from the first scene without the background showing that you reached the loopend.
I hope that you understand what Im trying to do.
Ive tried to find a solution on the net, but no success.
I would appreciate some help in this matter.
Kind regards
iparalyze developer
Johan from Sweden
I have a space game that is like a classic game like the "Basic shoot em up template" and I want to have one scene to be infinite scrolling from the beginning to the end without knowing or seeing when the scene loops from the start.
let me demonstrate here is the scene numbered with 1 to 4
1 - 2 - 3 - 4
each number demonstrates 1024 pixels so total 4096 pixels wide is the scene.
and the camera will follow the player when its steered forward or backward and the background moves along.
normally the 1 is the beginning and 4 hits a wall
but i want it to be like this
1 - 2 - 3 - 4 -1 - 2 - 3 - 4....and so on and the player can go forward and backward without hitting any walls or restart from the first scene without the background showing that you reached the loopend.
I hope that you understand what Im trying to do.
Ive tried to find a solution on the net, but no success.
I would appreciate some help in this matter.
Kind regards
iparalyze developer
Johan from Sweden
Comments
http://forums.gamesalad.com/discussion/59815/best-way-to-do-an-endless-side-scroller