Detecting platform in LUA

  • #1, by trepnMonday, 19. February 2018, 23:16 6 years ago
    Is it possible to detect the running environment in LUA? I would like to use a larger font when my game is played on mobile devices to make it easier to press dialog options.

    Newbie

    60 Posts


  • #2, by sebastianTuesday, 20. February 2018, 00:02 6 years ago
    Is it possible to detect the running environment in LUA? I would like to use a larger font when my game is played on mobile devides to make it easier to press dialog options.

    Hello trepn,

    there is a lua function "getProperty" where you can "ask" about different system environment depending data:



    Thread Captain

    2346 Posts

  • #3, by trepnTuesday, 20. February 2018, 10:40 6 years ago
    Awesome, tnx Sebastian!

    Newbie

    60 Posts