by Anonymous (267 Submissions)
Category: Games
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Sun 6th March 2005
Date Added: Mon 8th February 2021
Rating: (1 Votes)
an example for a way to simulate gravity in a game. in this example, the image is attracted to the top of the form and gains speed headed in
yspeed = 1
End Sub
Private Sub Timer1_Timer()
yspeed = yspeed + yspeed / 2
Image1.Top = Image1.Top - yspeed
End Sub
No comments have been posted about an example for a way to simulate gravity in a game. in this example, the image is attracted to the . Why not be the first to post a comment about an example for a way to simulate gravity in a game. in this example, the image is attracted to the .