Download LÖVE from
http://love2d.org and install.
Create a new directory somewhere, and create two files:
- main.lua - main file containing the game code.
- game.conf - optional (but recommended) support file that contains info about your game.
Write the following into the game.conf file:
author = "Your Name"
title = "My Awesome Game"
And write the following into the main.lua file:
function load()
font = love.graphics.newFont(love.default_font, 12)
love.graphics.setFont(font)
message = "Yharrr, Why hello thaarrrr!"
end
function draw()
love.graphics.draw(message, 100, 100)
end
After saving, simply drag the directory you created onto the executable
(Windows: love.exe), and the the game will start. You should see your
message on the screen.