summaryrefslogtreecommitdiffhomepage
path: root/menu.lua
diff options
context:
space:
mode:
Diffstat (limited to 'menu.lua')
-rw-r--r--menu.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/menu.lua b/menu.lua
index 9340881..5b0ade1 100644
--- a/menu.lua
+++ b/menu.lua
@@ -62,11 +62,16 @@ function Menu:draw()
end
local countdown, _ = math.modf(self.countdown)
local w, h = love.graphics.getWidth()/self.scale, love.graphics.getHeight()/self.scale
+ local scale = self.scale
if self.countdown < 6 then
love.graphics.setFont(Bold)
love.graphics.print(countdown,(w/2-6.5)*self.scale,(h/2+30)*self.scale,0,self.scale,self.scale)
love.graphics.setFont(Font)
end
+ -- header
+ love.graphics.setFont(Bold)
+ love.graphics.printf("ROFLNAUTS2",(w/2)*scale,(30)*scale,336,"center",0,scale/2,scale/2,168,12)
+ love.graphics.setFont(Font)
end
function Menu:update(dt)