Is it possible to detect a user's platform?

Get help using Construct 2

Post » Fri May 16, 2014 12:02 am

Either through html or the game itself. The client I'm working with is having issues running different versions of our game on their site. Letterbox scale seems to be better for desktop and integer scale works better for iPad and android. Neither seem to be working for iPhones. You guys have any ideas on how I can dynamically handle this? Is it possible to display different iframe content for desktop and mobile? And even further, is it possible to distinguish between iPad and iPhone?
B
5
Posts: 26
Reputation: 977

Post » Fri May 16, 2014 12:37 am

I found how to do it in C2. Browser.platform was what I was looking for.
B
5
Posts: 26
Reputation: 977


Return to How do I....?

Who is online

Users browsing this forum: Anna Nehves Br, divsyntax, volumetv and 14 guests