Detecting the mobile Platform

0 favourites
  • 3 posts
From the Asset Store
Wanting to do a Shot n Run game easily? Here is your chance!
  • Hello,

    I need to detect the platform of the mobile device.

    I tried using Browser.platform , but gettinig Linux ARMv7 instead of android ,may be that is because android is an os developed from linux family.

    Now i found that there is the system condition "is on Platform".

    This is working for Android by selecting "Android" from dropdown list.

    But for blackberry the dropdown menu "BlackBerry 10 App" is not detecting the platform, is that means the condition is true after packaging to blackberry?

    Thank You...

  • Hi. I did not try the mobile detection yet but I set mine to "is on node-webkit" to show a close button for win/mac/linux but it does not seem to work.

    Is on platform node-webkit > Closebutton Set Visible

    Else > Closebutton Set Invisible

    On Touch > Closebutton: Browser.Close

    /Update: It does not work in Node Webkit Preview and in the exported project. :(

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Did anyone else use this successfully? It seems I have to show the close button always until a workaround/fix is found.

    Did I miss something or is this a bug?

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