Repeating Playfield

jeffheif1jeffheif1 Member Posts: 10
edited November -1 in Working with GS (Mac)
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

  • MotherHooseMotherHoose Member Posts: 2,456
    if I understand you
    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
Sign In or Register to comment.