"is on mobile device" question

Get help using Construct 2

Post » Thu Sep 17, 2015 3:47 pm

Does the "is on mobile device" event only mean smartphones or does it also mean for tablets also?

If you don't know what this event go to the event sheet, add event, system, and look for "is on mobile device"
B
17
S
4
Posts: 52
Reputation: 1,031

Post » Thu Sep 17, 2015 3:54 pm

Thank god for the manual!

Is on mobile device

Tries to detect whether the current device viewing the project is a mobile (e.g. phone or tablet). It is difficult to accurately detect this so detection may not be perfect: there may be some mobile systems for which Is on mobile is not true, and (although less likely) desktop systems for which Is on mobile returns true. The condition always returns true when packaged via the PhoneGap/Intel XDK/CocoonJS containers, and always returns true for iOS, Android, Blackberry 10, Windows Phone and Tizen based devices. Beyond that Construct 2 will test a few other common mobile manufacturers. Otherwise, it will return true if the current system is not a desktop system, since there are relatively few desktop OSs; the desktop systems it checks for are Windows, Linux, OS 9, OS X, Solaris and BSD.
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Thu Sep 17, 2015 4:45 pm

lol wow I feel so stupid thx by the way!
B
17
S
4
Posts: 52
Reputation: 1,031


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo and 18 guests