This tutorial is an introduction to Lua for beginners


What is Lua?

Lua is a scripting language that is used in Luxinia. When a lua script is loaded it is executed from start to end and any call you do is done immeaditly.


 print("this is my lua file") 


 this is my lua file

If you want to learn programming in lua, there are a few basic concepts (like above) that you need to learn.

Variables, Functions, Loops and Conditions

The most important thing when you programm are variables, functions, loops and conditions. Functions are pieces of code that you write that can be called. They can return then a value and the execution of your code is continued. The following pages explain this in more detail.

Organizing your code