Open geddski opened 3 years ago
Oh, that's interesting. Any way to reproduce it and make small example please? I honestly dont use spine at all, i just pull changes from spine-ts and ask people if it works for them :)
Yeah I'll make an example to test against. Did any of pixi-spine's dependencies change in 2.1.11
?
all deps i have are only for build. pixi-spine and spine-ts on its own dont have any deps
@geddski please?
@ivanpopelyshev oh thanks for the reminder! I'll whip it up now.
@ivanpopelyshev working on it, but having a hard time creating a demo. Pixi loader seems incompatible with services like codesandbox. So I'm switching to a local repo but having trouble now with pixi-spine's requirement of a global PIXI
object.
@ivanpopelyshev if you have a demo I can modify I'd be happy to. Or if you'd rather, here is a spine object where you can see the distortion when flipped. (worked fined in pixi-spine 2.1.10 but not in 2.1.11)
https://drive.google.com/file/d/1CtxTDH3FCNtFsI2i_b61mDsnbEpmhSAq/view?usp=sharing, https://drive.google.com/file/d/1WSgpzp4UFymvRSv1qOG6hqWBHdtYl8GH/view?usp=sharing, https://drive.google.com/file/d/1cgRdyX-zSVxyjvnHUP5B_sBAn60knhQO/view?usp=sharing
Thanks! Is it buggy in starting state or in particular animation?
P.S. downloaded all three, now you can remove them
it's when it's flipped horizontally:
hoodie.skeleton.scaleX = -1;
I've noticed it in the idle animation:
hoodie.state.setAnimation(0, 'idle', true);
@ivanpopelyshev did you have a chance to take a look?
No, I was on vacation :) gonna look at it today
OK, after all my adventures, im here.
OK, reproduced the bug, looking at it
I dont know why it was closed :)
when upgrading from
2.1.10
to2.1.11
I noticed my spine objects get distorted when they're flipped horizontally (skeleton.scaleX = -1;
)2.1.10
2.1.11
Reverting pixi-spine to
2.1.10
fixes the problem for me. Not sure what changed in pixi-spine to cause this.