pixijs / particle-emitter

A particle system for PixiJS
http://pixijs.io/particle-emitter/docs
MIT License
784 stars 124 forks source link

Alpha interpolating doesn't work for images #200

Closed Namesnipes closed 1 year ago

Namesnipes commented 1 year ago

On the old interactive website https://pixijs.io/pixi-particles-editor/#, setting alpha start to 1 and alpha end to 0 creates a smooth fade from visible to invisible. I took the JSON and used upgradeConfig() and everything is the same except the particles jump from fully visible to fully invisible.

I have also manually made the config with the same results.

Version: Pixi.js 7.1.2, particle-emitter 5.0.8

andrewstart commented 1 year ago

What are you using as a container for your particles?

Namesnipes commented 1 year ago

What are you using as a container for your particles?

I was using ParticleContainer, I switched to Container and it's working fine now. Thanks! For anyone else, you can use ParticleContainer if you change the tint property to true.

Closed.