Test using API functions
This commit is contained in:
parent
f364f7082b
commit
6c95899ad0
|
@ -14,9 +14,9 @@ function love.load()
|
|||
require("cindy").applyPatch()
|
||||
_G.scr = love.graphics.newCanvas(256,240)
|
||||
love.graphics.setCanvas(scr)
|
||||
pal.setColor(10)
|
||||
love.graphics.rectangle("fill",0,0,5,5)
|
||||
love.graphics.setCanvas()
|
||||
local test = load("rectfill(0,0,5,5,10)")
|
||||
sandbox(test)
|
||||
test()
|
||||
end
|
||||
|
||||
function love.update(dt)
|
||||
|
|
Loading…
Reference in New Issue