Created
May 9, 2018 15:12
-
-
Save xSystemIOx/4de47cb96941c800861b00a1e48194b7 to your computer and use it in GitHub Desktop.
Character Movement for VB application form
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Private Sub MoveShooter() | |
| If Sright = True And Player.Left + Player.Width < Me.ClientRectangle.Width Then | |
| Player.Left += PlayerSpeed | |
| End If | |
| If Sleft = True And Player.Left > Me.ClientRectangle.Left Then | |
| Player.Left -= PlayerSpeed | |
| End If | |
| End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment