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 / binding keys

Author
Message
Dark Wolf
21
Years of Service
User Offline
Joined: 21st Apr 2003
Location: Shadows
Posted: 22nd Apr 2003 04:36
ok i am trying to learn the code to bind a key like if they press the key it wont do anything for ex: esc wont quit the game if you can help plz tell me how
Armeggadon
21
Years of Service
User Offline
Joined: 10th Apr 2003
Location: United States
Posted: 22nd Apr 2003 05:03
the only way is by telling the escape key to do something other than exit the app. i wouls kind of also like to know this so i could press escape and have my menu come up

Current Status: small FPS project for a friend(if it looks good in the end may become a demo)
I consider myself: newb
CloseToPerfect
21
Years of Service
User Offline
Joined: 20th Dec 2002
Location: United States
Posted: 22nd Apr 2003 05:07
disable escape key
if escape key() = 1 then (you function here)

Login to post a reply

Server time is: 2024-11-24 10:43:41
Your offset time is: 2024-11-24 10:43:41