Erasing a sprite

Get help using Construct 2

Post » Sun Sep 01, 2013 6:54 pm

Hello everybody,

I'm trying to simulate an eraser tool, like in Photoshop, Paint or any other painting software. Basically I want my sprite to be like this:

https://www.dropbox.com/s/w4f1aj1cn8mwdtw/Eraser.png


Also, if it is possible, I would like the sprite to be destroyed after being completely erased.

Does anyone know how can I do that?

Thanks!
B
9
G
1
Posts: 11
Reputation: 659

Post » Mon Sep 02, 2013 4:29 am

hmm, sprites aren't really made to be changed in this way..

But depending on the context, it might be possible to get what you want using unusual tricks..
but instead I recommend searching for, and installing the 'canvas' plugin. If you resize it to full screen, you can then use the canvas actions to draw /paste images directly on to it.
B
28
S
8
G
1
Posts: 469
Reputation: 4,683

Post » Mon Sep 02, 2013 8:28 pm

Thank you keepee! But that solution is kind of too complicated for me yet, since I'm a beginner.

I decided just to make the sprite fades out after been touched by the eraser. It is not the most beautiful solution, but it works in my project.

Thank you again for the attention!Frederico2013-09-02 20:29:09
B
9
G
1
Posts: 11
Reputation: 659


Return to How do I....?

Who is online

Users browsing this forum: MaujDeveloper, mrkaio, user5487, Zav and 2 guests