V0.2.1 : Updated Goo particle effects again, small tweak

This commit is contained in:
Evan Debenham 2014-10-04 02:53:17 -04:00
parent d3af7bb854
commit 6b72f83ccd
3 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.1f, 0 );
emitter.start(GooWarnParticle.FACTORY, 0.05f, 0 );
}
@Override

View File

@ -68,7 +68,7 @@ public class Goo extends Mob {
for (int i = 0; i < Level.NEIGHBOURS9DIST2.length; i++) {
int j = pos + Level.NEIGHBOURS9DIST2[i];
if (j >= 0 && j <= 1023 && Level.passable[j])
CellEmitter.get(j).burst(ElmoParticle.FACTORY, 5);
CellEmitter.get(j).burst(ElmoParticle.FACTORY, 10);
}
Sample.INSTANCE.play( Assets.SND_BURNING );
return Random.NormalIntRange( 5, 30 );

View File

@ -20,6 +20,6 @@ public class GooWarnParticle extends FlameParticle {
float p = left / lifespan;
color( 0x000000 );
am = (1 - p*0.9f) + 0.1f;
am = p > 0.5f ? (1.2f - p*0.8f) : (p*3 - 0.7f);
}
}