-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheasy_gameplay.fxml
27 lines (25 loc) · 1.49 KB
/
easy_gameplay.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
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.image.Image?>
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.text.Text?>
<AnchorPane fx:id="easy_gamepane" 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 fx:id="bg" fitHeight="535.0" fitWidth="347.0" layoutX="-1.0" layoutY="-7.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@desktop-wallpaper-firewatch-green-forest-mountains-minimal-creative-graphics-for-iphone-android-mobile-and-thumbnail.jpg" />
</image>
</ImageView>
<Button layoutX="246.0" layoutY="1.0" mnemonicParsing="false" onAction="#switchTofirst_scrn" text="Home" />
<ImageView fx:id="cherry_counter" fitHeight="34.0" fitWidth="29.0" layoutX="26.0" layoutY="34.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@cherry.png" />
</image>
</ImageView>
<Label fx:id="cherry_counter" layoutX="25.0" layoutY="34.0" text="4" />
<Label fx:id="score" layoutX="279.0" layoutY="33.0" text="13" />
<Text layoutX="244.0" layoutY="47.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Score:" />
</children>
</AnchorPane>