I recently started playing around with Love2D for game development. Although I am completely new to Lua, so far it's been pretty fun and I really like it.
I created this post to write down the most important basic concepts that I have encountered so far, so that I can use as quick reference later.
Setting Up a Basic IDE
So far I've been using Love2D in Windows. Initially I started using Sublime Text 2 as my editor, but then figured out how to make my Love2D development experience much better using Atom combined with Github for Windows.
In Atom there is a great package called love-ide which has many great tools and features for developming with Love.
Some of these features include Lua linting, autocomplete, and being able to run the Love application right from Atom.
Working With Keyboard Keys
We can interact with user input through the keyboard by determining if a certain key has been pressed. This is done like this:
if love.keyboard.isDown("right") then -- ... end
||Down arrow key|