I will do my best, this is my first attempt at a programming course.
I have a target moving with this code:
Private Sub tmrTarget_Tick(ByVal sender As Object, ByVal e As
System.EventArgs) Handles tmrTarget.Tick
'Move the graphic(target) across the form
Static intX As Integer = picTarget.Left
Static intY As Integer = picTarget.Top
Static intWidth As Integer = picTarget.Width
Static intHeight As Integer = picTarget.Height
'Set new x coordinate
intX -= 10
If intX <= -picTarget.Width Then 'Graphic is off edge of form
intX = Me.Width
End If
'Move image
picTarget.SetBounds(intX, intY, intWidth, intHeight)
End Sub
_______________________________________________
The target goes from right to left then re appears on the right. What i
want to happen is have when then controls overlap it detect a hit, right
now when the controls overlap both target and projectile keep moving. I
am not really sure what else to provide, i have never has to ask for
help like this. If someone needs to see the code i could email it to
someone if that would help. I have a zip file with my current code, the
project specs , the prof essay. I have been stuck at this point for a
few days now

.
*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!