Problem with a scrolling background

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
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