Search:

Type: Posts; User: gib65

Search: Search took 0.08 seconds.

  1. Re: video game problem - delay in response to arrow key presses

    Thank helloworld,

    I tried a couple things:



    public void actionPerformed(ActionEvent actionEvent) {

    synchronized (this) {
  2. Re: video game problem - delay in response to arrow key presses

    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...
  3. Re: video game problem - delay in response to arrow key presses

    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...
  4. video game problem - delay in response to arrow key presses

    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...
Results 1 to 4 of 4