examples/test_scene: make color less flashy

This commit is contained in:
Kazhnuz 2019-03-16 15:06:11 +01:00
parent 4c71e262bb
commit ba8a666e45

View file

@ -35,10 +35,10 @@ function TestScene:update(dt)
end end
function TestScene:draw() function TestScene:draw()
love.graphics.setColor(0, 0, 1, 1) love.graphics.setColor(0, 0, .4, 1)
love.graphics.rectangle("fill", 0, 0, 424, 240) love.graphics.rectangle("fill", 0, 0, 424, 240)
love.graphics.setColor(0, 0, 0, 1) love.graphics.setColor(1, 1, 1, 1)
love.graphics.print(math.floor(self.i) .. " ; " .. self.mouse.x .. ":" .. self.mouse.y, 16, 16) love.graphics.print(math.floor(self.i) .. " ; " .. self.mouse.x .. ":" .. self.mouse.y, 16, 16)
end end