[quote] [quote=“Programmix” post=189585]I think what we should have is UserInputService.Platform
It doesn’t have to be anything specific, like “OS X” or “Windows 10”, just an enum of some simple things, like:
[quote] [quote=“CyberHusky88” post=189607][quote=“Programmix” post=189585]I think what we should have is UserInputService.Platform
It doesn’t have to be anything specific, like “OS X” or “Windows 10”, just an enum of some simple things, like:
Nick, knowing the platform people are using has substantially more uses than pixel density:
-Demographics
-If I log user platforms, I might see Mac users disconnecting 50% more than PC users. Is there a platform-specific bug that’s causing the issue?
-Should I use the Mac color picker or the Windows color picker for this plugin? Mac users would obviously be more comfortable using a color picker like the default Mac one, and likewise Windows users would be more comfortable using theirs
-For keyboard shortcut customization in my game, should I show a Windows keyboard, a Mac keyboard, a tablet screen with thumbsticks, or a phone screen with thumbsticks?
-Some users say that they aren’t able to buy crops, but you check it out and it’s fine. You look at the platforms those people were using and see they were all using tablets, which you forgot to test the UI on and the shop button is off of the screen
User platform is definitely something we should be able to discern, and without having to use elaborate workarounds which might not hold true in a later update at that.
Yeah if you consider making a mobile game at all to be very circumstantial. Understanding your platform is not just useful for knowing hardware limitations. I want to take analytics to learn which market I need to target. I want to know if I should be showing the user a picture of a phone or a tablet when I show my tutorial gui.
I don’t understand how people are failing to see the hole we’re digging ourselves into by using TouchEnabled to detect mobile. Some day some fancy new device will come out that roblox wants to support but it will have nasty conflicts with TouchEnabled. This is inevitable. In fact it has already happened. Enabling touch on touch monitors is already out of the question because games would start behaving as if they were being played on mobile.
I’m just confused on why everyone is complaining about needed platform detection and then asking for vague and unhelpful information. If you want information in the user’s platform, get information on their specific device or down to their specific OS. Knowing android versus iOS can be useful but you want to know if it’s an iPad or iPad Mini. Knowing between iPhone 6 and iPhone 6 plus could make a world of differance in your stuff. I’m not sure why knowing “Phone” versus “Tablet” would be that helpful.
Typically issues do arise more based on OS than extreme specifics (in my experience). However, if there was a separate method call that would just collect a bunch of device information, that would be cool too.