Just a quick thing, Code below is checking collision with tags:
vb Code:
If TypeOf Wall Is PictureBox AndAlso Wall.Tag = "Item Fireball" Then If Wall.Bounds.IntersectsWith(Pic1.Bounds) Then Me.Controls.Remove(Wall) End If End If
how do i do it so it detects the tag of "Item Fireball" as something like "Item *" as i will have multiple items, each having a tag starting with the word "Item".




Reply With Quote