Wrap-X background question.

olster1olster1 Member Posts: 396
edited November -1 in Working with GS (Mac)
Hey guys, I need some help. I have a scene with the wrap x attribute enabled. My backgrounds consists of a couple of different actors (road, clouds, skyline) all mowing at different speeds. All these actors are in the same layer with scrollable enabled. They work fine. Now, my other layer, which contains various vehicle actors, I dont want to wrap around x. I have unchecked scrollable yet they wrap around x like the background. Can someone explain to me how to only make certain actors in a scene wrap round x and some not?

Also a side note, how come I can only check the layer heading as scrollable/un-scrollable and the specific actors within the layer, I mean there are boxes next to the actors too but they're greyed out?

I hope I have explained my situation well enough for someone to help me out and any help would be much appreciated.

thanks

Comments

  • olster1olster1 Member Posts: 396
    OKay thanks. So Could someone explain how I would do it withough wrap x checked? I can't for the life of me figure out how... sorry
  • olster1olster1 Member Posts: 396
    Okay, I figured out how to do it without wrap x but there is a problem. After a certain speed a gap begins to emerge between the actor. I remember readin a post on how to solve this but I can't for the life of me find it. Anyone have any ideas?
  • olster1olster1 Member Posts: 396
    FOUND IT!!!!!!!

    POLYGAMe
    Yeah, better just to move the actor back to the original position, rather than continually spawning new ones ;)

    Have two images side by side... the following is for two 480px wide images:

    Have a move left rule then:

    When self.positionX < or = to -240, change attribute self.positionX to 720 + 240 + self.positionX

    That'll work ;)

    I adore that man!
  • mubblemubble Member Posts: 9
    Sorry to bump this, hope it's ok as it's relevant rather than starting a new thread. I have just started using GS. I have followed the above instructions to loop my background and keep on wrap on x but I am getting a black gap at the end before it loops back. I have tried several things and I don't understand why.
Sign In or Register to comment.