This commit is contained in:
Anuken
2019-08-16 12:31:44 -04:00
parent 562d3e6528
commit 0429abbb28
5 changed files with 20 additions and 7 deletions

View File

@@ -5,6 +5,7 @@ import io.anuke.arc.math.Mathf;
import io.anuke.arc.util.Time;
import io.anuke.mindustry.content.Fx;
import io.anuke.mindustry.entities.Effects;
import io.anuke.mindustry.gen.*;
import io.anuke.mindustry.graphics.Pal;
public class MissileBulletType extends BasicBulletType{
@@ -18,6 +19,7 @@ public class MissileBulletType extends BasicBulletType{
backColor = Pal.missileYellowBack;
frontColor = Pal.missileYellow;
homingPower = 7f;
hitSound = Sounds.explosion;
}
@Override

View File

@@ -514,7 +514,7 @@ public class Player extends Unit implements BuilderMinerTrait, ShooterTrait{
}
if(!isDead() && isFlying()){
loops.play(Sounds.thruster, this, Mathf.clamp(velocity.len() * 2f) * 0.4f);
loops.play(Sounds.thruster, this, Mathf.clamp(velocity.len() * 2f) * 0.3f);
}
BuildRequest request = buildRequest();