Jump to content

PixiJS6 and @pixijs/Animate


jhon nash
 Share

Recommended Posts

I decided to use pixi animate with pixijs version 6.5.0 to create an animation. My animation is very simple. I will move a sprite from one point to another.
  new Tween(elm as DisplayObject,{x:0,y:0},{x:100,y:100},-1,100)

I am not getting any errors in the code. But it doesn't work.
Don't mind the -1. It doesn't work for values 1 or 50 either.

Have you tried using this before? Do you have sample code?

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