-
Notifications
You must be signed in to change notification settings - Fork 128
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
animatedSingle behaviour #201
Comments
Would you be able to share your project for me to look at? |
Hi @andrewstart i've made the project as a whole available here: https://github.com/BAUR0/ts-project |
The isInteractive stuff I have no idea about, but probably stems from a similar issue that the If you are able to fix the interaction thing and the particle visibility is still a problem, a workaround of |
Thanks for the workaround Andrew, I've put that into my project and the coins are animating now. It hasn't had any affect on the interactivity error coming from |
PixiJS doesn't have a new way of exporting textures - your Typescript config combined with newer module features in Node/Webpack/etc were resulting in your imports of Using these settings seems to fix it.
|
i have an issue similar to this when i use particle-emitter and an mouse event occur.
I'm using I solve the problem defining the |
Sounds like the same configuration issue, see above. |
Hi, I've just set up a little project using
pixi.js
7.2.4 (to be precise) and v5.0.8 of@pixi/particle-emitter
. I've been unable to get theanimatedSingle
behavior type to work. I am seeing correct results when trying to usetextureSingle
behavior type though. It could be my setup perhaps but I don't think that would explain the discrepancies I'm seeing.For example:
The above works absolutely fine and I see exactly what I would expect. however:
This yields no particles at all visible on the screen when compared to the previous config. After having a quick look at your docs over here:
particle-emitter/src/behaviors/AnimatedTexture.ts
Line 212 in d82acc7
I don't appear to be doing anything too far away from the ordinary. I've also tried using
PIXI.Assets.get('coin-anim-01.png')
which yielded similar results.In addition to the above problem I have also noticed that whenever the particle emitter is running and I move the mouse within the PIXI canvas I get the following stack error:
After a quick search I came to here: pixijs/pixijs#9380
However using the fix that Zyie suggested here: https://github.com/pixijs/pixijs/wiki/Upgrading-PixiJS
I have had no apparent change in results.
The text was updated successfully, but these errors were encountered: