Search:

Type: Posts; User: strength.honor

Search: Search took 0.29 seconds.

  1. Replies
    5
    Views
    7,616

    Re: Breakout Game- program help

    if(numLives == 0)
    {
    vx = 0;
    vy = 0;

    numLives = 5;
    score = 0;


    this is for when the player runs out of lives. i have it...
  2. Replies
    5
    Views
    7,616

    Re: Breakout Game- program help

    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--;
    ...
  3. Replies
    5
    Views
    7,616

    Breakout Game- program help

    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...
Results 1 to 3 of 3