Basics
Download LÖVE from http://love.sf.net and install.
Create a new directory somewhere, and create two files:
And write the following into the main.lua file:
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.
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.
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.
Further reading
For more information, check out the tutorials.