Small sprite tweaks & bugfixes

This commit is contained in:
Anuken
2020-09-08 21:40:50 -04:00
parent ac88d84322
commit d9a067b4d2
8 changed files with 5 additions and 1 deletions

View File

@@ -1066,6 +1066,7 @@ public class UnitTypes implements ContentList{
rotateSpeed = 3.3f;
immunities = ObjectSet.with(StatusEffects.wet);
trailLength = 20;
rotateShooting = false;
armor = 2f;
@@ -1121,6 +1122,7 @@ public class UnitTypes implements ContentList{
trailX = 5.5f;
trailY = -4f;
trailScl = 1.9f;
rotateShooting = false;
abilities.add(new StatusFieldAbility(StatusEffects.overclock, 60f * 6, 60f * 6f, 60f));
@@ -1157,6 +1159,7 @@ public class UnitTypes implements ContentList{
hitsize = 14f;
armor = 6f;
immunities = ObjectSet.with(StatusEffects.wet);
rotateShooting = false;
trailLength = 22;
trailX = 7f;

View File

@@ -48,7 +48,7 @@ public class DesktopInput extends InputHandler{
@Override
public void buildUI(Group group){
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.table(Styles.black6, b -> {
b.defaults().left();

View File

@@ -20,6 +20,7 @@ public class LogicDialog extends BaseDialog{
clearChildren();
canvas = new LCanvas();
shouldPause = true;
addCloseButton();
buttons.getCells().first().width(170f);