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: Device Identification

Previous Thread :: Next Thread 
climethestair is online. climethestair
Joined: 01 Mar 2011
Total Posts: 133
04 Oct 2016 10:28 PM
How do you determine what type of device someone is using (computer, console, tablet, phone)? This there some hidden value that you can read through a script?


#code while true do end
Report Abuse
KreoBox is not online. KreoBox
Joined: 24 Aug 2016
Total Posts: 356
04 Oct 2016 10:51 PM
Nope. If you want a different version of the game for different devices you have to make separate games and only allow said device to play it.
Report Abuse
gskw is not online. gskw
Joined: 05 Jan 2013
Total Posts: 1364
04 Oct 2016 11:56 PM
You can try checking their screen size from Camera.ViewportSize. I think this is what Roblox does.
Report Abuse
Wowgnomes is not online. Wowgnomes
Joined: 27 Sep 2009
Total Posts: 26255
04 Oct 2016 11:56 PM
Roblox has access to actually check, we do not.

Use a combination of screen size, touch enabled, motion, in order to get device.


Report Abuse
KreoBox is not online. KreoBox
Joined: 24 Aug 2016
Total Posts: 356
05 Oct 2016 02:00 AM
That doesn't work in any case.

Touch screens are not restricted to mobile devices, hard keyboards are not limited to desktops/laptops, etc.
Screen sizes vary massively, and mobile devices are getting bigger and bigger.
Report Abuse
CodeBreadpudding is not online. CodeBreadpudding
Joined: 24 Aug 2016
Total Posts: 1286
05 Oct 2016 08:13 AM
###############################################################################################################################################
Report Abuse
CodeBreadpudding is not online. CodeBreadpudding
Joined: 24 Aug 2016
Total Posts: 1286
05 Oct 2016 08:14 AM
api
.
roblox
.
com
/reference/deviceinfo
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
05 Oct 2016 09:38 AM
Every device has a physical mac address on their network card.


Report Abuse
Wowgnomes is not online. Wowgnomes
Joined: 27 Sep 2009
Total Posts: 26255
05 Oct 2016 10:24 AM
Kreo, using the size of a device, touch enabled, keyboard enabled, mouse, and motion enabled it can be very easy to determine the device with high accuracy.

A desktop is goign ot be larger then a mobile, a mobile is going to be smaller then a tablet. A xbox is going to have very specific inputs


Report Abuse
KreoBox is not online. KreoBox
Joined: 24 Aug 2016
Total Posts: 356
05 Oct 2016 01:46 PM
"Kreo, using the size of a device, touch enabled, keyboard enabled, mouse, and motion enabled it can be very easy to determine the device with high accuracy."

I can:
1. Use a hard keyboard on my phone.
2. Use a touchscreen monitor. I happen to be using one right now.
3. Use a mouse on my phone.


"A desktop is goign ot be larger then a mobile, a mobile is going to be smaller then a tablet."

Nope. For one there are laptops smaller than tablets.


"A xbox is going to have very specific inputs"

And exactly what inputs are you thinking of? The controller? There is no guarantee that it will be used on the intended device.
Report Abuse
Wowgnomes is not online. Wowgnomes
Joined: 27 Sep 2009
Total Posts: 26255
05 Oct 2016 01:55 PM
' "Kreo, using the size of a device, touch enabled, keyboard enabled, mouse, and motion enabled it can be very easy to determine the device with high accuracy."
I can:
1. Use a hard keyboard on my phone.
2. Use a touchscreen monitor. I happen to be using one right now.
3. Use a mouse on my phone.
"A desktop is goign ot be larger then a mobile, a mobile is going to be smaller then a tablet."
Nope. For one there are laptops smaller than tablets.'

Did I ever say a laptop is going to be bigger then a tablet?
Just because it's possible to 'trick' the recognition software does not mean it is without merit, 99.99% of the people that play roblox use a standard configuration.


"A xbox is going to have very specific inputs"
And exactly what inputs are you thinking of? The controller? There is no guarantee that it will be used on the intended device."

The vast majority of people that use a controller to play roblox are playing on a console, and even if they weren't, if you set up your ui to be controller friendly there is no problem.




Report Abuse
climethestair is online. climethestair
Joined: 01 Mar 2011
Total Posts: 133
05 Oct 2016 10:20 PM
Thanks for replies.


#code while true do end
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