generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Arrow Keys of WSAD?

Previous Thread :: Next Thread 
Quenty is not online. 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 is not online. TheMyrco
Joined: 13 Aug 2011
Total Posts: 15105
07 Apr 2012 06:52 PM
Q_Q
Report Abuse
ArceusInator is not online. ArceusInator
Joined: 10 Oct 2009
Total Posts: 30553
07 Apr 2012 06:52 PM
Idea: Let people bind their own keys to whatever controls they want.
Report Abuse
JulienDethurens is not online. JulienDethurens
Joined: 11 Jun 2009
Total Posts: 11046
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 is not online. 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 is not online. 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 is not online. 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
ArceusInator is not online. ArceusInator
Joined: 10 Oct 2009
Total Posts: 30553
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 is not online. 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 is not online. miloguy
Joined: 19 Dec 2009
Total Posts: 7702
07 Apr 2012 09:14 PM
Implement both, that way everyone is happy forever
Report Abuse
Radioaktiivinen is not online. Radioaktiivinen
Joined: 25 Apr 2009
Total Posts: 18629
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
meesterbean is not online. meesterbean
Joined: 27 Aug 2010
Total Posts: 1090
08 Apr 2012 11:26 PM
Mine work for both
Report Abuse
nate890 is not online. 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 is not online. 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
Brandonhare is not online. Brandonhare
Joined: 02 May 2007
Total Posts: 11005
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
Candymaniac is not online. Candymaniac
Joined: 08 Oct 2009
Total Posts: 8985
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 is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image