Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
Hi, I decided to make a graphics editor through the Canvas plug-in on Construct 2, but there was such a problem, how to do an eraser? For example, I selected an eraser object and dragged it along the canvas, and a certain area was cleared.
Maybe just make the eraser colour the same as the background colour? So instead of just taking away the colour, it kind of "repaints" it to match the canvas.
Develop games in your browser. Powerful, performant & highly capable.
There was such an idea, but the fact is that I want to make it so that the canvas was transparent
how is the paint on the canvas? is it one big sprite or is it just pixels or color? if it is just pixels, may be able to take the eraser sprite and "is overlaying paint pixel -> delete paint pixel"