Jump to content

Phaser Tween Linear Easing Has Problem


ssbdev
 Share

Recommended Posts

I had an issue about Phaser Tween. I'm using a path array for tween animation. ( added as quote)  My object which is animating the positions are sometimes get slow, sometimes get faster according to distance between x and y positions of each element. I want to make the object's speed same at each part of my tween. I made the animation easing as "Linear" but it has no effect on providing the stable speed. How can i do it ? Thanks in advance for your help...

 

Quote

this.tween.to({x: [1, 400, 500, 550], y: [100, 300, 320, 400] }, 2000, "Linear", true, 0, 0, false)

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

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