Search:

Type: Posts; User: crazyboy5012

Search: Search took 0.28 seconds.

  1. Replies
    5
    Views
    173

    Re: arrays ... what am i doing wrong?

    oh ok ... thx !
  2. Replies
    5
    Views
    173

    Re: arrays ... what am i doing wrong?

    well this is basically the whole code .... and the error is given the scond i try to allocate the memory of the array
    the error is given for the declarations.

    public class AI{
    int max,min;...
  3. Replies
    5
    Views
    173

    arrays ... what am i doing wrong?

    i was trying to create a new array:
    int[][] location;
    but for some reason the moment i try to call that array it gives me an error:
    int[][] location;
    location = new int[10][2];
    error: "syntax...
  4. Thread: KeY Press

    by crazyboy5012
    Replies
    14
    Views
    211

    Re: KeY Press

    omg thx !!! .... fixed it XD
  5. Thread: KeY Press

    by crazyboy5012
    Replies
    14
    Views
    211

    Re: KeY Press

    i did an it lands on the exact x and y parameters which i specified it not to land on
    if you look back at the code you'll see that the while will only run if the next jump(y-=cp;(cp=100)) does not...
  6. Thread: KeY Press

    by crazyboy5012
    Replies
    14
    Views
    211

    Re: KeY Press

    ok found the problem ... for some reason even with the limitations it keeps creating an infinite loop.
    i am not sure why ... it's either a whole in the limitations or a miss in the data ...
    [EDIT]...
  7. Thread: KeY Press

    by crazyboy5012
    Replies
    14
    Views
    211

    Re: KeY Press

    how will this work if i am working on a JFrame ?
    i understand if i only have a console based progrem.
    (btw i am building a turn based bored game)
  8. Thread: KeY Press

    by crazyboy5012
    Replies
    14
    Views
    211

    Re: KeY Press

    oh simple .... i look for a proble and if i think i spot it i change it ... run it again if it does not work i repeat ....
    this is the 1st time i got no results ...
  9. Thread: KeY Press

    by crazyboy5012
    Replies
    14
    Views
    211

    Re: KeY Press

    I am not really keen on all of the terms yet .. can you explain your slef?
  10. Thread: KeY Press

    by crazyboy5012
    Replies
    14
    Views
    211

    Re: KeY Press

    i know it is very ugly. i was forced to make it that way due to lack of knowledge and lack of time.
    each x and y combination belong to a platform (ex> x1,y1 belong to platform 1), and each one of...
  11. Thread: KeY Press

    by crazyboy5012
    Replies
    14
    Views
    211

    KeY Press

    I want this to happen when i press any of the w,a,s,d buttns:
    the platform (rectangle) starts going in the specified direction until it reaches the end of the bored/it reaches another platform ...
Results 1 to 11 of 11