Re: [Plib-users] Don't Do This!
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2002-01-15 01:40:39
|
Adam Seyfarth wrote: > I've been thinking about this for a while, and as far as I can > tell, this should work in all situations, except if a person tries to go > north, south, and east or west at the same time, which shouldn't happen > unless a player is really discombobulated: > > Player 1: MoveNorth = 2, MoveSouth = W, MoveEast = E, MoveWest = Q > Jump = 5, Fire = G > Player 2: MoveNorth = 0, MoveSouth = P, MoveEast = [, MoveWest = O > Jump = 8, Fire = M Yes - that's not a bad set - I've been using: Player 1: MoveNorth = 2, MoveSouth = W, MoveEast = 3, MoveWest = 1 Jump = Q, Fire = E (With other moves mapped to 4/5/R/T) Player 2: MoveNorth = J, MoveSouth = M, MoveEast = K, MoveWest = H Jump = N, Fire = < (With other moves mapped to L/;/>/? ...and I've given up on the idea of four players. Because one player is confined to the top two rows and the other to the bottom two, they can't interfere with each other. They *can* lock themselves out of some keys (eg Jumping or shooting whilst moving South-East or South-West is bad). I think your combo avoids that - but it hurts my head to try to prove it! I have one of those sexy split keyboards (try one if you havn't - you'll never go back once you're used to it) - and this mapping works out nicely with each player confined to two rows and all the columns on one side of the split. The *ultra* bad news is that I have definite evidence that some PC keyboards are scanned differently from others so there probably isn't a bullet-proof combination that'll work for everyone. One of our no-name keyboards at work has Y,H,N and T,G,B on the same column scan and another has Y,H,N sharing with Q,A,Z - so I think I'm basically *doomed*. I'm just going to document what I know and make the keyboard controls completely programmable. ----------------------------- Steve Baker ------------------------------- Mail : <sjb...@ai...> WorkMail: <sj...@li...> URLs : http://www.sjbaker.org http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://prettypoly.sf.net http://freeglut.sf.net http://toobular.sf.net http://lodestone.sf.net |