Merge remote-tracking branch 'origin/master'

This commit is contained in:
Evan Debenham 2014-10-03 14:00:25 -04:00
commit 960f39b56b
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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;
}
}