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

#1 2009-03-10 07:21:42

JamesMcAlea
Scratcher
Registered: 2009-03-10
Posts: 1

Disappearing sprites

We have constructed a game in which the sprite collect points by moving over bananas etc. Once the token is collected and the score recorded, how do we make it disappear?

Offline

 

#2 2009-03-10 07:23:06

bosox397
Scratcher
Registered: 2008-02-17
Posts: 1000+

Re: Disappearing sprites

Use this block

<hide>

But just remember at the beginning of the script to use this block

<show>

Last edited by bosox397 (2009-03-10 07:24:27)


Dear Scratch Users,
I'm done with scratch, or at least making projects. I have made one last big game, thats both fun and teaches a lesson about water. It'd mean a lot if you gave me feedback.                              http://scratch.mit.edu/projects/bosox397/569201

Offline

 

#3 2009-03-10 20:07:01

big-bang
Scratcher
Registered: 2008-02-21
Posts: 1000+

Re: Disappearing sprites

JamesMcAlea wrote:

We have constructed a game in which the sprite collect points by moving over bananas etc. Once the token is collected and the score recorded, how do we make it disappear?

If you want it to still be able to tell when something is touching it, use the [blocks]<set[ ghost ]effect to( 100[/blocks] which makes it invisible but still tangible. Set the effect to 0 to make it show.


http://i47.tinypic.com/6edrbm.jpghttp://i45.tinypic.com/dw9hmw.jpghttp://i50.tinypic.com/f28tvn.jpghttp://i45.tinypic.com/ruwaop.jpg

Offline

 

Board footer