antoiba86 / savethebeargame Goto Github PK
View Code? Open in Web Editor NEWIt's my first game, I am progamming it in JavaFX. It's about a bear which you must move it to save the world
It's my first game, I am progamming it in JavaFX. It's about a bear which you must move it to save the world
Probando el juego he encontrado el error. Simplemente estaba moviendo el oso y
se produjo.
Executing /home/usuario/Downloads/SaveTheBearGame-master/dist/run1388822436/BearGame.jar using platform /home/usuario/jdk1.8.0_91/jre/bin/java
Exception in thread "JavaFX Application Thread" java.util.ConcurrentModificationException
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1380)
at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
at beargame.GamePlayLoop.updateSprites(GamePlayLoop.java:53)
at beargame.GamePlayLoop.handle(GamePlayLoop.java:27)
at javafx.animation.AnimationTimer$AnimationTimerReceiver.lambda$handle$484(AnimationTimer.java:57)
at java.security.AccessController.doPrivileged(Native Method)
at javafx.animation.AnimationTimer$AnimationTimerReceiver.handle(AnimationTimer.java:56)
at com.sun.scenario.animation.AbstractMasterTimer.timePulseImpl(AbstractMasterTimer.java:357)
at com.sun.scenario.animation.AbstractMasterTimer$MainLoop.run(AbstractMasterTimer.java:267)
at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:506)
at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:490)
at com.sun.javafx.tk.quantum.QuantumToolkit.lambda$runToolkit$404(QuantumToolkit.java:319)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
at com.sun.glass.ui.gtk.GtkApplication.lambda$null$49(GtkApplication.java:139)
at java.lang.Thread.run(Thread.java:745)
When you minimize the Screen and you come back to the game, the enemies are disappeared. This issue maybe is a problem with the Garbage collector.
Conviene crear un archivo comúnmente conocido como README o léeme para que los usuarios sepan cómo usar el programa, como instalarlo, así como otros aspectos importantes. También es conveniente añadir una licencia que indique si el software es libre o privativo.
Al añadir nuevos sprites, se ven en la posición 0,0 de la pantalla.
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.