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

#1 2007-05-30 08:02:24

johny_hizkia
Scratcher
Registered: 2007-05-30
Posts: 3

How to change sprite??

hi all...i have questions

1. in a case there are 1a-1b and 2a-2b sprites when mouse over to sprite 1a it will change to sprite 1b and also it will change the sprite 2a to 2b

2. how do you hide all the sprites when i click another sprite?

thanks

Offline

 

#2 2007-05-30 09:07:00

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

Re: How to change sprite??

Both cases could use the Broadcast command.

1.  Sprite1 tests...

If touching mouse-pointer?
  broadcast switch

Both sprites...

when I receive switch
  next costume

2.  On the clickable sprite...

  When SpriteN clicked
      broadcast hidesprites


on the other sprites...

   When I receive hidesprites
      hide

Offline

 

#3 2007-05-30 12:16:30

johny_hizkia
Scratcher
Registered: 2007-05-30
Posts: 3

Re: How to change sprite??

okay thanks... how about if i put a link to a website, can i do that?? thanks

Offline

 

Board footer