GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Problem with a scrolling background

touchcreamtouchcream Posts: 63Member
Hi everyone !
I'm having a little problem with my scrolling background. When an actor (part of the background) dissapear from the screen, it goes to self.position - 2*self.width. This works fine BUT the actor loses his linear speed and I really don't understand why. Could someone tell me what I'm doing wrong here ? Because I use the same technique in my others games that I develop myself (in c#) and it works fine :/

Comments

  • touchcreamtouchcream Posts: 63Member
    I finally solved it but I don't really know how ... it's really weird, something that simple to code made really hard to make in GS ^^
This discussion has been closed.