Moving Background?

kingshrimp12kingshrimp12 Member Posts: 3
Hi all, can I first say that I have been using GameSalad for about 2 days now and have just figured out the controls and how it works. I am trying to make my background sort of move so that it looks like my plane actor is flying over land through the sky. Would this be done with a really long image that moves along slowly or is there some other way, can someone please help me out taking in mind im a beginner?

Best Answer

Answers

  • lo_klo_k Member Posts: 23
    Hey there!
    In the GameSalad templates you'll find something what seems to be exactly what you just described: The basic shoot 'em up template. I suggest that you look at that and then, if you still got questions ask again ;)
    Mr. X
  • SingleSparqSingleSparq Member Posts: 1,339
    or search the forum for the word parallax
  • carlblanchetcarlblanchet Member Posts: 755
    You could have a blue background image of the sky that doesn't move, then on top of that you make 3-4 cloud actors, and give them a move behaviour with all different speeds and going in the opposite direction that your plane is facing.
    Then you use this video to learn how to have them spawn off screen in your desired amount.
    After that you put your plane actor on top of all that, and theres your effect.
    You could also have a bird actor start off screen with a timer behaviour saying -Every: 30seconds- then add a move behaviour in the timer with the direction and speed that you want, obviously having the bird going the same direction as the clouds but moving backwards (since the plane is going much faster :P).

    Hope this helps!
    Best of luck!

    -TGC-
  • kingshrimp12kingshrimp12 Member Posts: 3
    Is there any way to have my background texture turn up at the right side of the screen as it goes off the left so that it is never ending?
  • kingshrimp12kingshrimp12 Member Posts: 3
    edited June 2012
    I have it working almost exactly how I want it now, but is there a way to trigger my background to move on its own when the scene starts? At the moment I have made it so that you have to press the spacebar so that it moves.
Sign In or Register to comment.