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.

DarkBASIC Discussion / Getting 2 player controls to work

Author
Message
Fusion
21
Years of Service
User Offline
Joined: 1st Dec 2002
Location: UK
Posted: 1st Dec 2002 14:39
Hi, i am REALLY stuck. I am making a 2 player game, and cannot get the 2 planes on screen to move at the same time. The controls are on keyboard. What happens is that controlling either plane independatly will work 100%, if 2 keys are pressed at the same time then only 1 will have any effect. my only thought is to put all controls into one line of code so that any movement will be carried out at the exact time? I HAVE NO IDEA WHAT TO DO!!!! please contact me if you can help me, or would like to see my code.
korn_kiddywink@hotmail.com
thanks marcus.
Luke
21
Years of Service
User Offline
Joined: 29th Aug 2002
Location: United States
Posted: 2nd Dec 2002 05:24
use keystate()

www.CyberLuke.com

Login to post a reply

Server time is: 2024-03-28 09:14:48
Your offset time is: 2024-03-28 09:14:48