Search:

Type: Posts; User: aortell24

Search: Search took 0.14 seconds.

  1. Replies
    22
    Views
    2,294

    Re: Help with bouncing ball

    I have the perfect speed now I just need to keep it on the panel it goes right of the panel as soon as it makes it across the panel but the speed is perfect.
  2. Replies
    22
    Views
    2,294

    Re: Help with bouncing ball

    I got it I finally got it ! now I just need to keep it in the panel. Thanks so much!
  3. Replies
    22
    Views
    2,294

    Re: Help with bouncing ball

    XPoint and Ypoint keep printing out 0 I dont understand how they can be 0 and the ball is moving so fast I can bearly see it.
  4. Replies
    22
    Views
    2,294

    Re: Help with bouncing ball

    Oh got ya Thanks alot
  5. Replies
    22
    Views
    2,294

    Re: Help with bouncing ball

    So, I move that line to the construtor and just update the speed every timer tick?
  6. Replies
    22
    Views
    2,294

    Re: Help with bouncing ball

    I though that by giving it random number in between 0 and 800 it would position the ball at random postions inside the panel which is 800 x 800
  7. Replies
    22
    Views
    2,294

    Re: Help with bouncing ball

    I was trying to keep the ball inside the panel which is 800 by 800 but I though that it was moving to fast so I changed it to 80 but that did not help .
  8. Replies
    22
    Views
    2,294

    Re: Help with bouncing ball

    I wrote all this.Thanks for the help.
  9. Replies
    22
    Views
    2,294

    Re: Help with bouncing ball

    But yes I just need a bouncing ball fro every client connected .
  10. Replies
    22
    Views
    2,294

    Re: Help with bouncing ball

    My project is to create an instance of the ball for every client that is connected to a server and the client should have a way to display and change the color , speed and direction of the ball.
  11. Replies
    22
    Views
    2,294

    Re: Help with bouncing ball

    Thanks alot guys that is a old habit my teacher told me he puts '_' in front of private data fields.Thanks for the help.
  12. Replies
    22
    Views
    2,294

    Help with bouncing ball

    Hello everyone I am having a hard time bouncing a ball I cant seem to get the collision correct and the ball is moving way to fast.Any help would be greatly appreciated.Here is my code.


    import...
Results 1 to 12 of 12