Erase

Get help using Construct 3!

Post » Sun Jul 16, 2017 8:15 am

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.
B
4
Posts: 2
Reputation: 206

Post » Tue Jul 18, 2017 7:19 am

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.
B
14
S
4
Posts: 25
Reputation: 894

Post » Tue Jul 18, 2017 12:30 pm

There was such an idea, but the fact is that I want to make it so that the canvas was transparent
B
4
Posts: 2
Reputation: 206

Post » Sun Jul 23, 2017 4:10 pm

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"
B
37
S
11
G
4
Posts: 96
Reputation: 4,237


Return to How do I...?

Who is online

Users browsing this forum: AkbarAsgharMG and 0 guests