oh ok ... thx !
Type: Posts; User: crazyboy5012
oh ok ... thx !
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;...
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...
omg thx !!! .... fixed it XD
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...
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]...
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)
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 ...
I am not really keen on all of the terms yet .. can you explain your slef?
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...
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 ...