Search:

Type: Posts; User: New2Programming

Search: Search took 0.18 seconds.

  1. Replies
    1
    Views
    81

    java game errors

    I am receiving two errors that I'm not sure how to fix. The first is illegal start of expression at line "public void actionPerformed(ActionEvent e)" and no suitable method found for intersect...
  2. Replies
    2
    Views
    102

    java game

    I am trying to have a Jbutton (blocker02) act like a wall that will not allow a moving Jbutton to pass through. I tried using " if (blocker02.getBounds().intersects(r_wall)) but it hasn't been...
  3. Replies
    1
    Views
    58

    Detecting collisions

    I am trying to detect the collision between a moving Jbutton and stationary Jbuttons using Rectangle Intersection. When I run the program I am getting a NullPointerException on line...
  4. Replies
    1
    Views
    128

    Simple Java Game

    I am writing code for a simple java game. The problem I am running into is that I have a moving icon (J button) that is controlled using the keyboard (arrows) and I also have stationary icons (J...
Results 1 to 4 of 4