Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Lua Framework [Confirmed: works in iOS!]

Discussion in 'Assets and Asset Store' started by georgesdimitrov, Feb 23, 2015.

  1. digimon_thunder

    digimon_thunder

    Joined:
    Nov 18, 2016
    Posts:
    4
    Hi,
    Am thinking of using Moonsharp with Unity to build games for iOS. Happen to know about iOS issues with release version. Can I go ahead using it or should i drop using Lua for Unity. Please help
     
  2. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    8,937
    i'm using the current release in app that is published to android and ios, moonsharp works fine on both. (in released versions)

    only issue that i had was that i needed to disable '[ ] enable bitcode', when building/uploading to appstore.
     
    digimon_thunder likes this.
  3. digimon_thunder

    digimon_thunder

    Joined:
    Nov 18, 2016
    Posts:
    4
    Thanks for sharing this feedback. You gave me a reason to continue with Lua.
     
  4. digimon_thunder

    digimon_thunder

    Joined:
    Nov 18, 2016
    Posts:
    4
    I have one question, have you tried enabling bitcode and publishing the app. I intend to keep the bit code enabled for my app. Kindly share your thoughts about it.
     
  5. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    8,937
    tried but it doesnt work, apparently apple does some optimizations/re-compiles your app if bitcode is enabled,
    and then moonsharp gets stripped out.

    maybe there are ways to avoid that, but haven't had time to investigate.. (i already use the link.xml file that should avoid some stripping with il2cpp, but i guess it doesnt help with apple)
     
  6. digimon_thunder

    digimon_thunder

    Joined:
    Nov 18, 2016
    Posts:
    4
    Thanks a lot mgear. May i know the Game you developed using MoonSharp.
     
  7. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    8,937
  8. stephanepi

    stephanepi

    Joined:
    Jun 3, 2016
    Posts:
    1
    I'm planning a programing tank game (think a simplified robocode) for mobiles and steam platform. Could this asset fit for this purpose ? Does the dev is still available ?

    Thank for your help.
     
  9. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    8,937
    last update is almost 2 years ago.. so i'd check the github issues list/pull request first.
    there is risk that something breaks from any coming unity or appstore/google play updates/requirements..

    if you are looking for something simpler to setup and work with, id try this
    https://forum.unity.com/threads/miniscript-lightweight-scripting-language-for-your-game.373853/
     
  10. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    8,937
  11. A4L

    A4L

    Joined:
    Nov 26, 2018
    Posts:
    13
    Dose this mean I can simply use standard LUA code in unity in stead of c# code?... but as far as integration into unity the LUA scripts act exactly the same?
     
  12. Lurking-Ninja

    Lurking-Ninja

    Joined:
    Jan 20, 2015
    Posts:
    9,868
    No. It does not mean that. It only means that you can incorporate a LUA interpreter into your application so you can build games which can be modded.
    You still need to write your application in C# and you have to provide all the underlying code in it, even for the LUA interface.
     
    A4L likes this.