Here is the main.lua (although the .love is also attached to this post):
Code: Select all
function love.load()
v = {500,300, 400,300, 400,400, 300,300, 400,200}
end
function love.draw()
love.graphics.setColor(100, 100, 100)
love.graphics.polygon("fill", v)
love.graphics.setColor(255, 255, 0)
love.graphics.polygon("line", v)
end