Results 1 to 5 of 5

Thread: Gravity

  1. #1

    Thread Starter
    PowerPoster MidgetsBro's Avatar
    Join Date
    Oct 2000
    Location
    Apparently, Internet.com
    Posts
    3,125

    Gravity

    How can I make a ball bounce up and down on a line at the bottom of my form, and look like it's realistically bouncing? I know I will have to do somthing with gravity, but I don't know exactly how to do it. I am using this to define my ball area:

    VB Code:
    1. Type UserObject
    2.      top as long
    3.      left as long
    4.      bottom as long
    5.      right as long
    6. End Type
    7. Dim Ball as UserObject

    I don't know what code I need to put in a loop, or even how to structure it. Eventually I want to make a sort of volleyball game, but for now I just want to make a ball bounce.

    Thanks
    -Joey
    <removed by admin>

  2. #2

  3. #3

    Thread Starter
    PowerPoster MidgetsBro's Avatar
    Join Date
    Oct 2000
    Location
    Apparently, Internet.com
    Posts
    3,125
    Thanks Fox. I tried going to http://fox.acky.net and it didn't have any way to get to the English part of your site... I knew u had a tutorial on gravity there, but I couldn't get to it.

    Thanks again.
    <removed by admin>

  4. #4
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088
    yes i moved the site to http://fox.acky.net/vb/


    ...or simply click the Visual Basic link from the menu

  5. #5

    Thread Starter
    PowerPoster MidgetsBro's Avatar
    Join Date
    Oct 2000
    Location
    Apparently, Internet.com
    Posts
    3,125
    Originally posted by Fox
    yes i moved the site to http://fox.acky.net/vb/


    ...or simply click the Visual Basic link from the menu
    HAHA! I didn't even see that! It doesn't look like a link.
    <removed by admin>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width