Search:

Type: Posts; User: jan4185

Search: Search took 0.09 seconds.

  1. Thread: Brick Breaker

    by jan4185
    Replies
    19
    Views
    3,209

    Re: Brick Breaker

    But how I suppost to do that ? Can you give me some leads ?
    And thank you for all your help :D
  2. Thread: Brick Breaker

    by jan4185
    Replies
    19
    Views
    3,209

    Re: Brick Breaker

    I thought about a matrix [20][4] 4 rows 20 each row
  3. Thread: Brick Breaker

    by jan4185
    Replies
    19
    Views
    3,209

    Re: Brick Breaker

    I need to paint them in the Ballworld1
  4. Thread: Brick Breaker

    by jan4185
    Replies
    19
    Views
    3,209

    Re: Brick Breaker

    the class Brick and the method paint.
  5. Thread: Brick Breaker

    by jan4185
    Replies
    19
    Views
    3,209

    Re: Brick Breaker

    Ok , this is what I've done, I need to paint 4-5 lines of bricks in the top of the screen.
    My classes so far are:

    1. Ball:


    //
    // general purpose reusable bouncing ball abstraction...
  6. Thread: Brick Breaker

    by jan4185
    Replies
    19
    Views
    3,209

    Re: Brick Breaker

    I don't know what to do, I tried to paint it with matrix but I cant..
    look what I tried:
    I wrote this in the main page


    public void paintBricks(){
    Graphics g;
    int i=80,j=50,k,l;...
  7. Thread: Brick Breaker

    by jan4185
    Replies
    19
    Views
    3,209

    Re: Brick Breaker

    I cant find a way to do that and for some reason I cant change the color of the bricks..
  8. Thread: Brick Breaker

    by jan4185
    Replies
    19
    Views
    3,209

    Re: Brick Breaker

    I need to paint the breaks in the top of the screen (4-5 lines of breaks).
  9. Thread: Brick Breaker

    by jan4185
    Replies
    19
    Views
    3,209

    Re: Brick Breaker

    I wrote this class.. can you give me more leads about what to do ?
    Bricks:


    import java.awt.Color;
    import java.awt.Graphics;
    import java.awt.Paint;
    import java.awt.Rectangle;
    import...
  10. Thread: Brick Breaker

    by jan4185
    Replies
    19
    Views
    3,209

    Brick Breaker

    Hey, I'm making a brick breaker game and I need some help.
    I need to know how to do the brick class..
    any help ?
Results 1 to 10 of 10