Need some help with learning Lua

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
User avatar
ENTiTY01
Prole
Posts: 2
Joined: Sun Jun 14, 2015 8:16 pm
Location: Skopje

Need some help with learning Lua

Post by ENTiTY01 » Sun Jul 10, 2016 10:54 pm

Hello everyone,

I am here because I recently found out about LOVE, so I was interested in it, but I found out that it used Lua but I don't know how to program with Lua(I know other languages like C++ & C#) and I really like someone to point me at some link where I can learn Lua. I've heard it's not that hard but I can't find any good places to learn it.

Thanks in advance,
entity01
I became insane, with long intervals of horrible sanity.

User avatar
Jasoco
Inner party member
Posts: 3642
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: Need some help with learning Lua

Post by Jasoco » Sun Jul 10, 2016 11:48 pm

Google Lua.

Anything you need to know, just Google it. There's a lot of Lua help on the internet. It's pretty basic. No pun intended. Okay yes it was.

Also download some projects and look at its code. Teach yourself.

cval
Citizen
Posts: 58
Joined: Sun Apr 20, 2014 2:15 pm
Location: Ukraine

Re: Need some help with learning Lua

Post by cval » Mon Jul 11, 2016 7:28 pm

Well if you are fond of distant education approach, here is Lua's 101 which people are usually refer to from code-related keywords on Google. Not really a cookbook but its one of most comprehensive things on subject. Otherwise, you should query "lua basic tutorial" or something to dive into the deep of someone else's vision on programming guide with examples and whatnot. But i think in reality you are going to refer to first source anyway so its good to have it at your fingertips.

pedrosgali
Party member
Posts: 107
Joined: Wed Oct 15, 2014 5:00 pm
Location: Yorkshire, England

Re: Need some help with learning Lua

Post by pedrosgali » Mon Jul 11, 2016 7:36 pm

If you do already know a bit about programming I found this useful

Code: Select all

if not wearTheseGlasses() then
  chewing_on_trashcan = true
end

User avatar
ENTiTY01
Prole
Posts: 2
Joined: Sun Jun 14, 2015 8:16 pm
Location: Skopje

Re: Need some help with learning Lua

Post by ENTiTY01 » Wed Jul 13, 2016 8:48 am

Thank you all for your replies it helped me get started :D
I became insane, with long intervals of horrible sanity.

User avatar
Pangit
Party member
Posts: 148
Joined: Thu Jun 16, 2016 9:20 am

Re: Need some help with learning Lua

Post by Pangit » Wed Jul 13, 2016 9:15 am

]https://youtu.be/iMacxZQMPXs
I thought this was a good introduction. He covers a lot of material in a shallow way. You find something that interests you - you can trawl google and dig deeper.

User avatar
vrld
Party member
Posts: 917
Joined: Sun Apr 04, 2010 9:14 pm
Location: Germany
Contact:

Re: Need some help with learning Lua

Post by vrld » Thu Jul 14, 2016 11:38 am

The PIL teaches you everything there is to know about Lua and is (in my opinion) one of the best books about programming languages in general. It's a bit dense, but given that you already know other programming languages that should be no problem.
I have come here to chew bubblegum and kick ass... and I'm all out of bubblegum.

hump | HC | SUIT | moonshine

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests