Custom wave patterns / Fixed checkbox sprite / Bugfixes

This commit is contained in:
Anuken
2019-03-14 14:01:22 -04:00
parent f2662045ed
commit ed105b102d
46 changed files with 1375 additions and 875 deletions
@@ -124,7 +124,7 @@ public class HudFragment extends Fragment{
stuff.add(stack).width(dsize * 4 + 3f);
stuff.row();
stuff.table("button", t -> t.margin(10f).add(new Bar("boss.health", Pal.health, () -> state.boss() == null ? 0f : state.boss().healthf()).blink(Color.WHITE))
.grow()).fillX().visible(() -> world.isZone() && state.boss() != null).height(60f).get();
.grow()).fillX().visible(() -> state.rules.waves && state.boss() != null).height(60f).get();
stuff.row();
}).visible(() -> shown);
});
@@ -138,7 +138,7 @@ public class MenuFragment extends Fragment{
FloatingDialog dialog = new FloatingDialog("$play");
dialog.setFillParent(false);
dialog.addCloseButton();
dialog.cont.defaults().size(230f, 64f);
dialog.cont.defaults().size(210f, 64f);
dialog.cont.add(new MenuButton("icon-editor", "$newgame", () -> {
dialog.hide();
ui.custom.show();