Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.4.4 spine support #107

Open
lancety opened this issue Jun 13, 2022 · 4 comments
Open

0.4.4 spine support #107

lancety opened this issue Jun 13, 2022 · 4 comments

Comments

@lancety
Copy link

lancety commented Jun 13, 2022

issues:

  • Spine2d, Spine3d did not exist in the npm package after npm install pixi-projection
  • Could not find guide about how to use Spine2d in pixi v6

@ivanpopelyshev , do you have time to help, is there any working demo for spine sprite? Thanks~

@lancety
Copy link
Author

lancety commented Jun 13, 2022

updates:

New issues:

  • by using projection Spine2D, the pixi chrome debug plugin now stopped working, 'reconnect' the plugin to a page, will cause page freeze. Tested newest plugin version updated in May 2022.

Now I need to add container to the Spine2DInstance, to make it looks not stretched on Y axies - by adding scale.y to container

@ivanpopelyshev
Copy link
Collaborator

Interesting, I'll look into it

@lancety
Copy link
Author

lancety commented Jun 14, 2022

2022-06-14 202146
the logic is testing instanceof this.constructors[251] which is 'toLocal' function, the function is belong to pixi-projection Container2d class.
the error is TypeError: Function has non-object prototype 'undefined' in instanceof check

@lancety
Copy link
Author

lancety commented Jun 14, 2022

seems it is a sync process which always break render. so totally could not use pixi plugin when using pixi-projection.
In my logic, I did not use Container2d, only used Sprite2d and Spine2d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants