Microsoft Visual Basic 2008- How to make a Maze game
**NOTE: YOU CAN CHANGE THE WIDTH OF THE LINE SO IT’S HARDER FOR THE PLAYER! “Change mousehover By mouseenter, because mousehover is for 2 seconde, and mouseenter is direct. ” Comment by yourkii. This tutorial will show you how to make a maze game like program that you can customize and learn from. If you have questions just leave a comment. ——————————————————————– HOW TO GET THE LINESHAPE: 1)Right click anywhere on your toolbox and then select “Choose Items…” 2)A new window will pop up named “Choose Toolbox items” 3)Under the .NET Framework Components look for the lineshape 4) if you have trouble finding the lineshape, use the filter by typing “lineshape” 5)Once you have found the lineshape, click the checkbox and then click OK 6)The window will close and then in your toolbox should be a tool called “lineshape” If you absolutely can’t find it then download it here: www.microsoft.com











booyakak 619
Is there any way to do the exact same thing, except instead of using the mouse as a control, i use the arrow keys?
ungo!
Can you make a scary maze with the software?
No problem!
Just trying to help!
hm, I’ll try your way. but that idea with the checkpoints is not very helpfull for me, because i wanted more complex mazes where you also have to find the right way. but thanks
You can try to make thicker walls…? (More lines) Or maybe take both MouseHover, MouseMove And MouseEnter on one line? (I’m not sure it will bust you) Or you can try to make ButtonWalls? XD I’m just trying to be helpful, but I’m not sure any of this will work. But UbawProduction’s reply was good too!
try this:
put a timer on your form that doesn’t let the people pass the level if they completed it to quickly.
and also put checkpoints on your maze so that they need to pass over a certain number of checkpoints in order to continue.
good luck.
hey, now i’ve tried every of those versions (MouseHover, MouseMove, MouseEnter) and every time I can cheat by quickly moving the mouse over the lines. is there a way where that’s not possible?
yes, or else it the lines without that mousehover (better mousemove) wouldn’t do anything if the mouse goes other them
change it to MOUSEMOVE instead of MOUSEHOVER
@muckmad
MouseEnter works better then MouseHover, MouseHover takes 2 seconds to activate
nice job and what codec did you ise to make video
Use mousemove instead of mousehover, with mousehover you can cheat by quickly moving the mouse over the line
would i be able to use the line in visual basic powerpack line shape cos mine was there anyway ?
yes
you mean in school?
Did u do u do the MouseHover thing on all the lines?
I have a big project…. and this game is one of my games…..
one day left for what?
well.. I need to do it too… and I really need to get the pseudo and algorithm for it…. I really need it I only have one day left
video quality 5/5, explain 5/5 5 stars
@igoyz i like you , you seem like you know i am doing algorithms in school
what is the pseudo code for this and also the algortihms?? of this game
doesnt work for me….
i have more lineshapes and only if im crossing LineShape1 then the button is disabled….
if im crossing LineShape2-9 (same code) the the button is still active and nothing hapenns?
pls PM me with solution!
Greetings IshiruDevil
Hi friends
I have made my own version of Maze game.
The concept is pretty much the same.
I use picture instead of lines.
here my codes:
Private Sub label1_MouseHover(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.MouseHover
Button1.Enabled = True
End Sub
Private Sub PictureBox1_MouseHover(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PictureBox1.MouseHover
Button1.Enabled = False
MsgBox(”Foul!”, MsgBoxStyle.Exclamation)
End Sub
Private Sub PictureBox2_MouseHover(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PictureBox2.MouseHover
Button1.Enabled = False
MsgBox(”Foul!”, MsgBoxStyle.Exclamation)
End Sub
Private Sub PictureBox3_MouseHover(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PictureBox3.MouseHover
Button1.Enabled = False
MsgBox(”Foul!”, MsgBoxStyle.Exclamation)
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
MsgBox(”You have pass!”, MsgBoxStyle.Information)
End
End Sub