Small sprite tweaks & bugfixes
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 647 KiB After Width: | Height: | Size: 647 KiB |
|
Before Width: | Height: | Size: 186 KiB After Width: | Height: | Size: 186 KiB |
|
Before Width: | Height: | Size: 2.1 MiB After Width: | Height: | Size: 2.1 MiB |
|
Before Width: | Height: | Size: 187 KiB After Width: | Height: | Size: 187 KiB |
@@ -1066,6 +1066,7 @@ public class UnitTypes implements ContentList{
|
|||||||
rotateSpeed = 3.3f;
|
rotateSpeed = 3.3f;
|
||||||
immunities = ObjectSet.with(StatusEffects.wet);
|
immunities = ObjectSet.with(StatusEffects.wet);
|
||||||
trailLength = 20;
|
trailLength = 20;
|
||||||
|
rotateShooting = false;
|
||||||
|
|
||||||
armor = 2f;
|
armor = 2f;
|
||||||
|
|
||||||
@@ -1121,6 +1122,7 @@ public class UnitTypes implements ContentList{
|
|||||||
trailX = 5.5f;
|
trailX = 5.5f;
|
||||||
trailY = -4f;
|
trailY = -4f;
|
||||||
trailScl = 1.9f;
|
trailScl = 1.9f;
|
||||||
|
rotateShooting = false;
|
||||||
|
|
||||||
abilities.add(new StatusFieldAbility(StatusEffects.overclock, 60f * 6, 60f * 6f, 60f));
|
abilities.add(new StatusFieldAbility(StatusEffects.overclock, 60f * 6, 60f * 6f, 60f));
|
||||||
|
|
||||||
@@ -1157,6 +1159,7 @@ public class UnitTypes implements ContentList{
|
|||||||
hitsize = 14f;
|
hitsize = 14f;
|
||||||
armor = 6f;
|
armor = 6f;
|
||||||
immunities = ObjectSet.with(StatusEffects.wet);
|
immunities = ObjectSet.with(StatusEffects.wet);
|
||||||
|
rotateShooting = false;
|
||||||
|
|
||||||
trailLength = 22;
|
trailLength = 22;
|
||||||
trailX = 7f;
|
trailX = 7f;
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ public class DesktopInput extends InputHandler{
|
|||||||
@Override
|
@Override
|
||||||
public void buildUI(Group group){
|
public void buildUI(Group group){
|
||||||
group.fill(t -> {
|
group.fill(t -> {
|
||||||
t.visible(() -> Core.settings.getBool("hints") && !player.dead() && !player.unit().spawnedByCore() && !(Core.settings.getBool("hints") && lastSchematic != null && !selectRequests.isEmpty()));
|
t.visible(() -> Core.settings.getBool("hints") && ui.hudfrag.shown() && !player.dead() && !player.unit().spawnedByCore() && !(Core.settings.getBool("hints") && lastSchematic != null && !selectRequests.isEmpty()));
|
||||||
t.bottom();
|
t.bottom();
|
||||||
t.table(Styles.black6, b -> {
|
t.table(Styles.black6, b -> {
|
||||||
b.defaults().left();
|
b.defaults().left();
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ public class LogicDialog extends BaseDialog{
|
|||||||
clearChildren();
|
clearChildren();
|
||||||
|
|
||||||
canvas = new LCanvas();
|
canvas = new LCanvas();
|
||||||
|
shouldPause = true;
|
||||||
addCloseButton();
|
addCloseButton();
|
||||||
|
|
||||||
buttons.getCells().first().width(170f);
|
buttons.getCells().first().width(170f);
|
||||||
|
|||||||