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

#1 2007-05-20 18:21:01

miss_Scratchy
Scratcher
Registered: 2007-05-20
Posts: 2

How do you make a sprite appear out of thin air?

I want to start out with one background without a sprite, but then have the sprite appear when the second background comes on... how do I do this?

Offline

 

#2 2007-05-20 18:37:12

Duncan
Scratcher
Registered: 2007-05-15
Posts: 47

Re: How do you make a sprite appear out of thin air?

Hide and Show from the Looks instructions will hide and then show the sprite.  You could Broadcast a trigger to switch the backgrounds.

The sprite's script:

When Green Flag clicked
Hide
Forever
  If Mouse Down?
  Broadcast ChangeBackground
  Show


Add a script to the Backgrounds

  When I receive ChangeBackground
  Swirch to Background background2

Offline

 

#3 2007-05-22 17:37:07

stinger18
Scratcher
Registered: 2007-05-09
Posts: 1

Re: How do you make a sprite appear out of thin air?

have the sprite hide then start the program.
use a wait 1 second block. then a  show block.
well the background starts with the first. when the program starts make it wait 1
second then show.   cool

Offline

 

Board footer