Isn't there an other way I have made a simple sprite and I want to make it jump, but it moves so fast that you cant see it and I want to take a short rest between the times he moves.
to be a little clearer her's the script
If
e.KeyCode = Keys.Up And rtrn = 0 Then
Pos.Y -= 3
'I want him to wait here for a short time but not a program freeze
Waiting between commands
Sam Jarawan MSFT
jjbval
Mrrenzo
shal
Isn't there an other way I have made a simple sprite and I want to make it jump, but it moves so fast that you cant see it and I want to take a short rest between the times he moves.
to be a little clearer her's the script
If
e.KeyCode = Keys.Up And rtrn = 0 ThenPos.Y -= 3
'I want him to wait here for a short time but not a program freeze
Pos.Y -= 3
Pos.Y -= 3
Pos.Y -= 3
Pos.Y -= 3
Pos.Y -= 3
Pos.Y -= 3
Pos.Y -= 3
Pos.Y -= 3
Pos.Y -= 3
Pos.Y -= 3
Pos.Y -= 3
Pos.Y += 3
Pos.Y += 3
Pos.Y += 3
Pos.Y += 3
Pos.Y += 3
Pos.Y += 3
Pos.Y += 3
Pos.Y += 3
Pos.Y += 3
Pos.Y += 3
Pos.Y += 3
Pos.Y += 3
Dir = "upr"
Frame += 1
If Frame = 7 Then Frame = 1Loc = "img/" & Dir & Frame & ".gif"
Me.Invalidate() End If