Skip to content

Instantly share code, notes, and snippets.

@darmie
Created April 14, 2016 13:37
Show Gist options
  • Save darmie/db4329925ffe826276369a96654f4214 to your computer and use it in GitHub Desktop.
Save darmie/db4329925ffe826276369a96654f4214 to your computer and use it in GitHub Desktop.
Love2D code snippet
function love.load()
myfont = love.graphics.newFont(45)
love.graphics.setFont(myfont)
love.graphics.setColor(0, 0, 0, 225)
love.graphics.setBackgroundColor(225, 153, 0)
end
function love.update()
--we are not doing anything here yet :)
end
function love.draw()
love.graphics.print('Warrido!', 300, 400)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment