Results 1 to 2 of 2

Thread: getting thing to move

  1. #1

    Thread Starter
    Hyperactive Member MPrestonf12's Avatar
    Join Date
    Jun 1999
    Location
    NY
    Posts
    330

    Question

    Can someone help me out with getting a image to move upward on the screen starting at random location at the bottom. Thanks
    Matt

  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Code:
    Private Sub InitImage()
        Image1.X = Rnd(Me.Width)
        Image1.Y = Me.Height
    End Sub
    Private Sub Timer1_Timer()
        Image1.Y = Image1.Y - 60
    End Sub
    This should help.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

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