From d275e315a7bbea781305080b9eaad1cfff9676d5 Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 15 Jan 2017 20:22:38 +0100 Subject: Added awesome two --- config/menumain.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'config') diff --git a/config/menumain.lua b/config/menumain.lua index e312b51..50b3d56 100644 --- a/config/menumain.lua +++ b/config/menumain.lua @@ -7,6 +7,8 @@ local element = require "element" local width, height = love.graphics.getWidth()/getScale(), love.graphics.getHeight()/getScale() local bx = width/2-29 +local awesometwo = love.graphics.newImage("assets/two.png") + return { button:new(menu) :setText("Start") @@ -47,8 +49,7 @@ return { local x,y = self:getPosition() love.graphics.setColor(255, 255, 255, 255) love.graphics.setFont(Bold) - love.graphics.print("1", (x-17)*scale, y*scale, 0, scale*2, scale*2, 12) - love.graphics.print("1", (x+13)*scale, y*scale, 0, scale*2, scale*2, 12) + love.graphics.draw(awesometwo, x*scale, y*scale, 0, scale, scale, 35) end) , header:new(menu) -- cgit v1.1