Löve
From FrugalWiki
i18n |
---|
English |
Dansk |
Français |
Magyar |
Contents |
Löve
LÖVE is a framework for making 2D games in the Lua programming language and SDL for the gui. LÖVE is totally free, and can be used in anything from friendly open-source hobby projects, to evil, closed-source commercial ones. LÖVE has also a physical module based of Box2d, to create, to detect and to manage collisions between objects and to simulate realistic physical effects. LÖVE is published with zlib licence.
Installation
Load a game
LÖVE can load a game in two ways :
This command run the game which is in foo.love (zip file rename).
This command run the game from pathtogame if this folder contain the file main.lua.
Example : Hello world
Create a folder which contain the file main.lua and add this lines with your favorite editor :
function love.draw() love.graphics.print("Hello World", 400, 300) end
Run the love command with folder name and enjoy.