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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 647 KiB

After

Width:  |  Height:  |  Size: 647 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 186 KiB

After

Width:  |  Height:  |  Size: 186 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 MiB

After

Width:  |  Height:  |  Size: 2.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 187 KiB

After

Width:  |  Height:  |  Size: 187 KiB

View File

@@ -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;

View File

@@ -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();

View File

@@ -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);