From 20e50441eabc96f9e96c031286a193760b3c32cd Mon Sep 17 00:00:00 2001 From: RandomityGuy <31925790+RandomityGuy@users.noreply.github.com> Date: Tue, 5 Nov 2024 20:47:31 +0530 Subject: [PATCH] fix particle lifetime transparency --- src/ParticleSystem.hx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ParticleSystem.hx b/src/ParticleSystem.hx index 3d66375e..a350cf08 100644 --- a/src/ParticleSystem.hx +++ b/src/ParticleSystem.hx @@ -149,6 +149,7 @@ class Particle { this.part.r = this.color.r; this.part.g = this.color.g; this.part.b = this.color.b; + this.part.a = this.color.a; this.part.ratio = 1; this.part.size = this.scale / 2; }