Search:

Type: Posts; User: Josh Yaxley

Search: Search took 0.09 seconds.

  1. Replies
    19
    Views
    2,949

    Re: Collision Check Error

    Hmmm.. I can't make any sense of them though :/

    How am I supposed to interpret console messages?
  2. Replies
    19
    Views
    2,949

    Re: Collision Check Error

    Well I've had a look and the message it shows when the game freezes is this:


    Exception in thread "Thread-21" java.lang.ArrayIndexOutOfBoundsException: 19
    at Main.run(Main.java:192)
    at...
  3. Replies
    19
    Views
    2,949

    Re: Collision Check Error

    Oh wait I've figured out how to use the console but it gives me a reallyyyyy long message, shall I copy and paste all of it?
  4. Replies
    19
    Views
    2,949

    Re: Collision Check Error

    There is a terminal but I've never used it.

    When I want to run my code I just use the run option in BlueJ
  5. Replies
    19
    Views
    2,949

    Re: Collision Check Error

    I've told you already it doesn't seem to write anything to the console which is why I programmed my own debug messaging into the code so that I could see whereabouts it was freezing.

    If it helps...
  6. Replies
    19
    Views
    2,949

    Re: Collision Check Error

    The console doesn't show anything, that's why I had to program my own debug messaging thing (basically just "message = 'string';" and "g.drawString(message,x,y);".

    The errors I get are the ones...
  7. Replies
    19
    Views
    2,949

    Re: Collision Check Error

    Okay I've updated my first post to show some of the error messages.

    And the whole "breaking the loop" thing isn't actually necessary (because the for loop will end anyway) it was just something I...
  8. Replies
    19
    Views
    2,949

    Re: Collision Check Error

    Normal output would be "First loop broken" because this is at the end of the code, so when it is running normally it displays "First loop broken".

    However, when the game freezes, it displays a...
  9. Replies
    19
    Views
    2,949

    Re: Collision Check Error

    Normal output would be "First loop broken" because this is at the end of the code, so when it is running normally it displays "First loop broken".

    However, when the game freezes, it displays a...
  10. Replies
    19
    Views
    2,949

    Re: Collision Check Error

    The game runs as an applet and for some reason println() doesn't seem to work with it, so instead I draw the debug messages to the screen.

    I'll just play the game a bit until I get an error to...
  11. Replies
    19
    Views
    2,949

    Collision Check Error

    Okay, I've had this error for days and I just cannot place how to fix it.

    To pinpoint where the error was I put in debug messages in my code so that I knew where in the code it was freezing....
Results 1 to 11 of 11