Added new SFX, dashing, made generation FPS-independent

This commit is contained in:
Anuken
2017-12-10 17:01:14 -05:00
parent 347cae23e5
commit 5ea8f0b8e2
27 changed files with 110 additions and 44 deletions

View File

@@ -69,6 +69,10 @@ public enum Weapon{
},
railgun(40, BulletType.sniper, "Shoots one long-range bullet.", stack(Item.steel, 60), stack(Item.iron, 60)){
{
shootsound = "railgun";
}
@Override
public void shoot(Player p){
float ang = mouseAngle(p);
@@ -79,6 +83,10 @@ public enum Weapon{
},
mortar(100, BulletType.shell, "Shoots a slow, but damaging shell.", stack(Item.titanium, 40), stack(Item.steel, 60)){
{
shootsound = "bigshot";
}
@Override
public void shoot(Player p){
float ang = mouseAngle(p);