my code so far is
Code: Select all
push:setupScreen(480, 320, width, height,{fullscreen = false}) --game resolution, window resolution, fullscreen
Code: Select all
function love.graphics.draw()
push:apply("start")
love.graphics.draw(background, 0, 0)
love.graphics.draw(buttonui, 480 / 2 - (buttonui:getWidth() / 2), 320 / 2 - (buttonui:getHeight() / 2))
love.graphics.setFont(font2)
love.graphics.print("PLAY", 480 / 2 - (buttonui:getWidth() / 2) + 20, 320 / 2 - (buttonui:getHeight() / 2) + 15)
love.graphics.setFont(font1)
push:apply("end")
end
i've even tried
Code: Select all
scale = love.window.getPixelScale()
function love.graphics.draw()
love.graphics.push()
love.graphics.scale(scale)
love.graphics.draw(background, 0, 0)
love.graphics.draw(buttonui, 480 / 2 - (buttonui:getWidth() / 2), 320 / 2 - (buttonui:getHeight() / 2))
love.graphics.setFont(font2)
love.graphics.print("PLAY", 480 / 2 - (buttonui:getWidth() / 2) + 20, 320 / 2 - (buttonui:getHeight() / 2) + 15)
love.graphics.setFont(font1)
love.graphics.pop()
end
any help would be greatly appreciated
heres the .love