CoffeeCoder wrote:I am brand-new to LOVE, and Lua as well. However, I have found it to be ridiculously easy to learn, and I can't wait to really start getting my hands dirty with it.
Thanks again for all the links to resources guys, this is awesome. I am quickly getting up-to-par with Lua! I actually really love how you use tables, it really reminds me of user-defined types in something like DarkBASIC, but I find the syntax much easier to use. For example:
Thing is, you do not need to declare table fields in Lua. Unless you give them a value. Otherwise, they will be nil.
But actually, if you are fine with that, no problem. I've seen some people use this style, since they consider it is a good way to show what is likely to be the contents of a table.
Thing is, you do not need to declare table fields in Lua. Unless you give them a value. Otherwise, they will be nil.
But actually, if you are fine with that, no problem. I've seen some people use this style, since they consider it is a good way to show what is likely to be the contents of a table.
No I did not know that, a good handy tip! Although in other languages I am very used to declaring the "fields" of a data structure so I just naturally assumed it had to be done this way in Lua as well. Once in a while* I am wrong!
Hey, another question, I am currently running LOVE on my iMac and was wondering what other IDEs besides Sublime might work? Sublime is GREAT but I don't want to pay $70 for it.
EDIT: Ok I seriously am considering paying for it. Just discovered distraction free mode. This...this may truly be the best code editor I have come across in a long long time. Although I do like Notepad++ better in some regards.
*More like 99.997% of the time I am wrong, actually.
- CoffeeCoder
Visit my site to learn more about me!