Thank helloworld,
I tried a couple things:
public void actionPerformed(ActionEvent actionEvent) {
synchronized (this) {
Type: Posts; User: gib65
Thank helloworld,
I tried a couple things:
public void actionPerformed(ActionEvent actionEvent) {
synchronized (this) {
That's what I suspect. From what I undestand, key bindings respond asynchronously, and if you read (in my OP) the first condition under which this delay usually occurs, it makes sense that some race...
But this is exactly what my InputProcessor does. As soon as an arrow key is pressed, a TimeKeyEvent is stored in the array and helm points to it. Then in the main game loop, it checks for any arrow...
In my video game I'm programming, I'm experiencing a bit of a delay in response to key presses. I'm hoping someone can help me out. Once in a while whenever I move the main character around, there...