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.

3 Dimensional Chat / Getting 2 player controls working

Author
Message
Fusion
21
Years of Service
User Offline
Joined: 1st Dec 2002
Location: UK
Posted: 1st Dec 2002 14:33
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.
Mind Storm 101
21
Years of Service
User Offline
Joined: 1st Dec 2002
Location: Excaping the Gates of Heaven
Posted: 1st Dec 2002 23:37
Try using keystate() instead of whatever your using...
-Mind Storm 101

___________________________
"The point of war is not to die for your country its to make the other bastard die for his."

John H
Retired Moderator
21
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 2nd Dec 2002 04:37
Well, record each of the planes position as a variable, for instance

x#= object position x(x)

then use INC and DEC to change the x value according to the numbers.

Current - RPG: Eternal Destiny : Help Wanted!
Upcoming- MMOFPS- Paintball Game: HELP WANTED!
Http://halbrosproductions.netfirms.com

Login to post a reply

Server time is: 2024-04-19 17:48:04
Your offset time is: 2024-04-19 17:48:04