Comments (3)
This seems related to the fact that an Entity that calls remove, but is still listening to generated KeyPressed events, gets those events after it is removed, leading to an exception. But I wasn't able to reproduce this one yet.
from yaeger.
I had this same issues. It can also occur when you load a new Scene and remove the KeyChangeListener.
Created this project as repro: https://github.com/Jaapapa/YaegerKeyPressNullRepro .
from yaeger.
Thanks @Jaapapa ! I've merged the fix.
from yaeger.
Related Issues (20)
- onMousePressed from the tutorial is deprecated
- Replace al Stream-API For Eaches with traditional for-loop
- Set autocycle sets the row to -1
- Bounding boxes disable mouse events
- KeyPressed delay leads to input lag. HOT 1
- No way to obtain X and Y coordinate of neither BoundingBox nor Collider HOT 1
- Switching scene leads to a ConcurrentModification Exception HOT 1
- Implement Named animations HOT 3
- Bug: setAutoCycle animates up to a certain row instead of one single row HOT 16
- Exception message for Sprites used in SpriteMaps doesn't mention the third parameter
- Newtionian Entities sometime disappear on Collision and keypressed HOT 11
- Direction is reset to Direction.Right after speed has been set to 0
- Non-default anchorpoint is not taken into account on the BoundingBoxVisualiser
- Add optional overlay that shows a coördinate-grid
- Expose the total rotation of an Entity
- Enable ScrollableDynamicScene to center on a coordinate HOT 1
- IndexOutOfBoundException on start project HOT 2
- Update String to use JDK21 String templates HOT 1
- Updated Guice dependency when a new version is released
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yaeger.