Detecting platform in LUA

  • #1, by trepnMonday, 19. February 2018, 23:16 2 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 2 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

    2331 Posts

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

    Newbie

    60 Posts

Write post