These are chat archives for pixijs/pixi.js

6th
Nov 2017
@R_Talon_twitter
Nov 06 2017 11:26
I Have a little problem with PIXI and TweenLite. ¿Is necesary change anchor por center scale?
is There any pluging for scale with pivot center without change the anchor?
Ivan Popelyshev
@ivanpopelyshev
Nov 06 2017 15:56
no, make your own transform
make your own Transform class and use it )
@R_Talon_twitter
Nov 06 2017 15:57
ok ok, done!
Ivan Popelyshev
@ivanpopelyshev
Nov 06 2017 16:01
i mean, look in "src/core/display" there are transforms and you can make your own class based on Transform, add whatever you want there
if you know math
then sprite.transform = new MyTransform()
position, scale, other things are only shortcut for transform fields
@R_Talon_twitter
Nov 06 2017 16:02
ummmm is a good solution too