Help me with LUA

General Mar0 discussion has been moved to this subforum!
Post Reply
User avatar
Drax47
Posts: 6
Joined: 01 May 2017, 13:34
Contact:

Post » 07 May 2017, 12:54

So I've heard that the mods and Mari0 itself have been created with lua, and I have some questions:

Nr.1: Where can I learn Lua easily ?

Nr.2: What software would you recommend to work with it ?

Nr.3: How hard is it to learn/work with lua ?

User avatar
Technochips
Posts: 608
Joined: 12 Mar 2015, 16:05
Contact:

Post » 07 May 2017, 13:13

1. You can look around the web for Lua tutorials. If you have any programming language knowledge, it's pretty easy to learn.
2. Notepad++/Sublime Text or any text editor actually. There isn't really any IDE for a such language.
3. Easy for small and simple projects, but it depends on the framework and complexity of the project.

You can get Mari0's source code by getting the .love file, renaming it into a .zip file, and then unzipping it. You should see a ton of .lua files and folders, and they are all editable. Once you finished a change, zip the files back into a .love file, and run it.

Mari0 uses a Lua engine called LOVE2D, and so you should check its documentation on the website.

User avatar
Qwerbey
Posts: 1280
Joined: 05 Oct 2012, 07:58
Contact:

Post » 09 May 2017, 07:20


Post Reply