Results 1 to 6 of 6

Thread: [2005] Another small quick question

Threaded View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2008
    Posts
    95

    Resolved [2005] Another small quick question

    Just a quick thing, Code below is checking collision with tags:
    vb Code:
    1. If TypeOf Wall Is PictureBox AndAlso Wall.Tag = "Item Fireball" Then
    2.                 If Wall.Bounds.IntersectsWith(Pic1.Bounds) Then
    3.                     Me.Controls.Remove(Wall)
    4.                 End If
    5.             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".
    Last edited by squrrilslayer; Apr 4th, 2008 at 06:29 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width