Compare commits
1 Commits
Author | SHA1 | Date |
---|---|---|
![]() |
2bb0642d0b | 3 years ago |
@ -1,38 +1,2 @@
|
||||
<h1 align="center">Welcome to 2D Dice Game 👋</h1>
|
||||
<p>
|
||||
<img alt="Version" src="https://img.shields.io/badge/version-1.0-blue.svg?cacheSeconds=2592000" />
|
||||
<img src="https://img.shields.io/badge/Java-11-blue.svg" alt="."/>
|
||||
<img src="https://img.shields.io/badge/JavaFX-11-yellow.svg" alt="."/>
|
||||
<a href="https://github.com/ZartaX0O3/discord-bde-v4#readme" target="_blank">
|
||||
<img alt="Documentation" src="https://img.shields.io/badge/documentation-yes-brightgreen.svg" />
|
||||
</a>
|
||||
|
||||
</p>
|
||||
|
||||
> This is a 2D Game in Java & JavaFX
|
||||
|
||||
### 🏠 [Homepage](https://github.com/ZartaX0O3/discord-bde-v4)
|
||||
|
||||
## Prerequisites
|
||||
|
||||
- Java 11 & JavaFX 11
|
||||
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
java --module-path ""C:/Program Files/Java/javafx-sdk-11/lib" " --add-modules javafx.fxml,javafx.controls,javafx.media -jar out/artifacts/2DGameJavaFX_jar/2DGameJavaFX.jar
|
||||
```
|
||||
|
||||
|
||||
## Author
|
||||
|
||||
👤 **ZartaX0O3**
|
||||
|
||||
* Github: [@Arthur_VD](https://gitlab.iut-clermont.uca.fr/arvandamme)
|
||||
* Github: [@Julien_T](https://gitlab.iut-clermont.uca.fr/jutheme)
|
||||
|
||||
## Show your support
|
||||
|
||||
Give a ⭐️ if this project helped you!
|
||||
|
||||
# projetJavaFX
|
||||
/
|
||||
|
@ -0,0 +1,8 @@
|
||||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
# Datasource local storage ignored files
|
||||
/dataSources/
|
||||
/dataSources.local.xml
|
||||
# Editor-based HTTP Client requests
|
||||
/httpRequests/
|
@ -0,0 +1,151 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import com.jfoenix.controls.JFXButton?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.image.Image?>
|
||||
<?import javafx.scene.image.ImageView?>
|
||||
<?import javafx.scene.layout.AnchorPane?>
|
||||
<?import javafx.scene.layout.Pane?>
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
|
||||
<AnchorPane prefHeight="500.0" prefWidth="800.0" style="-fx-background-color: White;">
|
||||
<children>
|
||||
<AnchorPane prefHeight="46.0" prefWidth="800.0" style="-fx-background-color: #002d40;">
|
||||
<children>
|
||||
<Label layoutX="7.0" layoutY="7.0">
|
||||
<graphic>
|
||||
<ImageView fitHeight="46.0" fitWidth="32.0" pickOnBounds="true" preserveRatio="true">
|
||||
<Image url="image/button/burger.png" />
|
||||
</ImageView>
|
||||
</graphic>
|
||||
</Label>
|
||||
<ImageView fitHeight="24.0" fitWidth="24.0" layoutX="762.0" layoutY="11.0" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@image/exit.png" />
|
||||
</image>
|
||||
</ImageView>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
<AnchorPane layoutY="46.0" prefHeight="454.0" prefWidth="44.0" style="-fx-background-color: white;">
|
||||
<children>
|
||||
<VBox alignment="TOP_CENTER" prefHeight="200.0" prefWidth="44.0" spacing="10.0" style="-fx-background-color: white;" AnchorPane.topAnchor="20.0">
|
||||
<children>
|
||||
<ImageView fitHeight="46.0" fitWidth="32.0" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@images/home.png" />
|
||||
</image>
|
||||
</ImageView>
|
||||
<ImageView fitHeight="46.0" fitWidth="32.0" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@images/add.png" />
|
||||
</image>
|
||||
</ImageView>
|
||||
<ImageView fitHeight="46.0" fitWidth="32.0" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@images/data.png" />
|
||||
</image>
|
||||
</ImageView>
|
||||
<ImageView fitHeight="46.0" fitWidth="32.0" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@images/user.png" />
|
||||
</image>
|
||||
</ImageView>
|
||||
<ImageView fitHeight="46.0" fitWidth="32.0" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@images/setting.png" />
|
||||
</image>
|
||||
</ImageView>
|
||||
<ImageView fitHeight="46.0" fitWidth="32.0" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@images/backup.png" />
|
||||
</image>
|
||||
</ImageView>
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
<AnchorPane layoutX="44.0" layoutY="46.0" prefHeight="454.0" prefWidth="756.0" AnchorPane.bottomAnchor="0.0" AnchorPane.rightAnchor="0.0">
|
||||
<children>
|
||||
<Pane layoutY="21.0" prefHeight="454.0" prefWidth="756.0" style="-fx-background-color: #d9ecf2;" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" />
|
||||
</children>
|
||||
</AnchorPane>
|
||||
<AnchorPane prefHeight="200.0" prefWidth="200.0" style="-fx-background-color: #000;" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" />
|
||||
<AnchorPane prefHeight="454.0" prefWidth="178.0" style="-fx-background-color: White;" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="40.0">
|
||||
<children>
|
||||
<VBox prefHeight="200.0" prefWidth="100.0" spacing="5.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="20.0">
|
||||
<children>
|
||||
<JFXButton alignment="BASELINE_LEFT" buttonType="RAISED" prefHeight="38.0" prefWidth="179.0" text="Dashboard">
|
||||
<font>
|
||||
<Font size="16.0" />
|
||||
</font>
|
||||
</JFXButton>
|
||||
<JFXButton alignment="BASELINE_LEFT" buttonType="RAISED" layoutX="10.0" layoutY="10.0" prefHeight="38.0" prefWidth="179.0" text="Add New">
|
||||
<font>
|
||||
<Font size="16.0" />
|
||||
</font>
|
||||
</JFXButton>
|
||||
<JFXButton alignment="BASELINE_LEFT" buttonType="RAISED" layoutX="10.0" layoutY="58.0" prefHeight="38.0" prefWidth="179.0" text="Data">
|
||||
<font>
|
||||
<Font size="16.0" />
|
||||
</font>
|
||||
</JFXButton>
|
||||
<JFXButton alignment="BASELINE_LEFT" buttonType="RAISED" layoutX="10.0" layoutY="106.0" prefHeight="38.0" prefWidth="179.0" text="User">
|
||||
<font>
|
||||
<Font size="16.0" />
|
||||
</font>
|
||||
</JFXButton>
|
||||
<JFXButton alignment="BASELINE_LEFT" buttonType="RAISED" layoutX="10.0" layoutY="154.0" prefHeight="38.0" prefWidth="179.0" text="Setting">
|
||||
<font>
|
||||
<Font size="16.0" />
|
||||
</font>
|
||||
</JFXButton>
|
||||
<JFXButton alignment="BASELINE_LEFT" buttonType="RAISED" layoutX="10.0" layoutY="202.0" prefHeight="38.0" prefWidth="179.0" text="BackUp">
|
||||
<font>
|
||||
<Font size="16.0" />
|
||||
</font>
|
||||
</JFXButton>
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
<AnchorPane prefHeight="454.0" prefWidth="44.0" style="-fx-background-color: white;" AnchorPane.bottomAnchor="0.0">
|
||||
<children>
|
||||
<VBox alignment="TOP_CENTER" prefHeight="200.0" prefWidth="44.0" spacing="10.0" style="-fx-background-color: white;" AnchorPane.topAnchor="20.0">
|
||||
<children>
|
||||
<ImageView fitHeight="46.0" fitWidth="32.0" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="image/button/burger.png" />
|
||||
</image>
|
||||
</ImageView>
|
||||
<ImageView fitHeight="46.0" fitWidth="32.0" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@images/add.png" />
|
||||
</image>
|
||||
</ImageView>
|
||||
<ImageView fitHeight="46.0" fitWidth="32.0" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@images/data.png" />
|
||||
</image>
|
||||
</ImageView>
|
||||
<ImageView fitHeight="46.0" fitWidth="32.0" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@images/user.png" />
|
||||
</image>
|
||||
</ImageView>
|
||||
<ImageView fitHeight="46.0" fitWidth="32.0" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@images/setting.png" />
|
||||
</image>
|
||||
</ImageView>
|
||||
<ImageView fitHeight="46.0" fitWidth="32.0" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@images/backup.png" />
|
||||
</image>
|
||||
</ImageView>
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
</children>
|
||||
</AnchorPane>
|
@ -1,39 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.Cursor?>
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.control.SplitPane?>
|
||||
<?import javafx.scene.effect.ImageInput?>
|
||||
<?import javafx.scene.image.Image?>
|
||||
<?import javafx.scene.image.ImageView?>
|
||||
<?import javafx.scene.layout.AnchorPane?>
|
||||
<?import javafx.scene.text.Text?>
|
||||
|
||||
<SplitPane dividerPositions="0.6635044642857143" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" style="-fx-background-color: #404040;" xmlns:fx="http://javafx.com/fxml/1" xmlns="http://javafx.com/javafx/17">
|
||||
<items>
|
||||
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="397.0" prefWidth="439.0">
|
||||
<children>
|
||||
<ImageView fitHeight="397.0" fitWidth="397.0" layoutX="-2.0" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@../terrain/map1.png" />
|
||||
</image>
|
||||
</ImageView>
|
||||
</children></AnchorPane>
|
||||
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="397.0" prefWidth="197.0" style="-fx-background-color: darkgray;">
|
||||
<children>
|
||||
<Button layoutX="59.0" layoutY="311.0" mnemonicParsing="false" text="Lancer le dé" />
|
||||
<Text layoutX="63.0" layoutY="155.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Tours :" />
|
||||
<ImageView fitHeight="67.0" fitWidth="62.0" layoutX="28.0" layoutY="69.0" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@Perso1.2.png" />
|
||||
</image>
|
||||
</ImageView>
|
||||
</children>
|
||||
<effect>
|
||||
<ImageInput />
|
||||
</effect></AnchorPane>
|
||||
</items>
|
||||
<cursor>
|
||||
<Cursor fx:constant="DEFAULT" />
|
||||
</cursor>
|
||||
</SplitPane>
|
@ -1,40 +0,0 @@
|
||||
<?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?>
|
||||
<?import javafx.scene.shape.Line?>
|
||||
<?import javafx.scene.shape.Rectangle?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
<?import javafx.scene.text.Text?>
|
||||
|
||||
|
||||
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="600.0" prefWidth="900.0" xmlns="http://javafx.com/javafx/17" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<children>
|
||||
<ImageView fitHeight="600.0" fitWidth="600.0" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@terrain/map1.png" />
|
||||
</image>
|
||||
</ImageView>
|
||||
<Rectangle arcWidth="5.0" fill="#535353" height="614.0" layoutX="599.0" layoutY="-7.0" stroke="BLACK" strokeType="INSIDE" strokeWidth="0.0" width="302.0" />
|
||||
<ImageView fitHeight="85.0" fitWidth="59.0" layoutX="625.0" layoutY="28.0" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@personnage/Perso1.2.png" />
|
||||
</image>
|
||||
</ImageView>
|
||||
<Text fill="WHITE" layoutX="712.0" layoutY="64.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Joueur 1">
|
||||
<font>
|
||||
<Font name="Segoe UI Black" size="19.0" />
|
||||
</font>
|
||||
</Text>
|
||||
<Button layoutX="711.0" layoutY="519.0" mnemonicParsing="false" style="-fx-background-color: #ffa20d;" text="Lancer le dé" textFill="WHITE" />
|
||||
<Rectangle arcHeight="20.0" arcWidth="20.0" height="342.0" layoutX="624.0" layoutY="149.0" opacity="0.21" stroke="BLACK" strokeType="INSIDE" strokeWidth="0.0" width="252.0" />
|
||||
<Text fill="WHITE" layoutX="729.0" layoutY="180.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Action">
|
||||
<font>
|
||||
<Font size="15.0" />
|
||||
</font>
|
||||
</Text>
|
||||
<Line endX="74.33331298828125" endY="1.52587890625E-5" layoutX="763.0" layoutY="201.0" startX="-100.0" stroke="WHITE" />
|
||||
</children>
|
||||
</AnchorPane>
|
Before Width: | Height: | Size: 314 B |
Before Width: | Height: | Size: 437 B |
Before Width: | Height: | Size: 565 B |
Before Width: | Height: | Size: 561 B |
Before Width: | Height: | Size: 677 B |
Before Width: | Height: | Size: 592 B |
After Width: | Height: | Size: 1000 B |
After Width: | Height: | Size: 970 B |
After Width: | Height: | Size: 989 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 955 B |
After Width: | Height: | Size: 910 B |
After Width: | Height: | Size: 927 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 3.0 KiB |
After Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 2.4 KiB |
@ -1,3 +0,0 @@
|
||||
Manifest-Version: 1.0
|
||||
Main-Class: launcher.Main
|
||||
|
@ -1,13 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.image.Image?>
|
||||
<?import javafx.scene.image.ImageView?>
|
||||
<?import javafx.scene.layout.AnchorPane?>
|
||||
|
||||
<AnchorPane fx:id="levelRoot" fx:controller="controller.GamePlayController" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="600.0" prefWidth="900.0" xmlns="http://javafx.com/javafx/11" xmlns:fx="http://javafx.com/fxml/1" >
|
||||
<ImageView fx:id="persoImageView" fitHeight="32.0" fitWidth="32.0" layoutX="132.0" layoutY="74.0"
|
||||
pickOnBounds="true"
|
||||
preserveRatio="true">
|
||||
<Image url="@../image/personnage/Perso1.png"/>
|
||||
</ImageView>
|
||||
</AnchorPane>
|
@ -0,0 +1,51 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import com.jfoenix.controls.JFXButton?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.control.SplitPane?>
|
||||
<?import javafx.scene.effect.Shadow?>
|
||||
<?import javafx.scene.image.Image?>
|
||||
<?import javafx.scene.image.ImageView?>
|
||||
<?import javafx.scene.layout.AnchorPane?>
|
||||
<?import javafx.scene.shape.Line?>
|
||||
<?import javafx.scene.shape.Rectangle?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
|
||||
<?import javafx.scene.control.Button?>
|
||||
<AnchorPane fx:controller="controller.GamePlayController" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="600.0" prefWidth="900.0" xmlns="http://javafx.com/javafx/11" xmlns:fx="http://javafx.com/fxml/1" >
|
||||
<children>
|
||||
<AnchorPane minHeight="300.0" minWidth="300.0" prefHeight="608.0" prefWidth="348.0" layoutX="600.0">
|
||||
<children>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#323436" height="608.0" layoutY="0.0" stroke="BLACK" strokeType="INSIDE" width="312.0" />
|
||||
<ImageView fitHeight="128.0" fitWidth="93.0" layoutX="29.0" layoutY="33.0" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@../image/personnage/Perso1.2.png" />
|
||||
</image>
|
||||
</ImageView>
|
||||
<Label layoutX="144.0" layoutY="59.0" prefHeight="41.0" prefWidth="124.0" text="Pseudonyme" textFill="WHITE">
|
||||
<font>
|
||||
<Font name="Segoe UI Black" size="16.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" height="331.0" layoutX="50.0" layoutY="166.0" opacity="0.3" stroke="BLACK" strokeDashOffset="10.0" strokeLineCap="ROUND" strokeLineJoin="ROUND" strokeMiterLimit="100.0" strokeType="INSIDE" strokeWidth="5.0" width="201.0" />
|
||||
<Line endX="100.0" layoutX="139.0" layoutY="222.0" startX="-77.0" stroke="#f2f0f0" />
|
||||
<Label alignment="CENTER" layoutX="88.0" layoutY="173.0" prefHeight="41.0" prefWidth="124.0" text="Action" textFill="WHITE">
|
||||
<font>
|
||||
<Font name="Segoe UI" size="16.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<JFXButton fx:id="buttonDe" onAction="#lancerDe" layoutX="95.0" layoutY="530.0" prefHeight="30.0" prefWidth="119.0" ripplerFill="#e1e1e1" style="-fx-background-color: #EB9C0A;" text="Lancer le dé" textAlignment="CENTER" textFill="WHITE">
|
||||
<font>
|
||||
<Font name="Segoe UI" size="15.0" />
|
||||
</font>
|
||||
<effect>
|
||||
<Shadow />
|
||||
</effect>
|
||||
</JFXButton>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
</children>
|
||||
<ImageView fx:id="persoImageView" fitHeight="32.0" fitWidth="32.0" layoutX="132.0" layoutY="74.0" pickOnBounds="true"
|
||||
preserveRatio="true">
|
||||
</ImageView>
|
||||
</AnchorPane>
|
@ -1,44 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.image.Image?>
|
||||
<?import javafx.scene.image.ImageView?>
|
||||
<?import javafx.scene.layout.AnchorPane?>
|
||||
<?import javafx.scene.shape.Rectangle?>
|
||||
|
||||
|
||||
<?import com.jfoenix.controls.JFXButton?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
<?import javafx.scene.effect.Shadow?>
|
||||
<?import javafx.scene.shape.Line?>
|
||||
<?import javafx.scene.text.Text?>
|
||||
<AnchorPane fx:id="levelRoot" id="1" fx:controller="controller.GamePlayController" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="900.0" prefWidth="1300.0" xmlns="http://javafx.com/javafx/11" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<children>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#393e43" height="900.0" layoutX="960.0" stroke="BLACK" strokeType="INSIDE" width="340.0" />
|
||||
<ImageView fx:id="playerImagePerso" fitHeight="123.0" fitWidth="110.0" layoutX="1075.0" layoutY="76.0" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="/image/personnage/Perso1.2.png" />
|
||||
</image>
|
||||
</ImageView>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#090a0a" height="373.0" layoutX="1014.0" layoutY="238.0" opacity="0.48" stroke="BLACK" strokeType="INSIDE" width="232.0" />
|
||||
<ImageView fx:id="de" fitHeight="76.0" fitWidth="150.0" layoutX="1092.0" layoutY="648.0" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@../image/dé/icon.png" />
|
||||
</image>
|
||||
</ImageView>
|
||||
<Line endX="100.0" layoutX="1130.0" layoutY="289.0" startX="-100.0" stroke="WHITE" />
|
||||
<Line endX="100.0" layoutX="1130.0" layoutY="600.0" startX="-100.0" stroke="WHITE" />
|
||||
<Text fill="WHITE" layoutX="1102.0" layoutY="270.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Action" textAlignment="CENTER" wrappingWidth="55.4375">
|
||||
<font>
|
||||
<Font name="Segoe UI" size="16.0" />
|
||||
</font>
|
||||
</Text>
|
||||
<JFXButton layoutX="1071.0" layoutY="752.0" onAction="#lancerDe" prefHeight="30.0" prefWidth="119.0" ripplerFill="#e1e1e1" style="-fx-background-color: #EB9C0A;" text="Lancer le dé" textAlignment="CENTER" textFill="WHITE">
|
||||
<font>
|
||||
<Font name="Segoe UI" size="15.0" />
|
||||
</font>
|
||||
<effect>
|
||||
<Shadow />
|
||||
</effect>
|
||||
</JFXButton>
|
||||
</children>
|
||||
</AnchorPane>
|
@ -1,40 +0,0 @@
|
||||
<?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?>
|
||||
<?import javafx.scene.shape.Line?>
|
||||
<?import javafx.scene.shape.Rectangle?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
<?import javafx.scene.text.Text?>
|
||||
|
||||
|
||||
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="600.0" prefWidth="900.0" xmlns="http://javafx.com/javafx/17" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<children>
|
||||
<ImageView fitHeight="600.0" fitWidth="600.0" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@terrain/map1.png" />
|
||||
</image>
|
||||
</ImageView>
|
||||
<Rectangle arcWidth="5.0" fill="#535353" height="614.0" layoutX="599.0" layoutY="-7.0" stroke="BLACK" strokeType="INSIDE" strokeWidth="0.0" width="302.0" />
|
||||
<ImageView fitHeight="85.0" fitWidth="59.0" layoutX="625.0" layoutY="28.0" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@personnage/Perso1.2.png" />
|
||||
</image>
|
||||
</ImageView>
|
||||
<Text fill="WHITE" layoutX="712.0" layoutY="64.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Joueur 1">
|
||||
<font>
|
||||
<Font name="Segoe UI Black" size="19.0" />
|
||||
</font>
|
||||
</Text>
|
||||
<Button layoutX="711.0" layoutY="519.0" mnemonicParsing="false" style="-fx-background-color: #ffa20d;" text="Lancer le dé" textFill="WHITE" />
|
||||
<Rectangle arcHeight="20.0" arcWidth="20.0" height="342.0" layoutX="624.0" layoutY="149.0" opacity="0.21" stroke="BLACK" strokeType="INSIDE" strokeWidth="0.0" width="252.0" />
|
||||
<Text fill="WHITE" layoutX="729.0" layoutY="180.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Action">
|
||||
<font>
|
||||
<Font size="15.0" />
|
||||
</font>
|
||||
</Text>
|
||||
<Line endX="74.33331298828125" endY="1.52587890625E-5" layoutX="763.0" layoutY="201.0" startX="-100.0" stroke="WHITE" />
|
||||
</children>
|
||||
</AnchorPane>
|
Before Width: | Height: | Size: 895 B |
Before Width: | Height: | Size: 863 B |
Before Width: | Height: | Size: 871 B |
Before Width: | Height: | Size: 870 B |
Before Width: | Height: | Size: 909 B |
Before Width: | Height: | Size: 905 B |
Before Width: | Height: | Size: 917 B |
Before Width: | Height: | Size: 909 B |
Before Width: | Height: | Size: 907 B |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 905 B |
Before Width: | Height: | Size: 903 B |
Before Width: | Height: | Size: 818 B |
Before Width: | Height: | Size: 972 B |
Before Width: | Height: | Size: 972 B |
Before Width: | Height: | Size: 965 B |
Before Width: | Height: | Size: 826 B |
Before Width: | Height: | Size: 824 B |
Before Width: | Height: | Size: 860 B |
Before Width: | Height: | Size: 865 B |
Before Width: | Height: | Size: 861 B |
Before Width: | Height: | Size: 861 B |
Before Width: | Height: | Size: 866 B |
Before Width: | Height: | Size: 861 B |
Before Width: | Height: | Size: 836 B |
Before Width: | Height: | Size: 852 B |
Before Width: | Height: | Size: 864 B |
Before Width: | Height: | Size: 867 B |
Before Width: | Height: | Size: 847 B |
Before Width: | Height: | Size: 853 B |