Construct 3 r306

You're viewing a single comment in a conversation. View all the comments
  • 2 Comments

  • Order by
  • Hello,

    I'm creating a platform game and I use the "is on mobile device" to identify if the game is being played on desktops or mobiles. I noticed that it is not being detected on tablets, only on smartphones. This started happening after the last few updates. Could you explain to me what happened?

      • [-] [+]
      • 1
      • Ashley's avatar
      • Ashley
      • Construct Team Founder
      • 1 points
      • (0 children)

      I would avoid using "is on mobile device". Some devices like iPads simply lie about what kind of device they are (pretending to be a macOS desktop). The definition of "mobile" is unclear too. Is a tablet with a keyboard and mouse attached a mobile or a desktop style device? It depends on the usage. You shouldn't need to rely on the classification anyway.