1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

bouncing ball

Discussion in 'Software Development' started by motocross95, Jan 1, 2002.

Thread Status:
Not open for further replies.
  1. motocross95

    motocross95 Thread Starter

    Joined:
    Oct 30, 2001
    Messages:
    110
    I can make a ball bounce around the screen by simply adding or subtracting 1 to the x and y coordinates and what not. It's not too difficult. What is difficult for me however is to make a ball bounce at different angles. Because by simply adding or subtracting 1 it's always at a 90 degree angle. This will be worked into a game of pong, but can anyone help me with this please?
     
  2. motocross95

    motocross95 Thread Starter

    Joined:
    Oct 30, 2001
    Messages:
    110
    thanks again for all the help
     
  3. MacFromOK

    MacFromOK

    Joined:
    Mar 18, 2001
    Messages:
    1,741
    Sarcasm may not help your cause here...

    I have the code you are (were?) looking for. If you still
    want/need it, I'll try to put together a simple example.

    Cheers, Mac :)
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/63802

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice