|
| 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
|
  |
| 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
|
  |
| 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
|
  |
| 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
|
  |
| 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 |
|
|
|
| 05 Oct 2016 08:13 AM |
| ############################################################################################################################################### |
|
|
| Report Abuse |
|
|
|
| 05 Oct 2016 08:14 AM |
api . roblox . com /reference/deviceinfo |
|
|
| Report Abuse |
|
|
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
|
  |
| 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
|
  |
| 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
|
  |
| 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 |
|
|
|
| 05 Oct 2016 10:20 PM |
Thanks for replies.
#code while true do end |
|
|
| Report Abuse |
|
|