Ok so this is what I use to move an object smoothly (quick example):
Code: Select all
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
Select Case KeyCode
Case Is = 38
tmrup.Enabled = True
End Select
End Sub
Private Sub Form_KeyUp(KeyCode As Integer, Shift As Integer)
Select Case KeyCode
Case Is = 38
tmrup.Enabled = False
End Select
End SubCode: Select all
Private Sub TmrUp_Timer()
player1.Left = player1.Left + 30
End Sub
Usually in visual basic if I did something, there's an easier way to do it.
Is there possibly just a property that needs to be changed to move the object smoothly vs what happens when you press a key (It presses it once, then pauses before gonig into "autofire")
Sorry if this isn't very clear, I didn't spend too much time typing this up.

