sir zach Posted July 7, 2008 Author Share Posted July 7, 2008 Shouldn't this work, like, honestly.``` If KeyCode = vbKeyUp Or KeyCode = vbKeyW Then DirUp = True DirDown = False DirLeft = False DirRight = False End If If KeyCode = vbKeyDown Or KeyCode = vbKeyS Then DirUp = False DirDown = True DirLeft = False DirRight = False End If If KeyCode = vbKeyLeft Or KeyCode = vbKeyA Then DirUp = False DirDown = False DirLeft = True DirRight = False End If If KeyCode = vbKeyRight Or KeyCode = vbKeyD Then DirUp = False DirDown = False DirLeft = False DirRight = True End If``` Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now