W3cubDocs

/LÖVE

LÖVE

Welcome

As you probably know by now, LÖVE is a framework for making 2D games in the Lua programming language. LÖVE is totally free, and can be used in anything from friendly open-source hobby projects, to evil, closed-source commercial ones.

Some interesting places to go from here:

If you want to read this wiki without an internet connection, you can download a weekly generated package for offline viewing here.

Lua

Never used Lua before? It's a really cool language! This manual won't teach you Lua, but fortunately there are other good resources for that.

Hello World

This is the full source for 'hello world' in LÖVE. Running this code will cause an 800 by 600 window to appear, and display white text on a black background.

function love.draw()
    love.graphics.print('Hello World!', 400, 300)
end

© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/Main_Page