-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsecond_scrn.fxml
28 lines (26 loc) · 1.76 KB
/
second_scrn.fxml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.image.Image?>
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.layout.AnchorPane?>
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="500.0" prefWidth="300.0" xmlns="http://javafx.com/javafx/21" xmlns:fx="http://javafx.com/fxml/1" fx:controller="application.SceneController">
<children>
<ImageView fitHeight="539.0" fitWidth="855.0" layoutX="-318.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@cartoon-game-background-260nw-303257369.jpg" />
</image>
</ImageView>
<Button fx:id="plyr" layoutX="218.0" layoutY="388.0" mnemonicParsing="false" prefHeight="47.0" prefWidth="52.0" styleClass="circular-button-2" />
<ImageView fitHeight="80.0" fitWidth="112.0" layoutX="188.0" layoutY="372.0">
<image>
<Image url="@player3.png" />
</image>
</ImageView>
<Button layoutX="98.0" layoutY="96.0" mnemonicParsing="false" onAction="#switchToeasy_gameplay" prefHeight="25.0" prefWidth="118.0" text="Easy" />
<Button layoutX="97.0" layoutY="140.0" mnemonicParsing="false" onAction="#switchTomed_gameplay" prefHeight="25.0" prefWidth="118.0" text="Medium" />
<Button layoutX="98.0" layoutY="179.0" mnemonicParsing="false" onAction="#switchTohard_gameplay" prefHeight="25.0" prefWidth="118.0" text="Hard" />
<Button layoutX="126.0" layoutY="399.0" mnemonicParsing="false" text="Music" />
<Button layoutX="35.0" layoutY="399.0" mnemonicParsing="false" text="?" />
<Button layoutX="234.0" layoutY="14.0" mnemonicParsing="false" onAction="#switchTofirst_scrn" text="Back" />
</children>
</AnchorPane>