-
Notifications
You must be signed in to change notification settings - Fork 129
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
Better documentation on how to migrate to v5. #163
Comments
Whoops, the |
After quite some time spent adapting code to this new version, I've managed to avoid the runtime errors I was talking about. Now the problem is that particles aren't getting emitted at all. If you want/can help me, I can invite you to my project's repo (it's private), otherwise I can paste some excerpts of code here, but there's a lot of custom boilerplate stuff going on, so I should paste quite big chunks of text in order to give you some valuable context. |
You can invite me, and I'll take a look this evening. |
Done. You can use the |
For your circle spawn behaviors, |
As the titles says. Cannot import
AnimatedParticle
anymore after removingpixi-particles
v4.3.1 and installing@pixi/particle-emitter
v5.0.1 to replace it. I can see that it has been deprecated in v5 by looking at this commit: 11b21f8, but I'd like to get some documentation on how to use animated particles under this new version.I've encountered other issues while following the examples, like
PIXI.Texture.fromImage
causing the following error to be thrown:Property 'fromImage' does not exist on type 'typeof Texture'.
Using the
upgradeConfig
helper is not helping in any way, since I'm gettingUncaught TypeError: Cannot read property 'time' of null
errors at runtime whenever I try to spawn a particle.The text was updated successfully, but these errors were encountered: