summaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2017-01-15 20:22:38 +0100
committerAki <nthirtyone@gmail.com>2017-01-15 20:22:38 +0100
commitd275e315a7bbea781305080b9eaad1cfff9676d5 (patch)
treec22a043a7b400f5acdc72a8b2209395a187d2211 /config
parent7e3c59eb7d0c7affca6d3bdc2702faba93fe9705 (diff)
downloadroflnauts-d275e315a7bbea781305080b9eaad1cfff9676d5.zip
roflnauts-d275e315a7bbea781305080b9eaad1cfff9676d5.tar.gz
roflnauts-d275e315a7bbea781305080b9eaad1cfff9676d5.tar.bz2
Added awesome two
Diffstat (limited to 'config')
-rw-r--r--config/menumain.lua5
1 files changed, 3 insertions, 2 deletions
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)