love2d-tutorial-runner/steps/1_hello/main.lua

14 lines
243 B
Lua
Raw Normal View History

2018-05-13 22:05:48 +02:00
function love.load()
love.window.setMode(800, 480)
end
function love.draw()
love.graphics.print('Hola a todos!!', 400 , 200)
end
function love.keypressed(key, scancode, isrepeat)
if key == 'escape' then
love.event.push('quit')
end
end