This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2007-07-20 19:10:43

DaffyDuck
Scratcher
Registered: 2007-07-18
Posts: 13

drawing

Is there away w/ pen to have it erase a sprite instead of adding color?

Offline

 

#2 2007-07-21 00:32:07

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: drawing

Sprites are always in front of the background, and pens draw on the background, so pens can never cover up sprites.  You probably want to use the "hide" and "show" blocks to make sprites appear and disappear.  If you have to sense touching the sprite, then hiding won't work for you, and you need to set ghost effect to 99 instead.

Offline

 

#3 2007-07-21 04:40:15

natalie
Scratch Team
Registered: 2007-03-07
Posts: 100+

Re: drawing

You could also "stamp" the sprite, then "hide" the sprite. Then if you draw with white (or whatever the background color is), you will erase the stamped sprite.

Offline

 

#4 2007-07-21 05:59:52

natalie
Scratch Team
Registered: 2007-03-07
Posts: 100+

Re: drawing

You inspired me to do a project showing a stamp getting erased:
http://scratch.mit.edu/projects/natalie/23339

Offline

 

#5 2007-07-21 23:41:01

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: drawing

My project with rubber stamps is good for showing erasers:

http://scratch.mit.edu/projects/kevin_karplus/12280

Offline

 

Board footer