How to implement "circular side-scrolling" in my game?

Posted by Mr.Gando on Stack Overflow See other posts from Stack Overflow or by Mr.Gando
Published on 2010-04-18T05:20:41Z Indexed on 2010/04/18 5:23 UTC
Read the original article Hit count: 339

I'm developing a game, a big part of this game, is about scrolling a "circular" background ( the right end of the Background Image can connect with the left start of the Background image ).

Should be something like this: ( Entity moving and arrow to show where the background should start to repeat )

alt text

This happens in order to allow to have an Entity walking, and the background repeating itself over and over again.

I'm not working with tile-maps, the background is a simple Texture (400x300 px).

Could anyone point me to a link , or tell me the best way I could accomplish this ?

Thanks a lot.

© Stack Overflow or respective owner

Related posts about game-development

Related posts about iphone