




http://love2d.org/
Well guys, i'm sorry for so Shop-on-the-couch starting of topic but seriously :D this engine can give you some advantage in lua, and can help you make some games.
Only minor problem i seen comparing with spring....*sigh* Again in game maker style there is Y axis going from top to bottom.
Code: Select all
|
|
--------|-------->x
|
|
V
Y
Anyway its great engine that's running smoothly - graphic's moving doesn't looks like stiffy, there is very adequate fps (210~ or so even with loads of particle systems), good, simple system of programing and speed debugging of your code.
Uh, there is small example of program that loads image of cookie and when lmb pressed cookie follows mousecursor
main.lua
Code: Select all
function love.load()
image = love.graphics.newImage("cake.png")
love.graphics.setBackgroundColor(255,255,255)
cakex=15
cakey=15
correctx=50
moving=false
end
function love.update(dt)
if moving==true then
cakex=love.mouse.getX( )-correctx
cakey=love.mouse.getY()-50
end
end
function love.mousepressed(x, y, button)
if button == 'l' then
moving=true
end
end
function love.mousereleased(x, y, button)
if button == 'l' then
moving=false
end
end
function love.keypressed(key, unicode)
if key == 'a' then
correctx=correctx+1
end
if key == 's' then
correctx=correctx-1
end
end
function love.draw()
love.graphics.draw(image, cakex, cakey)
end
http://www.opensource.org/licenses/zlib-license.php
which grants permission to makin' money from it.