Quenty
|
  |
| Joined: 03 Sep 2009 |
| Total Posts: 9316 |
|
|
| 07 Apr 2012 06:51 PM |
Which should my place me optimized for, and HOW DO YOU OPTIMIZE STUFF FOR ARROW KEYS?
Also, does anyone know the best way to include multiple keys into configuration or if stuff should be positioned differently due to the arrow key positions?
Also, what do you use? |
|
|
| Report Abuse |
|
|
TheMyrco
|
  |
| Joined: 13 Aug 2011 |
| Total Posts: 15105 |
|
| |
|
|
| 07 Apr 2012 06:52 PM |
| Idea: Let people bind their own keys to whatever controls they want. |
|
|
| Report Abuse |
|
|
|
| 07 Apr 2012 06:52 PM |
Both. Your place should work with both, because players are used to both.
Personally, I use WASD, but... that's just because it makes it easier for me because of the disposition of my keyboard. |
|
|
| Report Abuse |
|
|
nightname
|
  |
| Joined: 10 Jun 2008 |
| Total Posts: 8960 |
|
|
| 07 Apr 2012 06:58 PM |
WSAD for me. Mainly because I am right handed, and I prefer having the mouse in my right hand.
However, since I have a laptop, that shouldn't matter, but old habits die hard. |
|
|
| Report Abuse |
|
|
Quenty
|
  |
| Joined: 03 Sep 2009 |
| Total Posts: 9316 |
|
|
| 07 Apr 2012 07:00 PM |
The thing is, is I want certain shortcut keys for stuff. Current I plan on using Q/E, but that obviously doesn't work well for players using ↑↓→ ← ....
So.... How do I position stuff for the arrow keys? Do I have access to delete, page down, Maybe shift? |
|
|
| Report Abuse |
|
|
aboy5643
|
  |
| Joined: 08 Oct 2010 |
| Total Posts: 5458 |
|
|
| 07 Apr 2012 07:06 PM |
| Force them to use WASD as is the standard in nearly every game right now. The arrow keys have become deprecated :3 |
|
|
| Report Abuse |
|
|
|
| 07 Apr 2012 07:11 PM |
y u no
function onKeyDown(key) print(key) end
and then press whatever keys you need? |
|
|
| Report Abuse |
|
|
Quenty
|
  |
| Joined: 03 Sep 2009 |
| Total Posts: 9316 |
|
|
| 07 Apr 2012 08:10 PM |
Because I really wanted to know if people used WASD or arrow keys, but I had to make it look like I was asking a scripting question.
amirte? |
|
|
| Report Abuse |
|
|
miloguy
|
  |
| Joined: 19 Dec 2009 |
| Total Posts: 7702 |
|
|
| 07 Apr 2012 09:14 PM |
| Implement both, that way everyone is happy forever |
|
|
| Report Abuse |
|
|
|
| 08 Apr 2012 03:18 AM |
I dont like the person who decided to put the arrow keys to the right side and not add useful function buttons near them.
We need to fix the keyboard standard so that arrow keys would be as useful as wasd. move them to the left side and surround with function keys.
You should optimize for wasd or allow selecting which one to use. Only nubs use arrrows, so you should teach them to use wasd. |
|
|
| Report Abuse |
|
|
| |
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 09 Apr 2012 09:36 AM |
keyFunctions={ forward=function() --Move forward end; reverse=function() --Move backwards end; right=function() --Move right end; left=function() --Move left end }
keys={ [17]=keyFunctions.forward; [119]=keyFunctions.forward; [18]=keyFunctions.reverse; [115]=keyFunctions.reverse; [19]=keyFunctions.right; [100]=keyFunctions.right; [20]=keyFunctions.left; [97]=keyFunctions.left }
mouse.KeyDown:connect(function(key) if keys[key:byte()] then keys[key:byte]() end end)
is how I do it. |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 09 Apr 2012 09:41 AM |
wait no
if keys[key:lower():byte()] then keys[key:lower():byte]() end |
|
|
| Report Abuse |
|
|
|
| 09 Apr 2012 10:31 AM |
| If you need to use Q/E, it's perfectly fine to force them to use WASD. I'm sure people won't get that upset. Just be sure to tell them though. |
|
|
| Report Abuse |
|
|
|
| 09 Apr 2012 11:16 AM |
Quenty, in order to access special keys such as Shift, Backspace, Tab, Ctrl, Space, etc. You'll need bytecodes and use it in the :KeyDown().
"Knowledge talks, wisdom listens." |
|
|
| Report Abuse |
|
|
tomtomn00
|
  |
| Joined: 14 Apr 2010 |
| Total Posts: 27998 |
|
|
| 09 Apr 2012 01:51 PM |
Just use WASD, as I have broke my right-arrow-key. :/
--Tomtomn00 |
|
|
| Report Abuse |
|
|