Learning Lua

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
JSchilli1
Prole
Posts: 4
Joined: Sat Oct 20, 2012 6:02 pm

Learning Lua

Post by JSchilli1 »

0
Last edited by JSchilli1 on Thu May 02, 2019 4:22 pm, edited 1 time in total.
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: Learning Lua

Post by Nixola »

I learned how to code in Lua by reading at another person's script, for PSP's LuaPlayer, and I had no programming experience

(P.S: its code was readable, but awful)
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
JSchilli1
Prole
Posts: 4
Joined: Sat Oct 20, 2012 6:02 pm

Re: Learning Lua

Post by JSchilli1 »

0
Last edited by JSchilli1 on Thu May 02, 2019 4:22 pm, edited 1 time in total.
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: Learning Lua

Post by Nixola »

You could even use Notepad (but please, avoid it); just use the text editor you want (Don't say Office).
I like Notepad++, there's people who like Sublime Text, I use Scite or Gedit on Linux... You choose ;)
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
User avatar
Inny
Party member
Posts: 652
Joined: Fri Jan 30, 2009 3:41 am
Location: New York

Re: Learning Lua

Post by Inny »

Lua's a great language to learn for new programmers. I recommend you start by reading this free book, Programming In Lua, to get you started on all of Lua's features and how to use it. Then, when you feel like you can sling some good code, have a look through Love's Wiki, starting with the Tutorials. Good luck, and don't be afraid to ask questions.
JSchilli1
Prole
Posts: 4
Joined: Sat Oct 20, 2012 6:02 pm

Re: Learning Lua

Post by JSchilli1 »

0
Last edited by JSchilli1 on Thu May 02, 2019 4:22 pm, edited 1 time in total.
User avatar
T-Bone
Inner party member
Posts: 1492
Joined: Thu Jun 09, 2011 9:03 am

Re: Learning Lua

Post by T-Bone »

I learnt Lua by learning to use LÖVE, I think it works well that way. If you have some previous programming experience with any language, Lua will be pretty easy to get used to.

I highly recommend gedit as a text editor. It's very simple and doesn't try to do too much. Syntax highlighting and customizable quick commands is enough to begin with. It can also be a very powerful tool, but only if you want it to be.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests