Looping the floor for a side scroller

alexandthemachinealexandthemachine Member Posts: 1
edited June 2012 in Working with GS (Mac)
I'm creating a game where you have to survive for as long as you can while shooting zombies and stuff. Its a side scroller so i need to create a floor that could essentially go on for as long as possible. I don't want to just tile the image because surely then it would just become laggy if there's to many of the images, so i need a way of creating a floor that will go on for as long as possible.

Comments

  • bjandthekatzbjandthekatz Orlando, FlMember Posts: 1,375
    either wrap the scene
    Go to a level
    click scene
    click wrap x or wrap y
    or you can add multiple images
  • alexandthemachinealexandthemachine Member Posts: 1
    either wrap the scene
    Go to a level
    click scene
    click wrap x or wrap y
    or you can add multiple images
    @bjandthekatz
    I'm unable to wrap the scene because my characters is centered in the middle of the screen, every-time he hits the end of the 'playable area' he goes back to the left hand side and then the camera doesn't move until he walks back into the center.

    I wasn't able to get the camera to follow him until he was in the middle of the screen but if i could get the camera to follow him when hes at the left hand side of the screen then i would be able to wrap x

Sign In or Register to comment.