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.

Dark GDK / Keystate?

Author
Message
Fps n00b
15
Years of Service
User Offline
Joined: 24th Apr 2009
Location:
Posted: 12th Sep 2009 14:57
I am new to GDK and know darkbasic pro. When I used the "keystate" to move the camera it doesn't work. What do you use in GDK? (other than the "dbupkey ()." Thanks.
Lilith
16
Years of Service
User Offline
Joined: 12th Feb 2008
Location: Dallas, TX
Posted: 12th Sep 2009 19:16
I'm not big on 3D but maybe, according to the documentation

void dbControlCameraUsingArrowKeys ( int iCamera, float fMove, float fTurn )

Just pressing the up key wouldn't do anything unless you told it to do something when you detect the key is pressed. If this is what you're doing then you really need to post the code you're using so we can see what you're doing wrong.

Lilith, Night Butterfly
I'm not a programmer but I play one in the office
BearCDP
15
Years of Service
User Offline
Joined: 7th Sep 2009
Location: NYC
Posted: 12th Sep 2009 20:14
How are you using dbKeyState?

Login to post a reply

Server time is: 2024-11-20 15:26:03
Your offset time is: 2024-11-20 15:26:03