Search:

Type: Posts; User: Norm

Search: Search took 0.11 seconds.

  1. Thread: Bouncing Balls

    by Norm
    Replies
    6
    Views
    7,117

    Re: Bouncing Balls

    Lots of ideas for the OP to think about.
    I wrote it with a Timer for each ball. Fairly simple approach. No difficult logic.
    I'll look at changing it to use a single timer and see how that goes.
  2. Thread: Bouncing Balls

    by Norm
    Replies
    6
    Views
    7,117

    Re: Bouncing Balls

    @Kevin - What if you want the balls to move at different speeds? Could that be done by having different changes to the x and y. Would that be jerky?
  3. Thread: Bouncing Balls

    by Norm
    Replies
    6
    Views
    7,117

    Re: Bouncing Balls

    I'd create a Ball class that would paint itself at its location with a timer thread to move it and give it a starting point using a Random number.
Results 1 to 3 of 3