Platformer 2D réalisé en JavaFX

Related tags

GUI Jeux_JavaFX
Overview

Projet_Java

Introduction

Dans son village, le joueur apprends que son père, le chevalier doré, a été vaincu par le grand chevalier-dragon, un tyran qui n'hésite pas à faire du mal pour dominer le monde. Pour se venger, il va devoir se former, battre des ennemis féroces, récupérer l'épée de son père pour enfin affronter le chevalier dragon.

Nous allons réaliser un jeu d'aventure du genre plateformer où il y aura de l'aventure et du combat. Nous allons coder ce jeu en JavaFX et aussi avec du FXML en binôme.

Les objectifs de ce projet sont de nous initier au JavaFX afin de voir les bases et les fonctionnements.

Présentation du projet

Ce jeu sera un plateformer d'aventures avec du combat. Au début on commencera dans une plaine. Il devra trouver des items pour franchir des obstacles, il pourra aussi trouver des armes pour se battre qui peuvent être des armes au corps à corps ou à distance. Il peut aussi affronter des boss des ennemis plus coriaces. Le personnage peut se déplacer de droite à gauche et peut sauter, il faut donc gérer un système de gravité. il peut aussi monter à des échelles pour atteindre des plateformes en hauteur ou en descendre. Il possède une barre de vie qui diminue s’il tombe où s'il se fait toucher par un ennemi. Il y aura des dialogues avec des personnages dans le jeu et peut être aussi un système de boutique. Pour l'instant il n'y aura qu'une seule carte où lieu mais d'autres lieux peuvent être ajoutés plus tard. On aura un inventaire pour stocker des objets mais qui ne sera pas consultable.

On aura ainsi un menu de démarrage avec des paramètres à régler comme le son, etc, des informations sur la création de cette application et celui-ci pourra être consulté n'importe quand dans le jeu. Cette action sera une sorte de pause pour le jeu.

Développement de notre application

Fonctionnalité

Le personnage sera animé il pourra se déplacer de droite à gauche et pourra aussi sauter. Il aura comme arme une épée qu'il trouvera au début et peut être aussi débloquer l'épée doré. Il a aussi des armes à distance qu'il peut lancer où déposer que possèderont aussi des animations. L’arrière-plan se déplacera au fil de l'avancement du joueur, le joueur sera donc au centre de l'écran, c'est à dire que s'il se déplace à droite, l'image des fils vers la gauche et inversement. Il y aura des dialogues entre les personnages qui seront bref qui donneront les objectifs à accomplir pour terminer l'émission et avancer dans l'aventure. L’inventaire sera un deck puisque si les cases de l'inventaire possèdent deux items par exemple, et que l'un d'eux devient nul, il faudra décaler vers la gauche tous les items. L’inventaire montrera le nombre d'item en indice. Il y aura plusieurs classes comme la classe personne, objet, carte, …

Bilan Technique

Conclusion

Résumé en Anglais

Bibliographie/webographie/tutoriel

You might also like...

Efficient VirtualFlow for JavaFX

Flowless Efficient VirtualFlow for JavaFX. VirtualFlow is a layout container that lays out cells in a vertical or horizontal flow. The main feature of

Nov 24, 2022

A framework for easily creating forms for a JavaFX UI.

A framework for easily creating forms for a JavaFX UI.

FormsFX Forms for business application made easy. Creating forms in Java has never been this easy! Maven To use this framework as part of your Maven b

Dec 30, 2022

:icecream: iOS frosty/translucent effect to JavaFX

:icecream: iOS frosty/translucent effect to JavaFX

FroXty is JavaFX library which replicates the famous iOS translucent effect with ease. Set-up FroXty can be imported into your project either by downl

Dec 11, 2022

💠 Undecorated JavaFX Scene with implemented move, resize, minimise, maximise, close and Windows Aero Snap controls.

💠 Undecorated JavaFX Scene with implemented move, resize, minimise, maximise, close and Windows Aero Snap controls.

Support me joining PI Network app with invitation code AlexKent FX-BorderlessScene ( Library ) 💠 Undecorated JavaFX Scene with implemented move, resi

Jan 4, 2023

Dynamic JavaFX form generation

FXForm 2 Stop coding forms: FXForm 2 can do it for you! About FXForm2 is a library providing automatic JavaFX form generation. How does it work? Write

Jan 9, 2023

A JavaFX library that allows Java2D code (Graphics2D) to be used to draw to a Canvas node.

A JavaFX library that allows Java2D code (Graphics2D) to be used to draw to a Canvas node.

FXGraphics2D Version 2.1, 3 October 2020. Overview FXGraphics2D is a free implementation of Java's Graphics2D API that targets the JavaFX Canvas. It m

Dec 31, 2022

Auto updating launcher for JavaFX Applications

FXLauncher Auto updating launcher for JavaFX Applications. Combined with JavaFX native packaging, you get a native installer with automatic app update

Dec 27, 2022

Controls for adding Parallax effects for Java (JavaFX)

Controls for adding Parallax effects for Java (JavaFX)

FXParallax Parallax framework for Java (JavaFX). This framework adds controls to add Parallax effects to JavaFX application, this effect can add a sen

Sep 30, 2022

Ribbon control for Java, created in JavaFX

Ribbon control for Java, created in JavaFX

FXRibbon Ribbon control for Java, using JavaFX framework, based on Microsoft Ribbon. If you want to support the development of this library consider a

Dec 27, 2022
Owner
Mathys Lioson
Je suis développeur passionné d'informatique !
Mathys Lioson
Lib-Tile is a multi Maven project written in JavaFX and NetBeans IDE 8 and provides the functionalities to use and handle easily Tiles in your JavaFX application.

Lib-Tile Intention Lib-Tile is a multi Maven project written in JavaFX and NetBeans IDE and provides the functionalities to use and handle easily Tile

Peter Rogge 13 Apr 13, 2022
DataFX - is a JavaFX frameworks that provides additional features to create MVC based applications in JavaFX by providing routing and a context for CDI.

What you’ve stumbled upon here is a project that intends to make retrieving, massaging, populating, viewing, and editing data in JavaFX UI controls ea

Guigarage 110 Dec 29, 2022
Collection of Binding helpers for JavaFX(8)

Advanced-Bindings for JavaFX (8) advanced-bindings is a collection of useful helpers and custom binding implementations to simplify the development of

Manuel Mauky 63 Nov 19, 2022
Docking framework for JavaFX platform

Docking framework for JavaFX platform AnchorFX is a gratis and open source library for JavaFX to create graphical interfaces with docking features Anc

Alessio Vinerbi 197 Oct 15, 2022
A library of +70 ready-to-use animations for JavaFX

AnimateFX A library of ready-to-use animations for JavaFX Features: Custom animations Custom interpolators Play/Stop animation Play an animation after

Loïc Sculier 366 Jan 5, 2023
BootstrapFX: Bootstrap for JavaFX

BootstrapFX BootstrapFX is a partial port of Twitter Bootstrap for JavaFX. It mainly provides a CSS stylesheet that closely resembles the original whi

Kordamp 810 Dec 28, 2022
A Java framework for creating sophisticated calendar views (JavaFX 8, 9, 10, and 11)

CalendarFX A Java framework for creating sophisticated calendar views based on JavaFX. A detailed developer manual can be found online: CalendarFX 8 D

DLSC Software & Consulting GmbH 660 Jan 6, 2023
Allow runtime modification of JavaFX CSS

cssfx ⚠ WARNING ⚠ In version 11.3.0 we have relocated & refactored the project. maven groupId has been changed to fr.brouillard.oss java module name h

Matthieu Brouillard 134 Jan 2, 2023
A JavaFX UI framework to create fully customized undecorated windows

CustomStage A JavaFX undecorated stage which can fully be customized Donations If this project is helpful to you and love my work and feel like showin

Oshan Mendis 186 Jan 6, 2023
MDI components for JavaFX

DesktopPaneFX DesktopPaneFX is a JavaFX version of Swing’s JDesktopPane which can be used as a container for individual "child" similar to JInternalFr

Kordamp 58 Sep 23, 2022