loading...

re: 5 reasons you should learn Lua VIEW POST

TOP OF THREAD FULL DISCUSSION
re: I have for the 3rd time looked at Lua but this time with an open mind. I'm interested in webdev. I see LuaRocks and some JavaScript or C like famil...
 

Making a game love2d.org/wiki/Getting_Started is fun way to start. Or just start by making a small console app and getting that to work. That will help you feel out the flow of lua.

 

Very nice idea! Segway: what is the dotnotation in this function declaration function love.load().

Lua has 2 different type of notations. Since it's not an object oriented language, you can think of . like a class method, and : like an instance method. So love.load() vs love:load(). Lua basically determines what self is based on how you call the functions (if that makes sense)..

code of conduct - report abuse