Search:

Type: Posts; User: Norm

Search: Search took 0.09 seconds.

  1. Replies
    19
    Views
    2,962

    Re: Collision Check Error

    The error messages you posted show what happened and where. For example:

    On line 192 in Main there is an array index of 19 that is out of bounds (the array has too few elements)
  2. Replies
    19
    Views
    2,962

    Re: Collision Check Error

    Those messages look very important for helping you find your problems.
  3. Replies
    19
    Views
    2,962

    Re: Collision Check Error

    Well for now, can you copy the first 20 and the last 20 lines with ... between to see if it could have any useful information.
  4. Replies
    19
    Views
    2,962

    Re: Collision Check Error

    OK, I know nothing about an iMac.
    Do you have any command prompt windows for running java from a commandline so you can see println() output?
  5. Replies
    19
    Views
    2,962

    Re: Collision Check Error

    Ok, can you run a test now and copy the contents of the Java console and paste it here with comments showing where you think the problem is?

    A hanging/freezing program usually is an unending loop.
  6. Replies
    19
    Views
    2,962

    Re: Collision Check Error

    If your explanation were included in with the output to show which ones show what, it would help.
    Having to scroll up and down as I read your later postings to see what you are talking about makes...
  7. Replies
    19
    Views
    2,962

    Re: Collision Check Error

    if (ii>=totalenemies) break;
    message = "Second loop broken";


    Can you explain what the message means? It looks like the message is output if you do NOT break.
    A better debug would be to show...
  8. Replies
    19
    Views
    2,962

    Re: Collision Check Error

    The println() output goes into the browser's Java console.

    Sorry, your output example list makes no sense. I don't know what is an error vs normal output.

    Perhaps if you added some more text...
  9. Replies
    19
    Views
    2,962

    Re: Collision Check Error

    Can you show the console showing what you have printed out as debug trace?

    I don't see any println() statements in the code you've posted.


    Program comments would help there. Put the comments...
Results 1 to 9 of 9