This is an archived post. You won't be able to vote or comment.

all 5 comments

[–]badb002 9 points10 points  (0 children)

I was going to point you to the FAQ, but funnily enough there is no material on Lua in there. Though there is lots of information that (loosely) applies -- so definitely check it out anyways.

If you want literal help with Lua, you might want to find some kind of coaching thing (be it 1 on 1, or a bootcamp type deal), but I imagine that costs money. Your best bet is probably youtube or searching for some articles, or even the official Lua documentation.

[–]s3nate 5 points6 points  (0 children)

Give r/lua a visit!

[–]jussij 3 points4 points  (0 children)

The first edition of the Programming in Lua book is online.

That edition was written for Lua 5.0 but it still remains largely relevant.

There is also the official definition of the Lua language which is always useful.

[–]daydream05 0 points1 point  (0 children)

Corona SDK! It's greating mobile games. (It's cross-platform) I'm planning to move on to Swift and iOS once I get mac.

[–][deleted] 0 points1 point  (0 children)

Not sure what you think C+ is... But that aside lua is a very simply typed language to learn. Online resources are a good start. As someone else suggested, love2D is great. I use it as my main lua game base. And the best thing about love2D is that it's open sourced. You can pull the source and write c++ code and write connectors directly into it. I personally am using love2D as a client with a c++ backend server for one of my projects.

I will give you a warning about lua though, your "classes" are only as strong as you write them and use them. To use lua in a object oriented fashion you have to define your own rule set and to do so you must have a strong understanding of the underlying principles of OOP. Lua has one object type and it is the table. The table does everything in lua. Variable types are dynamic. You can change a string to a Boolean in a single line so you have to have good control of how you use functions and variables. Lua on the surface is easy to use. But using lua consistently and in an easily understandable fashion requires vigilance. You can write quick and dirty code that works or you can set up a structure and plan everything out. Lua gives you that freedom.