i want to make a match game were you match up the pictures. the pictures are hidden behind buttons. i' ve tried to do it my self but i cant get it to work. just wondred if anyone could help.
Printable View
i want to make a match game were you match up the pictures. the pictures are hidden behind buttons. i' ve tried to do it my self but i cant get it to work. just wondred if anyone could help.
Sure we could help. What's the question? What exactly have you done and what exactly are you having trouble with?
well i have 14 pictureboxes and 14 buttons. the buttons are over the pictureboxes. i'm struggling to get the buttons to become visible = true again after they have been clicked. i used a timer. just look at this its hard to explainthats for the button this is for the timerCode:button_1 = 1
count = count + 1
If PictureBox1.Tag = "major2nd1" And Button12.Visible = False Then
Timer1.Stop()
Timer2.Stop()
Timer3.Stop()
Button1.Visible = False
ElseIf PictureBox1.Tag = "perfect4th1" And Button10.Visible = False Then
Timer1.Stop()
Timer2.Stop()
Timer3.Stop()
Button1.Visible = False
ElseIf PictureBox1.Tag = "perfect5th1" And Button10.Visible = False Then
Timer1.Stop()
Timer2.Stop()
Timer3.Stop()
Button1.Visible = False
ElseIf PictureBox1.tag = "major2nd1" and count = 1 + 1 Then
Timer1.Start()
Timer2.Stop()
Timer3.Stop()
count = 0
ElseIf PictureBox1.tag = "perfect4th1" and count = 1 + 1 Then
Timer1.Stop()
Timer2.Start()
Timer3.Stop()
count = 0
ElseIf PictureBox1.tag = "perfect5th1" and count = 1 + 1 Then
Timer1.Stop()
Timer2.Stop()
Timer3.Start()
count = 0
Else
Timer1.Stop()
Timer2.Stop()
Timer3.Stop()
End If
Button1.Visible = False
hope this helpsCode:If button_1 =1 and count = 2
button1.Visible = True
count = 0
button_1 = 0