Code: Select all
function love.draw()
local points = {0, 0, 250, 250, 0, 500}
love.graphics.polygon("line", points)
end
Code: Select all
function love.draw()
local points = {0, 0, 250, 250, 0, 500}
love.graphics.polygon("line", points)
end
Code: Select all
function aFunction(...)
local arg = {...}
love.graphics.print(arg[1] .. arg[2] .. arg[3])
end
function love.draw(dir, flags)
aFunction("Foo", "Bar", "123")
end