Search:

Type: Posts; User: helloworld922

Search: Search took 0.08 seconds.

  1. Replies
    6
    Views
    1,972

    Re: Java n00b

    it's lpMove (capital M)
    That is the correct code, and you did put it in the right place. The second fragment is to not move the paddle if it's at one of the bounds (don't move up at the top bound,...
  2. Replies
    6
    Views
    1,972

    Re: Java n00b

    Ok, here is a good way to use keylisteners in a game:

    Say you wanted W to move the left paddle up, and S to move it down. So, every time the keypressed method is executed, we would want to compare...
Results 1 to 2 of 2