Code: Select all
function love.draw()
love.graphics.setBackgroundColor(255, 255, 255)
love.graphics.setColor(255, 0, 255, 1)
love.graphics.polygon('fill', 100, 100, 200, 100, 150, 200)
end
But others only output white color:
Code: Select all
function love.draw()
love.graphics.setBackgroundColor(0, 0, 0)
love.graphics.setColor(45, 101, 150, 1)
love.graphics.polygon('fill', 100, 100, 200, 100, 150, 200)
end
Tested on Linux - elementary OS 0.4.1