if(numLives == 0)
{
vx = 0;
vy = 0;
numLives = 5;
score = 0;
this is for when the player runs out of lives. i have it...
Type: Posts; User: strength.honor
if(numLives == 0)
{
vx = 0;
vy = 0;
numLives = 5;
score = 0;
this is for when the player runs out of lives. i have it...
Sorry. I'm new. But I fixed it.
No, I haven't. But I think I found WHERE the problem is. I just don't know how to fix it.
public void loseLife()
{
numLives--;
...
So I am working on a program to play the game Breakout (the game with the bricks, the ball and the paddle) and I have everything working except for two problems.
1) My loseLife method doesn't...