canvas

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Rigachupe
Party member
Posts: 100
Joined: Fri Jun 18, 2021 11:21 am

Re: canvas

Post by Rigachupe »

Problem solved by using a workaround kind of. First make imageData of the rectangle you need. Then fill it how needed. Then replacePixels from this imagedata into a small image. Then paint the image over canvas. It is faster than directly updating the whole canvas through all pixels in imagedata.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests