Hello all, I'm trying to get a shot clock to work in my basketball game program. I've read a couple of tutorials but I'm still not getting it. I need it to start at 24 and go down to 0. As it is right now, it goes automatically to 0. Can anyone offer some advice? Thanks!
Code:
Timer1.Enabled = True Label78.Text = 24 Do Until Label78.Text = 0 If Label78.Text = 0 Then Timer1.Enabled = False And MessageBox.Show("Matchup Time is Up", "Basketball Mania", MessageBoxButtons.OK, MessageBoxIcon.None, MessageBoxDefaultButton.Button1) Else Label78.Text = Label78.Text - 1 Timer1.Interval = 24000 Loop
Comment