yea sorry, was at soccer practice
Type: Posts; User: godlynom
yea sorry, was at soccer practice
ugh dang small problems....thank you so much for your time, have now got it working and everything, thanks so much
well a fix to my response, now the coordinates of x and y change when keys are pressed, (questions 1 and 3) and the draw method is called also, but the shapes themselves are not drawing, it is not...
The timer printed out the values of the x and y coordinates, following the timer specified at the top, but it does not change the x or y coordinates
I did :
System.out.println(x + " " + y);
...
that was a dumb question, the KeyListener should be in the Snake class, still trying to figure out what is not working, it should be working, mep
I am having trouble with the debugging, it is not helping me. If i want to control the SnakeBody object, should i put the KeyListener in the SnakeBody class, or the Snake class?
yea, one of the end brackets did not copy over for some reason in the SnakeBody class, and it is not really a problem, I just cannot control the SnakeBody object that is created, like I need to. The...
I was using the debugger and I still cannot locate the problem, I created a SnakeBody class and it now appears along with the food, however I cannot control it. here is the code:
SnakeBody class:
...
In essence, the game Snake is a game(obviously) where you control a snake(the red square) and you have to gather the food(the blue shape). When the snake runs into the food, it grows a body part and...
Hello all, I am in the process of making my very own Snake game. It is going quite well. I have taken Computer Math in my junior year of high school and now during my senior year I am taking AP...