Make a Maze Game in Visual Basic 2008 - Mr ProgrammersMr Programmers Tutorial Hey Programmers! Ever wanted to make your own game? Well, my first video is just showing you to make a Maze Game on Microsoft Visual Basic 2008(I'm using VB 2010, but that's the same). The codes are too easy, and you'll have fun designing the form. The steps are also very easy! Codes: Label1(Start): Private Sub Label1_MouseEnter(ByVal sender As Object, ByVal e As System.EventArgs) Handles Label1.MouseEnter Label2.Enabled = True End Sub Label2(Finish): Private Sub Label2_MouseEnter(ByVal sender As Object, ByVal e As System.EventArgs) Handles Label2.MouseEnter MsgBox("You won!") End End Sub LineShape1: Private Sub LineShape1_MouseEnter(ByVal sender As Object, ByVal e As System.EventArgs) Handles LineShape1.MouseEnter MsgBox("You touched the line! You're out!") End Sub LineShape2: Private Sub LineShape2_MouseEnter(ByVal sender As Object, ByVal e As System.EventArgs) Handles LineShape2.MouseEnter MsgBox("You touched the line! You're out!") End Sub End Class Also, visit my blogs: http://www.mrprogrammers.wordpress.com/ (MrProgrammers's) http://www.techyhead.weebly.com/ (TechyHead's, MrProgrammers's other blog) Please subscribe, comment and rate! Thanks for watching! Mr Programmers © Mr Programmers. ® on Youtube. code pour embarquer la vidéo : >>> http://www.youtube.com/embed/lvkyvR4YdLI <<< |