Search:

Type: Posts; User: Brain_Child

Search: Search took 0.06 seconds.

  1. Replies
    0
    Views
    3,608

    breakout paddle algorithm

    ive written a working breakout game but its pretty lame because whenever the ball hits the paddle this happens
    ...
  2. Replies
    2
    Views
    5,446

    loop and a half

    I wrote this program, it accepts values from the user until the sentinel value of 0 is reached, it then prints the highest and lowest numbers entered. (it is meant to print a message if no values...
  3. Replies
    1
    Views
    4,949

    Re: centering a label inside a rectangle

    I tried replacing


    topLabel.getAscent()/2
    with

    (topLabel.getAscent()-topLabel.getDescent())/2

    and now the label looks centered. is this the proper method?
  4. Replies
    1
    Views
    4,949

    centering a label inside a rectangle

    hey,

    I'm trying to complete q3 from this pdf.

    http://www.stanford.edu/class/cs106a/handouts/13-assignment-2.pdf

    here is what ive written, so far it draws the middle line and the top box, but...
Results 1 to 4 of 4