Skip to content

Commit

Permalink
Show version number in buttom right corner
Browse files Browse the repository at this point in the history
  • Loading branch information
TomK32 committed Dec 1, 2012
1 parent 01b33b5 commit ad0fa14
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@ function love.keypressed(key, unicode)
end

function love.draw()
love.graphics.setColor(0,0,0,255)
love.graphics.rectangle('fill', 0,0, love.graphics.getWidth(), love.graphics.getHeight())
love.graphics.clear()
gui_main:draw()
love.graphics.setColor(255,255,255,255)
love.graphics.setFont(love.graphics.newFont(14))
Expand All @@ -85,6 +84,9 @@ function love.draw()
else
love.graphics.print("FPS: "..love.timer.getFPS(), 10, 20)
end
love.graphics.setFont(love.graphics.newFont(10))
love.graphics.print(love.graphics.getCaption(), love.graphics.getWidth(), love.graphics.getHeight(), 0, 1, 1, 176, 14)
love.graphics.setFont(love.graphics.newFont(14))
end

function finishScreen()
Expand Down

0 comments on commit ad0fa14

Please sign in to comment.