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 / Questions About Keys. Someone Help!

Author
Message
Newbie Brogo
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: In a Pool of Cats
Posted: 12th Jul 2003 04:06
What are commands for keys?
such as if spacekey()=1 then blahblah
or mouseclick()=1 then blahblah
i know leftkey, upkey, downkey, rightkey, spacekey, and mouseclick
r there any others???
like if bkey()=1 then blah blah???
plz help me out, yes i am new(note the name )
Halozane Future Owner.
MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 12th Jul 2003 04:15
If you're using pro(which I use)just go to the help and search for camera control, and object control.

http://www.darkbasic.com/create.php?f=3d_tutorials_index.php

This would be a good link for you Newbie Brogo.



Yellow:Wanna publish my game microsoft, cuz i no u rich so...Can I have my bag of money now?
Microsoft: *snicker* Tip of the month-Microsoft will never(probebly) publish your game.
Carlitos
21
Years of Service
User Offline
Joined: 8th Jul 2003
Location: United States
Posted: 12th Jul 2003 05:23
OK, if your using DB(not pro) go to HELP/EXAMPLES/INPUT/KEYBOARD CONTROLS. Basically what you do is IF SCACNCODE() = # blahblah"
Each and every key has a scancode, which is a value you use to call on that key.

EXAMPLE- if you want to use b just type IF SCANCODE() = 48

if you have any other questions just post or email me Flyingmonkeyc@yahoo.com
Eric T
21
Years of Service
User Offline
Joined: 7th Apr 2003
Location: My location is where I am at this time.
Posted: 12th Jul 2003 05:29
[/href]http://www.darkbasicpro.com/apollo/view.php?t=13202&b=10[href]

this has been answered today

Opinions are like a$$holes, Everybody has one.

Login to post a reply

Server time is: 2024-09-20 15:48:06
Your offset time is: 2024-09-20 15:48:06