v0.3.2: visual tweaks to tengu's "puff" effect
This commit is contained in:
parent
97484fc90d
commit
4b6cd0531a
|
@ -188,13 +188,14 @@ public class Tengu extends Mob {
|
||||||
Actor.findChar(newPos) != null);
|
Actor.findChar(newPos) != null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (Dungeon.visible[pos]) CellEmitter.get( pos ).burst( Speck.factory( Speck.WOOL ), 6 );
|
||||||
|
|
||||||
|
|
||||||
sprite.move( pos, newPos );
|
sprite.move( pos, newPos );
|
||||||
move( newPos );
|
move( newPos );
|
||||||
|
|
||||||
if (Dungeon.visible[newPos]) {
|
if (Dungeon.visible[newPos]) CellEmitter.get( newPos ).burst( Speck.factory( Speck.WOOL ), 6 );
|
||||||
CellEmitter.get( newPos ).burst( Speck.factory( Speck.WOOL ), 6 );
|
|
||||||
Sample.INSTANCE.play( Assets.SND_PUFF );
|
Sample.INSTANCE.play( Assets.SND_PUFF );
|
||||||
}
|
|
||||||
|
|
||||||
spend( 1 / speed() );
|
spend( 1 / speed() );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user