Added new wave spawning system

This commit is contained in:
Anuken
2018-06-27 10:56:39 -04:00
parent c89123b18a
commit e799187aaf
19 changed files with 260 additions and 160 deletions

View File

@@ -42,7 +42,6 @@ public class StatusEffects implements ContentList {
if (Mathf.chance(Timers.delta() * 0.2f)) {
Effects.effect(EnvironmentFx.burning, unit.x + Mathf.range(unit.getSize() / 2f), unit.y + Mathf.range(unit.getSize() / 2f));
}
}
};

View File

@@ -58,7 +58,7 @@ public class Weapons implements ContentList {
ejectEffect = Fx.none;
velocityRnd = 1f;
inaccuracy = 40f;
setAmmo(AmmoTypes.bombExplosive);
setAmmo(AmmoTypes.bombExplosive, AmmoTypes.bombIncendiary);
}};
}

View File

@@ -35,13 +35,13 @@ public class WeaponBullets extends BulletList {
}
};
bombIncendiary = new BombBulletType(20f, 20f, "shell"){
bombIncendiary = new BombBulletType(15f, 10f, "shell"){
{
bulletWidth = 9f;
bulletHeight = 13f;
bulletWidth = 8f;
bulletHeight = 12f;
hiteffect = BulletFx.flakExplosion;
backColor = Palette.darkFlame;
frontColor = Palette.lightFlame;
backColor = Palette.lightOrange;
frontColor = Palette.lightishOrange;
}
@Override