-
Notifications
You must be signed in to change notification settings - Fork 34
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
PIXI 6 support #87
Comments
currently im moving pixi-spine to v6, its almost ready, projection is next. As for projection, it should work like that, the old way, with |
@ivanpopelyshev |
Same. Writing the same thing and it isn't working. In my case I get:
(Error probably triggering on the first line that attempts to use the camera: |
use |
@ivanpopelyshev do you have a plan/estimate when you would be looking into this? I could take a peek at some point now that my pixi-particles v6 port PR has been approved. If you're going to do this soon then there's no point for me to look at it since you'll probably get it done much faster anyways and I'd like to avoid us doing the same work twice. |
this week probably. The problem is that i want to separate it to multiple packages so it will be something like pixi-spine by structure. |
I tried both! I get the same issue with both, unfortunately.
… On Jun 24, 2021, at 4:37 PM, Ivan Popelyshev ***@***.***> wrote:
this week probably. The problem is that i want to separate it to multiple packages so it will be something like pixi-spine by structure.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
@ivanpopelyshev I guessed you might have some plans like that. That does make it a bit more complicated so I'll keep my fingers off the plugin for now. 😅 |
pixijs/pixijs#7548 got merged, hope new release soon , i need this for projection too |
Any news on progress? |
@vkarponen tomorrow! |
OK, now we have a problem: current version that projection typings work with |
What's your dependency on pixi spine? Spine can work on 6 or greater, this works on 6.1 or greater, shouldn't be an issue 🤔 |
c:\rep\pixi-games\pixi-projection>npm i
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: pixi-projection@0.4.0
npm ERR! Found: @pixi/constants@6.1.0-rc.4
npm ERR! node_modules/@pixi/constants
npm ERR! dev @pixi/constants@"^6.1.0-rc.4" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @pixi/constants@"^6.0.2" from @pixi-spine/base@3.0.4
npm ERR! node_modules/@pixi-spine/base
npm ERR! dev @pixi-spine/base@"^3.0.4" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution. |
The main problem is that if i remove spine dep, then someone else can try to use |
I don't say remove the dep, I mean write it differently. (Syntax might be off, I am from my phone) |
OK, that can wait, i just put |
Done, try 0.4.1 in npm |
@ivanpopelyshev I tried using 0.4.1 in npm and had the following error: when using modules. So, for now I modified the function PIXI.Sprite.prototype.convertTo3d which had convertTo3d.call(this); to PIXI.Container.prototype.convertTo3d.call(this); This solves the issue for me, Is there a better approach which could be updated in the package? |
oh !@#$ |
Are there any plans to support PIXI 6?
The text was updated successfully, but these errors were encountered: