How to make a maze game + download the game!

Heres your chance to share your own tutorials with the community. Just post them on here. If your lucky they may even be posted on the main site.
3 posts Page 1 of 1
Contributors
User avatar
Toby64800
New Member
New Member
Posts: 14
Joined: Sat Dec 05, 2009 7:37 pm

ok well what we will need for form 1

the start menu

1 button and where but it has to be in position of 'the place' where ur maze starts!
make the starting place center of screen!

button 1
Code: Select all
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Level1.Show()


    End Sub
that is all for that now create as many levels as you like!


1 for a panel
so if mouse enter you will redirect to lose page!
Code: Select all
Private Sub Panel4_MouseEnter(ByVal sender As Object, ByVal e As System.EventArgs) Handles Panel4.MouseEnter
        Lose.Show()
        Me.Close()
    End Sub
ok now 1 for forum
if mouse entr you will redirect to lose!
Code: Select all
Private Sub Level3_MouseEnter(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.MouseEnter
        Lose.Show()
        Me.Close()

    End Sub
now a label one
redirected to lose!
Code: Select all
  Private Sub Last_Levelvb_MouseEnter(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.MouseEnter
        Lose.Show()
        Me.Close()

    End Sub

now all you do is goto redirect the code
Code: Select all
lose.show
to
Code: Select all
'what the form name is'.show or close!

thx all ! download it if u wana test!
You do not have the required permissions to view the files attached to this post.
User avatar
CodenStuff
Site Admin
Site Admin
Posts: 4389
Joined: Tue Aug 04, 2009 1:47 am

Which part of this tutorial shows me how to make a maze game? its just code that opens/closes a form :?
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
User avatar
Toby64800
New Member
New Member
Posts: 14
Joined: Sat Dec 05, 2009 7:37 pm

ok ... 1 sec...
Levelvb_MouseEnter
if the mouse entrs that ... itle bring you to the lose screen ...
3 posts Page 1 of 1
Return to “Tutorials”