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