simple interpolate and change position not working

app-etiteapp-etite Member Posts: 139
edited November -1 in Working with GS (Mac)
Hi

Im trying to interpolate my 2 background right to left and have it jump back to its original position to loop. I can easily do it with the move behaviour but Im trying to save some memory by using interpolate, which I can then turn movable off also with right?

I have when self.position.x is less than -240

then.. change self.position.x 720

and below I have..

When self.position.x is more than 700

then

Interpolate self.position.x to -240

should this be working?

Comments

  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    If you stop at -240 then it is never less than -240 try less than or equal to.
  • app-etiteapp-etite Member Posts: 139
    thanks

    it looped three times then stopped working after that :\

    now Ive changed the behaviours back to..

    Move.. at speed 225

    I have when self.position.x is less than -240

    then.. change self.position.x 720

    And now it dont move at all... 0.9.3 is killing me!
  • app-etiteapp-etite Member Posts: 139
    how does everybody else loop "TWO" separate backgrounds??? with move??
Sign In or Register to comment.