This commit is contained in:
Anuken
2020-07-29 08:19:39 -04:00
parent 81265500a5
commit 7d2b7197d6
6 changed files with 44 additions and 6 deletions

View File

@@ -1615,7 +1615,7 @@ public class Blocks implements ContentList{
Items.surgealloy, Bullets.fragSurge
);
xRand = 4f;
reloadTime = 6f;
reloadTime = 8f;
range = 200f;
size = 3;
recoilAmount = 3f;

View File

@@ -74,7 +74,7 @@ public class UnitTypes implements ContentList{
hitsize = 9f;
range = 10f;
health = 500;
armor = 3f;
armor = 4f;
immunities.add(StatusEffects.burning);
@@ -107,7 +107,7 @@ public class UnitTypes implements ContentList{
rotateSpeed = 3f;
targetAir = false;
health = 790;
armor = 8f;
armor = 9f;
weapons.add(new Weapon("artillery"){{
y = 1f;
@@ -478,7 +478,7 @@ public class UnitTypes implements ContentList{
range = 140f;
hitsize = 18f;
lowAltitude = true;
armor = 4f;
armor = 6f;
engineOffset = 12f;
engineSize = 3f;

View File

@@ -249,6 +249,7 @@ public class Weathers implements ContentList{
TextureRegion region;
float yspeed = 1f, xspeed = 4f, size = 5f, padding = size, invDensity = 2000f;
Color color = Color.valueOf("7457ce");
Vec2 force = new Vec2(0.25f, 0.01f);
Texture noise;
{
@@ -264,6 +265,14 @@ public class Weathers implements ContentList{
noise.setFilter(TextureFilter.linear);
}
@Override
public void update(WeatherState state){
for(Unit unit : Groups.unit){
unit.impulse(force.x * state.intensity(), force.y * state.intensity());
}
}
@Override
public void dispose(){
noise.dispose();