Jump to content

Moving tween relative to the sprite position


Dhouzy
 Share

Recommended Posts

hi,

I'm moving 2 chain tween but when the second tween is executed the position of the sprite is not updated...

moveCase.to({x: 328}, 750, Phaser.Easing.Linear.In);
moveCase2.to({x: sprites.position.x - 50}, 500, Phaser.Easing.Linear.In, true, 780);
moveCase.chain(moveCase2);
moveCase.start();


I tried a lot of things ... there is something I don't understand. Any help is greatly appreciate.

Thanks

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...