jump now when i want to jump right the theory behind doing this would be if
right and space pressed then jump to the right, right? the only problem im
having now is vb.net either doesn't detect when one or more keys are pressed
or im doing it wrong, which i think and hope i am. so here we go anyway heres
a bit of me code for y'all to look at see if you can figure it out thanks
Private Sub Form1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me.KeyDown
If e.KeyCode = Keys.Right And e.KeyCode = Keys.Space Then
jump1.Enabled = True
End If
Me.Invalidate()
End Sub
btw thats not all the code i commented out the walk right and left ect just to see if i could get this working
thanks
This post has been edited by kstarian: 23 March 2010 - 02:08 PM

New Topic/Question
Reply




MultiQuote



|