New steps
This commit is contained in:
13
steps/1_hello/main.lua
Normal file
13
steps/1_hello/main.lua
Normal file
@ -0,0 +1,13 @@
|
||||
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
|
Reference in New Issue
Block a user