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: difference between userinputservice, keydown, and contextact

Previous Thread :: Next Thread 
bigboy77584 is not online. bigboy77584
Joined: 06 Jan 2009
Total Posts: 1003
13 Jun 2017 10:16 PM
and contextactionservice??


Report Abuse
Wunder_Wulfe is online. Wunder_Wulfe
Joined: 13 Sep 2016
Total Posts: 8356
13 Jun 2017 10:18 PM
contextaction service binds specific keys and buttons to a main receiver function
user input service binds to all _pressed, _changed and _ended events
keydown shouldnt be used nowadays
Report Abuse
Wunder_Wulfe is online. Wunder_Wulfe
Joined: 13 Sep 2016
Total Posts: 8356
13 Jun 2017 10:18 PM
can bind*
and each serves more than just those purposes
Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
13 Jun 2017 10:20 PM
One of them should not be used.

The differences between the others are well explained on their wiki pages.
Report Abuse
Wrathsong is online. Wrathsong
Joined: 05 Jul 2012
Total Posts: 22393
13 Jun 2017 10:22 PM
https://www.youtube.com/watch?v=NWx5XQbpHBU

https://www.youtube.com/watch?v=GHdZG1JfhvY

thought there was a wiki article on CAS vs UIS but I explain both of them here


Report Abuse
bigboy77584 is not online. bigboy77584
Joined: 06 Jan 2009
Total Posts: 1003
13 Jun 2017 10:36 PM
so in what instances would I use one over the other?? The only real difference I see is that ContextActionService binds specific inputs to specific code while UserInputService simply checks for a specific input and runs specific code. They seem redundant... Why do they both exist?


Report Abuse
Wrathsong is online. Wrathsong
Joined: 05 Jul 2012
Total Posts: 22393
13 Jun 2017 10:51 PM
CAS is primarily used for mobile/cross platform support. There are some things you can do with UIS that you can't with CAS and vice versa


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