this code is the problem i need it so... when the bat on x axis, and the ball comes to wher the bat is, the ball will change direction,
p.s. does anyone know a piece of coding that allows the...
Type: Posts; User: hnc
this code is the problem i need it so... when the bat on x axis, and the ball comes to wher the bat is, the ball will change direction,
p.s. does anyone know a piece of coding that allows the...
Let me start fresh,
below is my coding for a breakout game, i have become stuck on the code that allows the ball to hit the bat and go back up, the ball will hit where the mouse is, not on the bat...
sorry i was not specific, i need help on the ball hitting the bat code what i have so far in the code is :
private void checkCollision(){
Graphics myPen = paper.getGraphics();
...
I am developing a breakout game for a university assignment, its in for monday haha so not much time, i am confused on how to make this 'simple' game as i prefer visual basic, i have produced coding...