Compare commits

...

52 Commits
julien ... main

Author SHA1 Message Date
ZartaX0O3 c9538368b8 Finition FINAL DE CHEZ FINAL
3 years ago
ZartaX0O3 16d48ef1a0 read me
3 years ago
ZartaX0O3 673a5643b3 Finition FINAL DE CHEZ FINAL
3 years ago
ZartaX0O3 b3d7dc86b0 Finition FINAL DE CHEZ FINAL
3 years ago
ZartaX0O3 6fed878446 Ajout .jar
3 years ago
ZartaX0O3 55f5876b27 Ajout .jar
3 years ago
ZartaX0O3 e90d1e3cdf Finition FINAL DE CHEZ FINAL
3 years ago
ZIRTR0X ed3f109114 Dernier commit 3
3 years ago
ZIRTR0X 62ed9b5ba4 Dernier commit 2
3 years ago
ZIRTR0X 486dcbda81 Dernier commit
3 years ago
ZartaX0O3 2db560ed83 Finition
3 years ago
ZIRTR0X e9d8bb53c0 Javadoc
3 years ago
ZartaX0O3 0ade4680d3 Ajout Diagramme de Classe.PNG et READ_ME
3 years ago
ZartaX0O3 061d73a8a9 Fonction bonus et malus !
3 years ago
ZIRTR0X e06e64c60c Page TopPlayer finit
3 years ago
ZIRTR0X 4e1797e679 Modif chemin resultats.txt
3 years ago
ZIRTR0X e114a7aa93 Ajout de la persistance
3 years ago
ZIRTR0X e2a78a84e7 affichage des scores
3 years ago
ZIRTR0X 50f209ef03 Ajout des chemins pour les mobs map medium et hard
3 years ago
ZIRTR0X 9f4f07dbd0 Merge branch 'main' of https://gitlab.iut-clermont.uca.fr/jutheme/projetjavafx
3 years ago
ZIRTR0X cc8aea9e94 Ajout des coord des map medium et hard
3 years ago
ZartaX0O3 9d373a69e5 Ajout des cases bonus et malus ET fix de la récupération de la case
3 years ago
ZIRTR0X 4092e13049 Ajout map level hard
3 years ago
ZIRTR0X f27e5b6be7 Ajout de la map lvl medium
3 years ago
ZIRTR0X fe0ee636c0 Blocage du dé quand le perso bouge
3 years ago
ZIRTR0X 24b465ef91 Ajout bouton quand fin de game
3 years ago
ZartaX0O3 56934d234c Ajout de beaucoup de choses
3 years ago
ZIRTR0X deee3a6997 modif de launchGame
3 years ago
ZIRTR0X 07b672cf5a Correction de fin du thread
3 years ago
ZIRTR0X 911793b2fc Ajout fin du jeu
3 years ago
ZIRTR0X 9aabe3a3a3 Ajout d'un délai pour déplacement personnage apres le dé
3 years ago
ZIRTR0X f35e318bb1 modif parcour des creatures
3 years ago
ZartaX0O3 20e1796d08 Ajout de beaucoup de choses
3 years ago
ZartaX0O3 eb560344ee Ajout de beaucoup de choses
3 years ago
ZIRTR0X 3a9a240e7d Correction déplacement personnage
3 years ago
ZIRTR0X 791c63993f Ajout de creature
3 years ago
ZIRTR0X 1e90037d1f Ajout des skins des chiens
3 years ago
ZIRTR0X 059e519da9 Correction coord parcour 1
3 years ago
ZIRTR0X 133a0a8307 Ajout des bonnes images lors de la selection
3 years ago
ZIRTR0X 9522d9edf8 Ajout de tout les coordonées du parcours map 1
3 years ago
ZIRTR0X ae409399cf Création classe créature
3 years ago
ZIRTR0X 22ae223909 Ajout des skins de personnages
3 years ago
ZartaX0O3 2ce1866e36 Icon de dé
3 years ago
ZIRTR0X 09be04868e Merge branch 'main' of https://gitlab.iut-clermont.uca.fr/jutheme/projetjavafx
3 years ago
ZIRTR0X f8a86c508d Création d'une boucle de jeu
3 years ago
ZartaX0O3 2d8056197f Modification GamePlayController.java et MapController.java
3 years ago
ZartaX0O3 5a7cdfd3da Modification GamePlayController.java et MapController.java
3 years ago
ZartaX0O3 c57ee6190d Modification GamePlayController.java et MapController.java
3 years ago
ZIRTR0X 19cfdc3c7f ajout images
3 years ago
ZartaX0O3 7366c07362 Modification GamePlayController.java
3 years ago
ZartaX0O3 32f56ed404 done
3 years ago
ZartaX0O3 f995e34e89 done
3 years ago

1
.gitignore vendored

@ -22,3 +22,4 @@
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
code/out/

Binary file not shown.

@ -1,2 +1,38 @@
# projetJavaFX
/
<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!

@ -1,8 +0,0 @@
# Default ignored files
/shelf/
/workspace.xml
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml
# Editor-based HTTP Client requests
/httpRequests/

@ -8,15 +8,15 @@
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="lib" level="project" />
<orderEntry type="module-library">
<library>
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../Téléchargements/jfoenix-9.0.10.jar!/" />
<root url="jar://$MODULE_DIR$/../../../../../jdk11/jfoenix-9.0.10.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntry type="library" name="lib" level="project" />
</component>
</module>

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?import com.jfoenix.controls.JFXToggleButton?>
<?import com.jfoenix.controls.JFXButton?>
<?import javafx.scene.Cursor?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.MenuItem?>
@ -11,10 +12,9 @@
<?import javafx.scene.shape.Line?>
<?import javafx.scene.shape.Rectangle?>
<?import javafx.scene.text.Font?>
<?import javafx.scene.control.RadioButton?>
<?import javafx.scene.control.ToggleGroup?>
<AnchorPane fx:id="levelRoot" xmlns:fx="http://javafx.com/fxml/1" id="pane" maxHeight="-Infinity" maxWidth="-Infinity"
minHeight="-Infinity"
minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0"
@ -39,17 +39,17 @@
</Label>
<Line endX="181.0" endY="-3.0517578125E-5" layoutX="107.0" layoutY="160.0" startX="1.0889129638671875"
startY="-1.52587890625E-5" stroke="#535252"/>
<RadioButton fx:id="radioButton1" layoutX="85" layoutY="200" prefHeight="33.0" prefWidth="75.0" selected="true" textFill="WHITE">
<RadioButton fx:id="radioButton1" layoutX="85" layoutY="200" prefHeight="33.0" prefWidth="75.0" textFill="WHITE" onMouseClicked="#setDifficulty1">
<toggleGroup>
<ToggleGroup fx:id="group"/>
</toggleGroup>
</RadioButton>
<RadioButton fx:id="radioButton2" layoutX="160" layoutY="200" prefHeight="33.0" prefWidth="75.0" textFill="WHITE">
<RadioButton fx:id="radioButton2" layoutX="160" layoutY="200" prefHeight="33.0" prefWidth="75.0" textFill="WHITE" onMouseClicked="#setDifficulty2">
<toggleGroup>
<fx:reference source="group"/>
</toggleGroup>
</RadioButton>
<RadioButton fx:id="radioButton3" layoutX="238" layoutY="200" prefHeight="33.0" prefWidth="75.0" textFill="WHITE">
<RadioButton fx:id="radioButton3" layoutX="238" layoutY="200" prefHeight="33.0" prefWidth="75.0" textFill="WHITE" onMouseClicked="#setDifficulty3">
<toggleGroup>
<fx:reference source="group"/>
</toggleGroup>
@ -88,13 +88,33 @@
<SplitMenuButton alignment="CENTER" contentDisplay="CENTER" layoutX="152.0" layoutY="351.0"
mnemonicParsing="false" text="Choix Personnage">
<items>
<MenuItem onAction="#changeSkin" fx:id="choice1" mnemonicParsing="false" text="Personnage 1"/>
<MenuItem onAction="#changeSkin" fx:id="choice2" mnemonicParsing="false" text="Personnage 2"/>
<MenuItem onAction="#changeSkin" fx:id="choice3" mnemonicParsing="false" text="Personnage 3"/>
<MenuItem onAction="#changeSkin1" fx:id="choice1" mnemonicParsing="false" text="Personnage 1"/>
<MenuItem onAction="#changeSkin2" fx:id="choice2" mnemonicParsing="false" text="Personnage 2"/>
<MenuItem onAction="#changeSkin3" fx:id="choice3" mnemonicParsing="false" text="Personnage 3"/>
</items>
<font>
<Font name="Segoe UI Black" size="12.0"/>
</font>
</SplitMenuButton>
</children>
<Rectangle arcHeight="5.0" arcWidth="5.0" height="50.0" layoutX="775.0" layoutY="525.0" opacity="0.6"
stroke="BLACK" strokeLineCap="ROUND" strokeLineJoin="ROUND" strokeMiterLimit="0.0" strokeWidth="5.0"
width="100.0">
<cursor>
<Cursor fx:constant="DEFAULT"/>
</cursor>
</Rectangle>
<Rectangle arcHeight="5.0" arcWidth="5.0" height="50.0" layoutX="775.0" layoutY="525.0" opacity="0.6"
stroke="BLACK" strokeLineCap="ROUND" strokeLineJoin="ROUND" strokeMiterLimit="0.0" strokeWidth="5.0"
width="100.0">
<cursor>
<Cursor fx:constant="DEFAULT"/>
</cursor>
</Rectangle>
<JFXButton layoutX="788" layoutY="535" prefHeight="30.0" prefWidth="75.0"
style="-fx-background-color: #EB9C0A;" text="START" textFill="WHITE" onMouseClicked="#launchGame" fx:id="button">
<font>
<Font name="Segoe UI Black" size="13.0"/>
</font>
</JFXButton>
</AnchorPane>

@ -0,0 +1,53 @@
<?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:id="levelRoot" id="1" fx:controller="controller.GamePlayController" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="1300.0" prefWidth="900.0" xmlns="http://javafx.com/javafx/11" xmlns:fx="http://javafx.com/fxml/1" >
<children>
<AnchorPane minHeight="400.0" minWidth="400.0" prefHeight="608.0" prefWidth="348.0" layoutX="960.0">
<children>
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#323436" height="900.0" layoutY="0.0" stroke="BLACK" strokeType="INSIDE" width="340" />
<ImageView fitHeight="128.0" fitWidth="93.0" layoutX="50.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>
<ImageView fx:id="de" fitWidth="75" fitHeight="75" layoutX="100" layoutY="580.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../image/dé/icon.png"/>
</image>
</ImageView>
</children>
</AnchorPane>
</children>
</AnchorPane>

Binary file not shown.

After

Width:  |  Height:  |  Size: 314 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 437 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 565 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 561 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 677 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 592 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 978 B

After

Width:  |  Height:  |  Size: 978 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 970 B

After

Width:  |  Height:  |  Size: 970 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 970 B

After

Width:  |  Height:  |  Size: 970 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1012 B

After

Width:  |  Height:  |  Size: 1012 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

@ -0,0 +1,3 @@
Manifest-Version: 1.0
Main-Class: launcher.Main

@ -82,7 +82,7 @@
<ImageView fx:id="ImageChange" fitHeight="126.0" fitWidth="109.0" layoutX="38.0" layoutY="309.0" pickOnBounds="true"
preserveRatio="true">
<image>
<Image url="/image/personnage/Perso1.png"/>
<Image url="/image/personnage/Perso1.2.png"/>
</image>
</ImageView>
<SplitMenuButton alignment="CENTER" contentDisplay="CENTER" layoutX="152.0" layoutY="351.0"

@ -17,6 +17,16 @@
AnchorPane.topAnchor="0.0">
<Image url="/image/plaine.gif"/>
</ImageView>
<JFXButton onMouseClicked="#exitGame" layoutX="790.0" layoutY="560" prefHeight="30.0" prefWidth="100.0"
style="-fx-background-color: #EB9C0A;"
text="Exit Game" textFill="WHITE">
<font>
<Font name="Segoe UI Black" size="13.0"/>
</font>
<effect>
<Shadow/>
</effect>
</JFXButton>
<Circle layoutX="146.0" layoutY="138.0" opacity="0.42" radius="219.0" stroke="BLACK" strokeType="INSIDE"/>
<ImageView fitHeight="205.0" fitWidth="204.0" layoutX="61.0" layoutY="-26.0" pickOnBounds="true"
preserveRatio="true">

@ -36,102 +36,9 @@
preserveRatio="true">
<Image url="/image/logo.png"/>
</ImageView>
<Label layoutX="387.0" layoutY="168.0" text="Top Players">
<Label layoutX="387.0" layoutY="160.0" text="Top Players">
<font>
<Font name="Segoe UI Black" size="22.0"/>
</font>
</Label>
<Label layoutX="395.0" layoutY="211.0" text="1 - ZartaX0O3">
<font>
<Font name="Segoe UI Black" size="17.0"/>
</font>
<textFill>
<LinearGradient startX="0.3981042654028436">
<stops>
<Stop>
<color>
<Color red="0.9342105388641357" green="0.7629386186599731"/>
</color>
</Stop>
<Stop offset="1.0">
<color>
<Color red="1.0" green="0.5557553768157959"/>
</color>
</Stop>
</stops>
</LinearGradient>
</textFill>
</Label>
<Label layoutX="250.0" layoutY="260.0" text="2 - ZartaX0O3">
<font>
<Font name="Segoe UI Black" size="17.0"/>
</font>
<textFill>
<LinearGradient endX="1.0" endY="1.0" startX="0.4075829383886256">
<stops>
<Stop>
<color>
<Color/>
</color>
</Stop>
<Stop offset="1.0">
<color>
<Color red="1.0" green="1.0" blue="1.0"/>
</color>
</Stop>
</stops>
</LinearGradient>
</textFill>
</Label>
<Label layoutX="530.0" layoutY="260.0" text="3 - ZartaX0O3">
<font>
<Font name="Segoe UI Black" size="17.0"/>
</font>
<textFill>
<LinearGradient endX="1.0" endY="1.0" startX="0.3981042654028436">
<stops>
<Stop>
<color>
<Color red="0.4868420958518982" green="0.32828032970428467" blue="0.03380848094820976"/>
</color>
</Stop>
<Stop offset="1.0">
<color>
<Color red="0.05263157933950424" green="0.051315788179636" blue="0.049707602709531784"/>
</color>
</Stop>
</stops>
</LinearGradient>
</textFill>
</Label>
<Label id="player" layoutX="395.0" layoutY="315.0" text="4 - ZartaX0O3" textFill="WHITE">
<font>
<Font name="Segoe UI Black" size="17.0"/>
</font>
</Label>
<Label id="player" layoutX="395.0" layoutY="382.0" text="6 - ZartaX0O3" textFill="WHITE">
<font>
<Font name="Segoe UI Black" size="17.0"/>
</font>
</Label>
<Label id="player" layoutX="395.0" layoutY="347.0" text="5 - ZartaX0O3" textFill="WHITE">
<font>
<Font name="Segoe UI Black" size="17.0"/>
</font>
</Label>
<Label id="player" layoutX="395.0" layoutY="417.0" text="7 - ZartaX0O3" textFill="WHITE">
<font>
<Font name="Segoe UI Black" size="17.0"/>
</font>
</Label>
<Label id="player" layoutX="395.0" layoutY="450.0" text="8 - ZartaX0O3" textFill="WHITE">
<font>
<Font name="Segoe UI Black" size="17.0"/>
</font>
</Label>
<Label id="player" layoutX="395.0" layoutY="486.0" text="9 - ZartaX0O3" textFill="WHITE">
<font>
<Font name="Segoe UI Black" size="17.0"/>
</font>
</Label>
</AnchorPane>

@ -16,13 +16,13 @@
<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" />
<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 url="@../image/button/exit.png" />
</image>
</ImageView>
</children>

@ -0,0 +1,13 @@
<?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>

@ -1,47 +0,0 @@
<?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?>
<AnchorPane fx:id="FirstAnchor" 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" fx:controller="controller.GamePlayController">
<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 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>
</AnchorPane>

@ -0,0 +1,44 @@
<?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>

Binary file not shown.

After

Width:  |  Height:  |  Size: 895 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 863 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 871 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 870 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 909 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 905 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 917 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 909 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 907 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 905 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 903 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 818 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 972 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 972 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 965 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 826 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 824 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 860 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 865 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 861 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 861 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 866 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 861 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 836 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 852 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 864 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 867 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 847 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 853 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 873 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 858 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 887 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 885 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 861 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 890 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 314 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 437 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 565 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 561 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 677 B

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save