Browser.Platform value list

Get help using Construct 2

Post » Wed Jan 11, 2012 7:17 pm

I Want to change some effects on my game if its running on mobile.
Using Browser.Platform seems to be the best way to detect mobile.

I wanted some values for most common platforms. Like Mac, Windows, Linux, iOS, Android. But I don't know what value they're going to return.
For Windows it returns Win32 (Maybe Win64 on 64bits OS).
I can check that for iphone(maybe ipod,ipad return different values), but and the other systems like Android, I don't own it, and don't know the exact return value.

Does anyone have the Browser.Platform values for most common systems?

thx
B
5
S
1
G
2
Posts: 44
Reputation: 1,470

Post » Wed Jan 11, 2012 7:32 pm

Look for browser UserAgent on google ;)
B
45
S
12
G
13
Posts: 628
Reputation: 10,506

Post » Wed Jan 11, 2012 7:40 pm

You can use Ashley's tip to detect input method.Kyatric2012-01-11 19:40:26
New to Construct ? Where to start



Image Image

Image Image



Please attach a capx to any help request or bug report !
Moderator
B
262
S
93
G
55
Posts: 7,151
Reputation: 67,071

Post » Wed Jan 11, 2012 9:48 pm

[QUOTE=Kyatric] You can use Ashley's tip to detect input method.[/QUOTE]

I was avoiding adding mouse support. But that's not a bad idea.
B
5
S
1
G
2
Posts: 44
Reputation: 1,470


Return to How do I....?

Who is online

Users browsing this forum: Phoenixbowman, Zion and 7 guests