sprite in ParticleContainer can not animate alpha value
See original GitHub issuesprite in ParticleContainer can not animate alpha value
I have set
{ alpha: true }
It can be 0 or 1, but can not be 0.5, 0.6 etc…
Please Help.
Thank you very much!!!
Issue Analytics
- State:
- Created 6 years ago
- Comments:7
Top Results From Across the Web
PIXI.ParticleContainer - PixiJS API Documentation
ParticleContainer implements the basic object transform (position, scale, rotation) and some advanced functionality like tint (as of v4.5.6).
Read more >PIXI.ParticleContainer support · Issue #7 · pixijs/particle-emitter
Hi, Is it possible to use this with the new PIXI.ParticleContainer? I've tried, but cant really get a good result (bad preformance).
Read more >How to get Pixi Particles to behave properly when set as a ...
I passed the emitter to the container so it could update its transform. I needed to calculate the original point of the sprite...
Read more >Sprites - PixiJS
Alpha is a standard display object property. You can use it to fade sprites into the scene by animating each sprite's alpha from...
Read more >Cannot change the texture of sprites in a ParticleContainer
I want to create animated particles inside a particle container but, when i try to change the texture of an sprite for other...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Its not about alpha, you just used several textures in ParticleContainer, and it can show sprites only from same atlas. Please use texturePacker or manually pack it and create
PIXI.Texture
s for themIf you want a performance boost, you have to satisfy all the conditions or else optimization will crash.
I take it, you want one ALPHA property that does everything. Unfortunately, this place of pixi is not written by telepaths, you have to read docs and sources to understand what means
ParticleContainer is one of optimizations that require to think.