/ Published in: VB.NET
Add this code into the KeyDown event for the form, (e.g Private Sub frmMainGame_KeyDown...) then add the code where the comments go.
Expand |
Embed | Plain Text
If e.KeyCode = Keys.Left Then 'when left pressed ElseIf e.KeyCode = Keys.Right Then 'when right pressed ElseIf e.KeyCode = Keys.Space Then 'when space pressed End If
You need to login to post a comment.
