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

#1 2007-06-27 04:34:59

Xonos
Scratcher
Registered: 2007-06-27
Posts: 1

How can I make stamp/pen disapear over time?

I am fairly new to Scratch, and I don't know how to make a pen mark or stamps disapear after a certain amount of time. I was going to use this for a Snake-type game I was making. Thankyou for any suggestions.

Offline

 

#2 2007-06-27 04:59:24

bigB
Scratcher
Registered: 2007-06-09
Posts: 100+

Re: How can I make stamp/pen disapear over time?

they only way i can think of (other than simply clearing) is to have another sprite taht follows along stamping over it in the background colour. 
sprite1  draws a green path
sprite2  follows 1 second later drawing a path in the background colour to cover the green up.


http://scratch.mit.edu/projects/bigB/260981 Draw to Text
http://scratch.mit.edu/projects/bigB/181829 3D Stunt Flyer

Offline

 

#3 2007-06-27 11:24:51

DrJim
Scratcher
Registered: 2007-05-26
Posts: 100+

Re: How can I make stamp/pen disapear over time?

You can also use a sprite as a "fake" background for an area - just make it the same color as the real background.  Then move the sprite you want over the background (or move the background "under" the sprite) and behind it.

Essentially the same thing as bigB's approach - just a little different type sprite to do the "coverup.

Last edited by DrJim (2007-06-27 11:25:53)

Offline

 

#4 2007-06-27 14:10:05

slobasso
Scratcher
Registered: 2007-05-25
Posts: 14

Re: How can I make stamp/pen disapear over time?

Two projects that use this technique are:

http://scratch.mit.edu/projects/ernestpazera/7003

and

http://scratch.mit.edu/projects/slobasso/11568

Offline

 

Board footer