Created
April 14, 2016 13:37
-
-
Save darmie/db4329925ffe826276369a96654f4214 to your computer and use it in GitHub Desktop.
Love2D code snippet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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