Visual Basic Code Maze Game

  понедельник 11 февраля
      82

So my professor is loving to give us assignments without giving us resources to learn the lesson so I'm turning to you brilliant members for help! We're making a maze game using the 'e.Graphics.DrawLine' commands to write the maze walls and dimensions and making a picture box move throughout the maze with.Left and.Top commands with a Threading.Thread.Sleep to delay it slightly. My issue is that when it gets to the end it needs to be reset to it's original location, but I've not the slightest idea how to even go about starting that code. Can anyone help? This post has been edited by Darkangler: 08 December 2008 - 07:06 PM.

Now I've got a question slightly different than the original purpose of this post. Right now the maze is running a player character (picCat) through the maze with the user only clicking either the mnuMouseGo or Animate buttons. I want to make it so the users can move it via the arrow keys. It's a bit more challenging than I first anticipated, but I think I have the code for the buttons right.

For Grand Theft Auto: Vice City Stories on the PSP, GameFAQs has 22 save games. Grand Theft Auto: Vice City Stories was an exclusive game for the PlayStation Portable. Because of its success, it was later released on the PlayStation 2 console. It is the second Grand Theft Auto game to appear on the handheld console as well as the sixth and final game (but first chronologically) of the 3D Universe. Gta vice city psp iso Go 'PSP' t hen choose the 'SAVE DATA' folder Extract the folder ' ULUS10160S92F2 ' from the Rar you downloaded If the extracting successful, unplug your PSP and launch GTA Vice City Stories.

Maze Game: Reset, Maze, Picture Box, Picture, Animation. An even simpler guide than microsoft's to make the maze game in Visual basic, inbox any suggestions you would like me do do for VB. Tp link wireless n adapter driver download. How to learn to code (quickly and easily!) - Duration: 11:41.

Private Sub Form1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) If (e.KeyCode = Keys.Right) Then picCat.Left = picCat.Left + 5 ElseIf (e.KeyCode = Keys.Left) Then picCat.Left = picCat.Left - 5 ElseIf (e.KeyCode = Keys.Up) Then picCat.Top = picCat.Top - 5 ElseIf (e.KeyCode = Keys.Down) Then picCat.Top = picCat.Top + 5 End If End Sub However, when I go to use the arrows to move the picCat it doesn't work at all. Any help would be appreciated once again. If you are intending by use of arrow keys to have a fully 3 dimensional environment, you are totally wrong. Otherwise, the only difference between clicking an arrow to go a certain direction and hitting an arrow key, should be the events in which toggle the actions. Not a 3D maze game, just want to be able to have the player move the picture box through a 2D maze using the arrow keys. Like if you were playing something like Space Invaders, where you wanted to move left/right/up/down using the arrows(if it were on the computer).