naulan-chrzaszcz / terraria-javafx Goto Github PK
View Code? Open in Web Editor NEWGame that takes the main lines of Terraria | IUT de Montreuil - 1er BUT Informatique | SAE
License: MIT License
Game that takes the main lines of Terraria | IUT de Montreuil - 1er BUT Informatique | SAE
License: MIT License
Describe the bug
La fonction eat()
ne fonctionne plus dans les objets qui l'utilise
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Que les objets qui redeviennent mangeable.
Desktop (please complete the following information):
Describe the bug
L'animation passe les frames correctement mais une fois la fin de l'exploration, il fait disparaitre l'image pour ensuite quelque ms plus tard, avoir l'animation qui reprend correctement.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Que l'image ne clignote plus
Desktop (please complete the following information):
Describe the bug
Lorsque il y a deux stack du même type mais que eux deux rassembler n'atteigne pas le chiffre maximum que un stack peut contenir, les deux stack ne se fusionne pas.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Que les deux stacks se fusionne
Desktop (please complete the following information):
name: Duplication des items.
about: Une trace écrite du beug
title: [Inventaire] Je souhaite régler le problème de duplication des items
labels: bug
assignees: @almerion
Describe the bug
Lorsque qu'on pose une torche, l'item se supprime de l'inventaire et la viande remplace l'endroit où étais la torche et en fessant un click droit avec la viande de lapin, une autre torche peut êtres poser alors que la torche à disparu.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Que la torche ne soit plus dans la main et que la viande soit bien pris en compte.
Desktop (please complete the following information):
name: Beug sur la sélection des items dans l'inventaire
about: Permet de garder une trace écrite pour ne pas oublier
title: [Inventaire] Je souhaite régler le problème des items qui se sélectionne mal
labels: bug
assignees: @almerion
Describe the bug
Le beug survient lorsqu'on choisie premièrement l'item qu'on casse un bloc et ensuite on ne peux plus le racasser sans faire un switch entre un bloc et revenir sur l'item qu'on a dans la main précédemment.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Que la pioche reste toujours dans la main pour pouvoir casser des blocks sans interruption.
Desktop (please complete the following information):
Describe the bug
Une fois le lapin tué et plus présent dans le modèle, le lapin reste dans la vue.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Que le lapin ne reste plus dans la vue.
Desktop (please complete the following information):
Describe the bug
Une fois le block poser, on ne peut plus le casser mais on peut le casser une fois un autres bloc posé
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Que le nouveau bloc fraichement posé se casse lorsqu'on clique dessus
Desktop (please complete the following information):
name: Label mal refresh.
about: Une trace écrite du beug
title: [Inventaire] Je souhaite que les labels correspondent à la vrai quantité des items qui sont affiché
labels: bug
assignees: @almerion
Describe the bug
Lorsque le block disparait , les labels ne sont mal actualisé.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Que les labels soient au bon endroit
Desktop (please complete the following information):
Describe the bug
Le rectangle dépasse vers le bas est rentre dans le sol (Donc l'arbre est considéré à un bloc au dessus et 'x' bloc en dessous) et donc produit des "bug" lorsque qu'on veut casser des blocs qui sont présent sur le rectangle de l'arbre
Expected behavior
Que le rectangle soit mit correctement
Desktop (please complete the following information):
Exception in thread "JavaFX Application Thread" java.lang.IndexOutOfBoundsException: Index 9 out of bounds for length 9
at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248)
at java.base/java.util.Objects.checkIndex(Objects.java:372)
at java.base/java.util.ArrayList.get(ArrayList.java:459)
at fr.sae.terraria@1.0-SNAPSHOT/fr.sae.terraria.vue.hud.InventoryView.lambda$displayItemIntoInventoryBar$0(InventoryView.java:146)
at javafx.base/com.sun.javafx.collections.ListListenerHelper$Generic.fireValueChangedEvent(ListListenerHelper.java:329)
at javafx.base/com.sun.javafx.collections.ListListenerHelper.fireValueChangedEvent(ListListenerHelper.java:73)
at javafx.base/javafx.collections.ObservableListBase.fireChange(ObservableListBase.java:233)
at javafx.base/javafx.collections.ListChangeBuilder.commit(ListChangeBuilder.java:482)
at javafx.base/javafx.collections.ListChangeBuilder.endChange(ListChangeBuilder.java:541)
at javafx.base/javafx.collections.ObservableListBase.endChange(ObservableListBase.java:205)
at javafx.base/javafx.collections.ModifiableObservableListBase.add(ModifiableObservableListBase.java:155)
at java.base/java.util.AbstractList.add(AbstractList.java:111)
at fr.sae.terraria@1.0-SNAPSHOT/fr.sae.terraria.modele.entities.player.inventory.Inventory.createStack(Inventory.java:66)
at fr.sae.terraria@1.0-SNAPSHOT/fr.sae.terraria.modele.entities.player.inventory.Inventory.put(Inventory.java:95)
at fr.sae.terraria@1.0-SNAPSHOT/fr.sae.terraria.modele.entities.player.Player.pickup(Player.java:160)
at fr.sae.terraria@1.0-SNAPSHOT/fr.sae.terraria.modele.entities.blocks.Block.loots(Block.java:78)
at fr.sae.terraria@1.0-SNAPSHOT/fr.sae.terraria.modele.entities.blocks.Block.breaks(Block.java:105)
at fr.sae.terraria@1.0-SNAPSHOT/fr.sae.terraria.modele.entities.player.Player.interactWithBlock(Player.java:120)
at fr.sae.terraria@1.0-SNAPSHOT/fr.sae.terraria.controller.GameController.lambda$addKeysEventListener$4(GameController.java:128)
at javafx.base/com.sun.javafx.event.CompositeEventHandler$NormalEventFilterRecord.handleCapturingEvent(CompositeEventHandler.java:282)
at javafx.base/com.sun.javafx.event.CompositeEventHandler.dispatchCapturingEvent(CompositeEventHandler.java:98)
at javafx.base/com.sun.javafx.event.EventHandlerManager.dispatchCapturingEvent(EventHandlerManager.java:223)
at javafx.base/com.sun.javafx.event.EventHandlerManager.dispatchCapturingEvent(EventHandlerManager.java:180)
at javafx.base/com.sun.javafx.event.CompositeEventDispatcher.dispatchCapturingEvent(CompositeEventDispatcher.java:43)
at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:52)
at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at javafx.base/com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
at javafx.base/com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
at javafx.base/javafx.event.Event.fireEvent(Event.java:198)
at javafx.graphics/javafx.scene.Scene$ClickGenerator.postProcess(Scene.java:3564)
at javafx.graphics/javafx.scene.Scene$ClickGenerator.access$8200(Scene.java:3492)
at javafx.graphics/javafx.scene.Scene$MouseHandler.process(Scene.java:3860)
at javafx.graphics/javafx.scene.Scene$MouseHandler.access$1200(Scene.java:3579)
at javafx.graphics/javafx.scene.Scene.processMouseEvent(Scene.java:1849)
at javafx.graphics/javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2588)
at javafx.graphics/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:397)
at javafx.graphics/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:295)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at javafx.graphics/com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(GlassViewEventHandler.java:434)
at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:390)
at javafx.graphics/com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:433)
at javafx.graphics/com.sun.glass.ui.View.handleMouseEvent(View.java:556)
at javafx.graphics/com.sun.glass.ui.View.notifyMouse(View.java:942)
at javafx.graphics/com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:174)
at java.base/java.lang.Thread.run(Thread.java:829)
Describe the bug
Lorsque il y a l'inventaire plein, et quand il tente de mettre d'autre item dans l'inventaire plein, une erreur se produit.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Que l'inventaire n'accepte plus de stack une fois complet
Desktop (please complete the following information):
Exception in thread "JavaFX Application Thread" java.lang.NullPointerException
at fr.sae.terraria@1.0-SNAPSHOT/fr.sae.terraria.modele.entities.blocks.Stone.breaks(Stone.java:62)
at fr.sae.terraria@1.0-SNAPSHOT/fr.sae.terraria.controller.GameController.breakBlock(GameController.java:150)
at fr.sae.terraria@1.0-SNAPSHOT/fr.sae.terraria.controller.GameController.lambda$addKeysEventListener$7(GameController.java:138)
at javafx.base/com.sun.javafx.event.CompositeEventHandler$NormalEventFilterRecord.handleCapturingEvent(CompositeEventHandler.java:282)
at javafx.base/com.sun.javafx.event.CompositeEventHandler.dispatchCapturingEvent(CompositeEventHandler.java:98)
at javafx.base/com.sun.javafx.event.EventHandlerManager.dispatchCapturingEvent(EventHandlerManager.java:223)
at javafx.base/com.sun.javafx.event.EventHandlerManager.dispatchCapturingEvent(EventHandlerManager.java:180)
at javafx.base/com.sun.javafx.event.CompositeEventDispatcher.dispatchCapturingEvent(CompositeEventDispatcher.java:43)
at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:52)
at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at javafx.base/com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
at javafx.base/com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
at javafx.base/javafx.event.Event.fireEvent(Event.java:198)
at javafx.graphics/javafx.scene.Scene$ClickGenerator.postProcess(Scene.java:3564)
at javafx.graphics/javafx.scene.Scene$ClickGenerator.access$8200(Scene.java:3492)
at javafx.graphics/javafx.scene.Scene$MouseHandler.process(Scene.java:3860)
at javafx.graphics/javafx.scene.Scene$MouseHandler.access$1200(Scene.java:3579)
at javafx.graphics/javafx.scene.Scene.processMouseEvent(Scene.java:1849)
at javafx.graphics/javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2588)
at javafx.graphics/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:397)
at javafx.graphics/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:295)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at javafx.graphics/com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(GlassViewEventHandler.java:434)
at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:390)
at javafx.graphics/com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:433)
at javafx.graphics/com.sun.glass.ui.View.handleMouseEvent(View.java:556)
at javafx.graphics/com.sun.glass.ui.View.notifyMouse(View.java:942)
at javafx.graphics/com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:174)
at java.base/java.lang.Thread.run(Thread.java:829)
Describe the bug
Une fois l'item consommer, une erreur se produit lorsqu'on tente de détruire d'autre bloc
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Que lorsqu'on a rien dans la main, il ne produit pas d'erreur
Desktop (please complete the following information):
name: Beug sur l'"IA" du lapin
about: Permet de garder une trace écrite pour ne pas oublier
title: [Rabbit] Je souhaite que les lapins ne tombe pas lorsqu'il sont proche du vide afin de ne pas qu'il se suicide
labels: bug
assignees: @NaulaN
Describe the bug
Le beug survient lorsqu'il doit détecté le vide sous ses pieds, il reste bloquer sur le même tile lorsqu'il détecte le vide de droite
Il ne reste pas bloquer sur les détection de gauche et saute comme même dans le vide.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Que le lapin fasse le mouvement inverse lorsqu'il détecte du vide sous ses pieds
Desktop (please complete the following information):
Describe the bug
Lorsque qu'on pose un bloc à la même position du joueur, le joueur est bloqué et donc ne peut plus bouger
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Quand le bloc est posé au même niveau du joueur, je souhaite que le joueur apparaisse sur le bloc qui vient de posé
Desktop (please complete the following information):
Describe the bug
Lorsque le joueur tape les hautes herbes et qu'il le casse, la tallgrass reste encore dans la vue
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Je souhaite que l'haute herbe disparait quand on la casse.
Desktop (please complete the following information):
name: Beug sur la barre d'inventaire
about: Permet de garder une trace écrite pour ne pas oublier
title: Barre d'inventaire
labels: Bug
assignees: @NaulaN @TheblackReaper060303
Describe the bug
Certains item ne se stack pas au même endroit comme la viande de lapin.
Les labels ne sont pas visible pour savoir combien d'item nous avions dans un stack.
Desktop:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.