summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--assets/two.pngbin0 -> 434 bytes
-rw-r--r--config/menumain.lua5
2 files changed, 3 insertions, 2 deletions
diff --git a/assets/two.png b/assets/two.png
new file mode 100644
index 0000000..59d1596
--- /dev/null
+++ b/assets/two.png
Binary files differ
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)