Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / scancode troubles

Author
Message
Casper
21
Years of Service
User Offline
Joined: 8th Mar 2003
Location: Netherlands
Posted: 22nd Dec 2003 00:21
hi guys
im programming my first shooter which is based off the tutorial in DBPro, but i have a problem with scancode.
I wanted to use the traditional WASD key controls for movement, but when i use scancode eg:



for pressing W theres the problem that i can only press ONE of the keys W,A,S, or D. How do i get individual key movement? and dont tell me use the arrowkeys, i want to use the WASD keys

thx for any help you can give me
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 22nd Dec 2003 02:10
look at manual for KEYSTATE function.

-RUST-

VB.NET makes me all goose-pimply!
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 22nd Dec 2003 02:11
and here is an example since the rustler just beat me to it

CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 22nd Dec 2003 04:49


-RUST-

VB.NET makes me all goose-pimply!
Casper
21
Years of Service
User Offline
Joined: 8th Mar 2003
Location: Netherlands
Posted: 22nd Dec 2003 19:51
.... wow.. keystate rox
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 22nd Dec 2003 20:41


-RUST-

VB.NET makes me all goose-pimply!

Login to post a reply

Server time is: 2024-09-21 15:16:30
Your offset time is: 2024-09-21 15:16:30