Scrolling Background (on small scene)

EastboundEastbound Member, BASIC Posts: 1,074
edited November -1 in Working with GS (Mac)
I would like to make a scrolling shooter using a scene size 480 x 320 and just have the enemies and backgrounds scroll to give the illusion of movement. How could I make a background scroll like that?

Comments

  • stanimationstanimation Member Posts: 406
    This is how I did it.

    first go to your scene attributes and change the scene width to double, or however long you want, the scene size to 960.

    Then add the same actor bg in you scene. have them next to each other so it takes up the whole 960 width.

    Next add a move attribute moving in the right to left direction at a slow rate of about 30.
  • EastboundEastbound Member, BASIC Posts: 1,074
    So it basically becomes a very wide image that scrolls by for the length of the level?

    What if I wanted it to scroll quickly, which would make it be a massive image. No way to scroll infinitely?
  • stanimationstanimation Member Posts: 406
    I'm sure there is. But I dunno how ? Maybe by using the spawn feature?
  • venon_itvenon_it Member, PRO Posts: 594
    Hi,
    in your background image (480x320) insert this function:

    -Move
    direction 190° , speed 30

    -Replicate:
    Replicatedirection "0" copies 1000 spacing 50
  • stanimationstanimation Member Posts: 406
    Nice Venon_it. I spaced it at 480 on a full BG though. Works great. Great tip thanks!!
Sign In or Register to comment.