Repeating Playfield
So for my game, I made the size of the field just barely larger than the iphone screen itself. I am trying to make a LONG scrolling background, but the problem is that it repeats images from one side to the other. So instead of being off-screen, the background image just repeats itself on the screen, so the level is "unscrollable". Does anyone know a way to change the size of the level or make it non-repeating?
Comments
where you enlarged the field:
Inspector .... |Game| |Scene|
click Scene
Attributes
and enlarge the width/height to what you want (make it multiples of the actual screen size)
you should drag in 2 backgrounds before you repeat them by changing the X on the backgrounds that are off screen to the left...or you could drag in all the backgrounds as the images are already in memory and screen-draw doesn't change fps by much till it is visible
play with it!
MH