-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
How to upgrade to Phaser 3.52.0 #27
Comments
Ok give me a moment to fix the issue with this peer dependency |
Hey @jdnichollsc any updates on this topic? I also would like to use phaser 3.52 but ion-phaser depends on 3.19 :) |
Hey @NilsMinor, As a workaround I endup creating a React componenet that manages Phaser's game instance. Here follows the base code for the componenet, maybe you'll have to tweak your CSS to actually show the canvas but that depends a lot on your layout. Hope it helps, beign that I'm not sure you're using React....
|
Let me fix that during this weekend, if you are using React you can try using hooks: https://stackblitz.com/edit/react-phaser |
I am using angular and it works really well :) But I have some issues with version 3.19 and I hope that these issues are fixed in a newer version. But as ion-phaser depends on 3.19 I am not able to update. Thanks for updating @jdnichollsc 👍 |
Hey :) Any updates on the ion-phaser/phaser dependency ? I do not really understand how to fix this problem by myself with adding any code to the package.json for example, so I really need you to update the dependency inside ion-phaser ^^ Thanks, Nils :) |
Let me try to do that ASAP, I need to identify what's the problem with the current configuration because Phaser is a peer dependency, very odd |
Do you know any good npm package to analyze bundle size locally? |
I never used a nom package to analyze the size but this (https://www.npmjs.com/package/webpack-bundle-analyzer) seams to do exactly what you are looking for ? :) |
I am using Vue and also need Phaser version of 3.50 or higher. I am a bit confused since in package.json I do have "phaser": "^3.52.0" but none of the functions which came with 3.5 work for me |
Hey @jdnichollsc sorry for bugging you :D did you came up with a solution? |
I'm trying to solve the issue with this peer dependency, any reaction or comment from the below issue itself is really appreciated! ionic-team/stencil#2829 |
Please check the new version and let me know 👍 |
Let me know if the issue persist, thanks! |
Right now the version of Phaser is freezed at 3.19.0 and I'm getting a lot of errors that, according to the developer, would be solved by upgrading it.
Is there any way to upgrade it?
The text was updated successfully, but these errors were encountered: