"is on mobile device" question

0 favourites
  • 3 posts
From the Asset Store
A simple fun and stylish endless scroller game ready to be customized and published.
  • 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"

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • 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.

  • lol wow I feel so stupid thx by the way!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)