New salvo sprite

This commit is contained in:
Anuken 2023-05-17 18:45:15 -04:00
parent 445e147c16
commit 00ae28847e
8 changed files with 11 additions and 6 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 501 B

After

Width:  |  Height:  |  Size: 552 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 383 B

After

Width:  |  Height:  |  Size: 752 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 203 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1019 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 429 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 423 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 864 B

View File

@ -3486,11 +3486,16 @@ public class Blocks{
);
drawer = new DrawTurret(){{
parts.add(new RegionPart("-barrel"){{
progress = PartProgress.recoil.delay(0.5f); //Since recoil is 1-0, cut from the start instead of the end.
under = true;
turretHeatLayer = Layer.turret - 0.0001f;
moveY = -1.5f;
parts.add(new RegionPart("-side"){{
progress = PartProgress.warmup;
moveX = 0.6f;
moveRot = -15f;
mirror = true;
layerOffset = 0.001f;
moves.add(new PartMove(PartProgress.recoil, 0.5f, -0.5f, -8f));
}}, new RegionPart("-barrel"){{
progress = PartProgress.recoil;
moveY = -2.5f;
}});
}};
@ -3499,7 +3504,7 @@ public class Blocks{
reload = 31f;
consumeAmmoOnce = false;
ammoEjectBack = 3f;
recoil = 2f;
recoil = 0f;
shake = 1f;
shoot.shots = 4;
shoot.shotDelay = 3f;