whats?
I want to do one and i can't! I follow the wiki and still can't idk why?
so the canvas you must draw it in love.load() ? not in love.draw() ?
Code: Select all
function love.load()
canvas = love.graphics.newCanvas() --i get this to create a canvas--
love.graphics.setCanvas(canvas)--i get this as well lol part of top
love.graphics.setColor(230,240,120)
love.graphics.rectangle('fill',0,0,100,100)-- why is this rectangle here???
love.graphics.setCanvas()--is this the closing canvas???? or what is it????
end
function love.draw()
love.graphics.setColor(255,255,255)
love.graphics.draw(canvas, 200,100, 0, .5,.5) --------where is this one coming from??? and why????
end
can someone explain me this process but with an easy example????
got lost with the draw(canvas,200,100,0,.5,.5)???????