How To Make An Annoying Button Game In Visual Basic 2008
How To Make An Annoying Button Game In Visual Basic 2008
Visual Basic 2008 - Annoying Button Game. Just another simple tutorial on how to make a simple game where the button moves, and the object of the game is to click it. pretty simple coding,hope ya enjoy :)
Code
Timer1_Tick:
Dim RND As New Random
Button1.Location = New Point(RND.Next(1, 270), RND.Next(1, 270))
Button1_Click:
If Timer1.Interval = 50 Then MsgBox("You won!") : End
MsgBox("HAHA FASTER!!")
Timer1.Interval -= 50 : ToolStripStatusLabel1.Text += 50
Thanks for watching, please comment and rate!