-- store something in canvas
love.graphics.setCanvas(canvas)
love.graphics.rectangle('fill', 0, 0, 100, 100)
love.graphics.setCanvas()
-- render the canvas later
love.graphics.draw(canvas)
ps - I'm a newbie so I'm happy if others add/improve/clarify what I wrote
yboris wrote: ↑Tue Mar 31, 2020 2:53 am
ps - I'm a newbie so I'm happy if others add/improve/clarify what I wrote
The code seems to be fine and dandy, but please don't necropost into 9 year old threads when the original poster's most likely not even here anymore. :v
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
On the contrary, i am unfairly optimistic that the OP had the better part of a decade to make their 4 posts worthwhile, and they kept tabs on löve enough to know that Canvases existed since v0.9.0 and that others will find the wiki anyway, making the above post completely unnecessary
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.