Skip to content

Instantly share code, notes, and snippets.

@adventureloop
Created April 18, 2013 19:01
Show Gist options
  • Save adventureloop/5415350 to your computer and use it in GitHub Desktop.
Save adventureloop/5415350 to your computer and use it in GitHub Desktop.
function love.draw()
love.graphics.clear()
love.graphics.reset()
love.graphics.setColor(255,0,0);
love.graphics.print('Hello world',200,200)
love.graphics.translate(150,210);
drawStuff()
end
function drawStuff()
love.graphics.push()
love.graphics.setColor(255,255,255);
love.graphics.line(0,0,200,0)
love.graphics.pop()
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment