Handango Inc.

Microsoft Visual Basic 2008- How to make a Maze game

by admin on Friday 5 February 2010


**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

  • Digg
  • Facebook
  • Yahoo! Buzz
  • Twitter
  • Diigo
  • Propeller
  • StumbleUpon
  • Faves
  • Mixx
  • Tumblr

26 Comments »

  1. Comment by CaramBussum — February 5, 2010 @ 12:10 pm

    booyakak 619

  2. Comment by xkidd092 — February 5, 2010 @ 12:48 pm

    Is there any way to do the exact same thing, except instead of using the mouse as a control, i use the arrow keys?

  3. Comment by aysuzz — February 5, 2010 @ 1:16 pm

    ungo!

  4. Comment by MrFireball28 — February 5, 2010 @ 2:08 pm

    Can you make a scary maze with the software?

  5. Comment by havatra — February 5, 2010 @ 3:06 pm

    No problem! :-D Just trying to help! :-D

  6. Comment by Anoburn — February 5, 2010 @ 3:20 pm

    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 :D

  7. Comment by havatra — February 5, 2010 @ 4:04 pm

    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! :-D

  8. Comment by UbawProduction — February 5, 2010 @ 4:28 pm

    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.

  9. Comment by Anoburn — February 5, 2010 @ 5:12 pm

    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?

  10. Comment by Anoburn — February 5, 2010 @ 5:27 pm

    yes, or else it the lines without that mousehover (better mousemove) wouldn’t do anything if the mouse goes other them

  11. Comment by louisliu0810 — February 5, 2010 @ 6:15 pm

    change it to MOUSEMOVE instead of MOUSEHOVER

  12. Comment by mastermakerhacker — February 5, 2010 @ 7:11 pm

    @muckmad
    MouseEnter works better then MouseHover, MouseHover takes 2 seconds to activate

  13. Comment by hitachi654 — February 5, 2010 @ 7:34 pm

    nice job and what codec did you ise to make video

  14. Comment by martinpyromaniac — February 5, 2010 @ 7:41 pm

    Use mousemove instead of mousehover, with mousehover you can cheat by quickly moving the mouse over the line

  15. Comment by wozzupgamer — February 5, 2010 @ 8:22 pm

    would i be able to use the line in visual basic powerpack line shape cos mine was there anyway ?

  16. Comment by igoyz — February 5, 2010 @ 8:36 pm

    yes

  17. Comment by kyriacoshe — February 5, 2010 @ 9:09 pm

    you mean in school?

  18. Comment by muckmad — February 5, 2010 @ 9:13 pm

    Did u do u do the MouseHover thing on all the lines?

  19. Comment by igoyz — February 5, 2010 @ 9:53 pm

    I have a big project…. and this game is one of my games…..

  20. Comment by kyriacoshe — February 5, 2010 @ 9:53 pm

    one day left for what?

  21. Comment by igoyz — February 5, 2010 @ 10:39 pm

    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

  22. Comment by kyriacoshe — February 5, 2010 @ 11:38 pm

    video quality 5/5, explain 5/5 5 stars

  23. Comment by kyriacoshe — February 6, 2010 @ 12:10 am

    @igoyz i like you , you seem like you know i am doing algorithms in school

  24. Comment by igoyz — February 6, 2010 @ 12:33 am

    what is the pseudo code for this and also the algortihms?? of this game

  25. Comment by IshiruDevil — February 6, 2010 @ 1:04 am

    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

  26. Comment by Kean Tan — June 3, 2010 @ 2:57 am

    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

RSS feed for comments on this post. TrackBack URI

Leave a comment

Copyright © 2010 IT Knowledge Hub LLC | Advertise | Contact | Privacy Policy | Terms of Use | Register