v3.0.2: adjusted elements of Tengu's run animation, fixes visual errors
This commit is contained in:
@@ -425,6 +425,9 @@ public class PrisonBossLevel extends Level {
|
||||
tengu.pos = tenguPos;
|
||||
GameScene.add( tengu );
|
||||
tengu.notice();
|
||||
|
||||
CellEmitter.get( tengu.pos ).burst( Speck.factory( Speck.WOOL ), 6 );
|
||||
Sample.INSTANCE.play( Assets.Sounds.PUFF );
|
||||
|
||||
state = State.FIGHT_START;
|
||||
|
||||
@@ -470,6 +473,8 @@ public class PrisonBossLevel extends Level {
|
||||
GameScene.add(tengu);
|
||||
tengu.timeToNow();
|
||||
tengu.notice();
|
||||
|
||||
CellEmitter.get( tengu.pos ).burst( Speck.factory( Speck.WOOL ), 6 );
|
||||
|
||||
GameScene.flash(0x80FFFFFF);
|
||||
Sample.INSTANCE.play(Assets.Sounds.BLAST);
|
||||
|
||||
@@ -51,7 +51,8 @@ public class TenguSprite extends MobSprite {
|
||||
die = new Animation( 8, false );
|
||||
die.frames( frames, 8, 9, 10, 10, 10, 10, 10, 10 );
|
||||
|
||||
play( run.clone() );
|
||||
play( run );
|
||||
isMoving = true;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -83,7 +84,9 @@ public class TenguSprite extends MobSprite {
|
||||
|
||||
@Override
|
||||
public void update() {
|
||||
if (paused) isMoving = false;
|
||||
if (paused && !curAnim.looped){
|
||||
updateAnimation();
|
||||
}
|
||||
super.update();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user