×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Nov 2013
    Posts
    1

    How to use Lua scripting language in Windows Phone apps

    Hi,
    I'd like to use Lua scripting language in my planned Windows Phone 8 game, but I was unable to find any working and free library, that would work in C# project.
    I know you can download Lua source code in C, but unfortunately my knowledge on C is really low.

    Anyone knows working library or maybe NuGet package, that would just work without any manual C code compilation?

    Thanks!

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2013
    Location
    Dublin, Ireland
    Posts
    546

    Re: How to use Lua scripting language in Windows Phone apps

    You could have a look at Marmalade which can use Lua for game scripting...

    https://www.madewithmarmalade.com/offers/wp8

  3. #3
    Nokia Developer Champion
    Join Date
    Nov 2011
    Location
    la bouexiere, france
    Posts
    470

    Re: How to use Lua scripting language in Windows Phone apps

    Marmalade doesn't have an integration of LUA in C#. It propose a solution where you develop your game only with LUA (you can only make c/c++ plugin).

    Quickly on Google, i found this :
    http://nlua.org/
    Windows 8, Windows phone 8 or Nokia Asha developer? Go to DVLUP

  4. #4
    Nokia Developer Champion
    Join Date
    Feb 2013
    Location
    Dublin, Ireland
    Posts
    546

    Re: How to use Lua scripting language in Windows Phone apps

    Quote Originally Posted by yan_ View Post
    Marmalade doesn't have an integration of LUA in C#. It propose a solution where you develop your game only with LUA (you can only make c/c++ plugin).

    Quickly on Google, i found this :
    http://nlua.org/
    If you're not the best programmer in the world, than an SDK is a much better option (documentation, support, etc) than a library that may not have been used for any games in the Store.

    Also, Lua + C# on a PC might give you decent performance, but there's a very good reason that C++ is prefered on the phone.

  5. #5
    Nokia Developer Champion
    Join Date
    Nov 2011
    Location
    la bouexiere, france
    Posts
    470

    Re: How to use Lua scripting language in Windows Phone apps

    Quote Originally Posted by theothernt View Post
    If you're not the best programmer in the world, than an SDK is a much better option (documentation, support, etc) than a library that may not have been used for any games in the Store.
    If i understand, he develop a game in C# and want script it with LUA. You can't do it with marmalade. When you use Quick, you develop your application only with LUA (not c#or c++). And he want something free (marmalade is not free)

    Quote Originally Posted by theothernt View Post
    Also, Lua + C# on a PC might give you decent performance, but there's a very good reason that C++ is prefered on the phone.
    It's depend. Ngen is used on Windows Phone and Monogame or DXSharp seam have really good performance.
    Windows 8, Windows phone 8 or Nokia Asha developer? Go to DVLUP

  6. #6
    Nokia Developer Champion
    Join Date
    Feb 2013
    Location
    Dublin, Ireland
    Posts
    546

    Re: How to use Lua scripting language in Windows Phone apps

    Good points

Similar Threads

  1. Add new language to windows phone
    By Mohamed Mehanny in forum Windows Phone General
    Replies: 1
    Last Post: 2013-10-07, 19:14
  2. Windows Phone 7 Programing Language
    By v-6 in forum Windows Phone General
    Replies: 7
    Last Post: 2011-07-19, 07:37
  3. Python Scripting Language (PSP)
    By fortina in forum Mobile Web Server
    Replies: 6
    Last Post: 2007-02-20, 06:21
  4. xhtml and scripting language
    By bubbatls in forum Browsing and Mark-ups
    Replies: 1
    Last Post: 2003-07-23, 06:49
  5. What is the scripting language of XHTML?
    By rotopark in forum Browsing and Mark-ups
    Replies: 1
    Last Post: 2003-04-03, 12:47

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×