|
-
Dec 15th, 2001, 02:49 AM
#1
Thread Starter
PowerPoster
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:
Type UserObject
top as long
left as long
bottom as long
right as long
End Type
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
-
Dec 15th, 2001, 08:27 AM
#2
PowerPoster
-
Dec 15th, 2001, 03:27 PM
#3
Thread Starter
PowerPoster
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.
-
Dec 15th, 2001, 04:18 PM
#4
PowerPoster
yes i moved the site to http://fox.acky.net/vb/
...or simply click the Visual Basic link from the menu
-
Dec 15th, 2001, 04:56 PM
#5
Thread Starter
PowerPoster
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|