hi
I'm trying to make a picture box move
horizon and vertical
by themselves its fine, but when i combine them it doesn't seem to work
i have tried several methods
but it doesn't seem to work
any ideas?
cheers
I'm trying to make a picture box move
horizon and vertical
by themselves its fine, but when i combine them it doesn't seem to work
VB.NET:
If e.KeyCode = Keys.Up And e.KeyCode = Keys.Right Then
'// starts the jump timer
tmrJump.Start()
If pbxPlayer.Location.X <= 340 Then
'// starts the move right timer
tmrRight.Start()
End If
End If
i have tried several methods
VB.NET:
If e.KeyCode = Keys.Up Then
'// starts the jump timer
tmrJump.Start()
If e.KeyCode = Keys.Left Then
'// checks if the if not on the edge of the window
If pbxPlayer.Location.X >= 0 Then
'// starts the move left timer
tmrLeft.Start()
End If
Else
If e.KeyCode = Keys.Right Then
tmrRight.Start()
End If
End If
End If
but it doesn't seem to work
any ideas?
cheers