Quantcast
Channel: Pixi.js Latest Topics
Viewing all articles
Browse latest Browse all 3978

PixiJS6 and @pixijs/Animate

$
0
0

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?


Viewing all articles
Browse latest Browse all 3978

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>