Improved launcher looks, disabled character picker
This commit is contained in:
parent
87c1ff3af1
commit
a92732ad1f
@ -144,12 +144,18 @@ public class Launcher extends Application {
|
||||
b2.setValue("Blue");
|
||||
}
|
||||
|
||||
// Hiding character select (only a single character anyways
|
||||
v1.getParent().setManaged(false);
|
||||
v1.getParent().setVisible(false);
|
||||
|
||||
/*******************/
|
||||
/* Window settings */
|
||||
/*******************/
|
||||
|
||||
// Removing window decorations
|
||||
primaryStage.initStyle(StageStyle.UNDECORATED);
|
||||
// primaryStage.initStyle(StageStyle.UNDECORATED);
|
||||
// Setting the window as unresizeable
|
||||
primaryStage.setResizable(false);
|
||||
// Setting window title
|
||||
primaryStage.setTitle("Boulevard Combattant");
|
||||
// Assinging main scene to primaryStage
|
||||
|
@ -18,7 +18,7 @@
|
||||
<?import javafx.scene.control.Hyperlink?>
|
||||
|
||||
<HBox xmlns:fx="http://javafx.com/fxml" stylesheets="@style.css" fx:id="window"
|
||||
prefWidth="1280" prefHeight="720"
|
||||
prefWidth="280" prefHeight="550"
|
||||
fx:controller="launcher.Launcher">
|
||||
|
||||
<children>
|
||||
@ -37,10 +37,10 @@
|
||||
<Label StyleClass="title" text="COMBATTANT"/>
|
||||
|
||||
<VBox fx:id="btn"
|
||||
prefWidth="120" prefHeight="260" spacing="5">
|
||||
prefWidth="120" prefHeight="300" spacing="5">
|
||||
<children>
|
||||
<Label text="Resolution"/>
|
||||
<ChoiceBox fx:id="resolution" styleClass="res_box"/>
|
||||
<ChoiceBox fx:id="resolution" styleClass="res_box" prefWidth="180"/>
|
||||
<HBox fx:id="fs_box" styleClass="fs_box">
|
||||
<children>
|
||||
<Label text="Fullscreen "/>
|
||||
@ -48,7 +48,7 @@
|
||||
</children>
|
||||
</HBox>
|
||||
<Label text="Rounds"/>
|
||||
<ChoiceBox fx:id="rounds" styleClass="res_box"/>
|
||||
<ChoiceBox fx:id="rounds" styleClass="res_box" prefWidth="180"/>
|
||||
<HBox fx:id="hb_box" styleClass="fs_box">
|
||||
<children>
|
||||
<Label text="Hitboxes "/>
|
||||
@ -56,14 +56,14 @@
|
||||
</children>
|
||||
</HBox>
|
||||
<Button text="Play" fx:id="btn_launch" onAction="#runGame"
|
||||
prefWidth="110" prefHeight="15"/>
|
||||
prefWidth="180" prefHeight="25"/>
|
||||
<Button text="Quit" fx:id="btn_quit" onAction="#quit"
|
||||
prefWidth="110" prefHeight="15"/>
|
||||
prefWidth="180" prefHeight="25"/>
|
||||
</children>
|
||||
</VBox>
|
||||
|
||||
<VBox fx:id="prgm"
|
||||
prefWidth="120">
|
||||
prefWidth="120" prefHeight="80">
|
||||
<children>
|
||||
<Hyperlink text="GIT" onAction="#website"/>
|
||||
<Text text="Ver: Snapshot"/>
|
||||
|
@ -13,8 +13,9 @@ Text, Label {
|
||||
/*************/
|
||||
|
||||
#sidepanel {
|
||||
-fx-background-color: #303050;
|
||||
-fx-alignment: center;
|
||||
-fx-background-color: #000000;
|
||||
-fx-alignment: top-center;
|
||||
-fx-padding: 30 0 0 0;
|
||||
}
|
||||
|
||||
/* Logo */
|
||||
|
Loading…
x
Reference in New Issue
Block a user