Search:

Type: Posts; User: Kamrava

Search: Search took 0.11 seconds.

  1. Replies
    6
    Views
    939

    Re: My first Java 2D Game won't work

    Thank you. I found it, the problem was right there :


    public void toggleKey(int keyCode, boolean isPressed) {
    if (keyCode == KeyEvent.VK_W) {
    up.toggle(true);
    }
    if (keyCode ==...
  2. Replies
    6
    Views
    939

    Re: My first Java 2D Game won't work

    I mean it does not have any syntax errors. It runs without any problems. But when the screen shows up it must move through W,A,S,D keys but won't work.
    I can't explain more... :(
  3. Replies
    6
    Views
    939

    Re: My first Java 2D Game won't work

    It run successfully. There is a logical problem
  4. Replies
    6
    Views
    939

    My first Java 2D Game won't work

    Hi there.

    I'm new on java.

    I'm following Zephyr Java 2D Game video tutorials on youtube.

    Problem :

    It should move the screen when i pressing W,A,S,D keys, but won't work. Please have look...
Results 1 to 4 of 4