From d8e936ea97681c99b12811096c41094693a8e7df Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Thu, 2 Oct 2014 22:31:36 -0400 Subject: [PATCH] V0.2.1 : Updated Goo particle effects (much better now) --- .../shatteredpixeldungeon/actors/blobs/GooWarn.java | 2 +- .../effects/particles/GooWarnParticle.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/actors/blobs/GooWarn.java b/src/com/shatteredpixel/shatteredpixeldungeon/actors/blobs/GooWarn.java index ac34198e5..c5a94d479 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/actors/blobs/GooWarn.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/actors/blobs/GooWarn.java @@ -47,7 +47,7 @@ public class GooWarn extends Blob { @Override public void use( BlobEmitter emitter ) { super.use( emitter ); - emitter.start(GooWarnParticle.FACTORY, 0.2f, 0 ); + emitter.start(GooWarnParticle.FACTORY, 0.1f, 0 ); } @Override diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/effects/particles/GooWarnParticle.java b/src/com/shatteredpixel/shatteredpixeldungeon/effects/particles/GooWarnParticle.java index 31bcf6b6f..9140e4837 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/effects/particles/GooWarnParticle.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/effects/particles/GooWarnParticle.java @@ -5,7 +5,7 @@ import com.watabou.noosa.particles.Emitter; /** * Created by Evan on 30/09/2014. */ -public class GooWarnParticle extends WindParticle { +public class GooWarnParticle extends FlameParticle { public static final Emitter.Factory FACTORY = new Emitter.Factory() { @Override @@ -20,6 +20,6 @@ public class GooWarnParticle extends WindParticle { float p = left / lifespan; color( 0x000000 ); - am = (p < 0.5f ? p : 1 - p) * size; + am = (1 - p*0.9f) + 0.1f; } }