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

scale.x and scaleX, specificially for GSAP

$
0
0

I'm using GSAP with PIXI and if I want to tween scale and position I have to make specific tweens for each.

 

Fx.

tl.to(player_1, 0.6, {y:"+=200"}, "label");

tl.to(player_1.scale, 0.6, {y:1}, "label");

 

This forces me to make needless code, such as adding labels to make the animation sync up.

 

Is there a chance you'll add scaleX and scaleY instead/along side of scale.x and scale.y?


Viewing all articles
Browse latest Browse all 3978

Trending Articles



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