45 angle movement of bullets..
hello guys..
can you help me on how to make 45 angle shoot or 45 angle movement of bullet in vb.net
arjen
Junior Poster in Training
55 posts since Jul 2006
Reputation Points: 10
Solved Threads: 0
See if this helps.
1 Button, 1 PictureBox
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
With PictureBox1
.Left += 5
.Top += 5
End With
End Sub
To change direction of movement, use .Left -= 5 , etc..
codeorder
Posting Virtuoso
1,913 posts since Aug 2010
Reputation Points: 255
Solved Threads: 384