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

#1 2012-03-26 17:25:28

liquidpaper
Scratcher
Registered: 2012-03-25
Posts: 4

Button

(Bare with me, i'm pretty new to Scratch!)

Is the a way to change sprite1's costume by clicking sprite2? If so, can someone show me? Thanks a lot!

Offline

 

#2 2012-03-26 17:30:44

TorbyFork234
Scratcher
Registered: 2012-03-01
Posts: 1000+

Re: Button

when [sprite 2] clicked
set [clicked? v] to [1]
when gf clicked
set [clicked? v] to [0]
forever 
if <<clicked?>=[1]>
next costume
end

Offline

 

#3 2012-03-26 17:32:51

gxl
Scratcher
Registered: 2010-04-15
Posts: 100+

Re: Button

Or you could broadcast if sprite 1 has two costumes only. After two costumes, I think the first reply is more useful.


http://i185.photobucket.com/albums/x87/tyagust/cloudosigcopy-1.jpg

Offline

 

#4 2012-03-26 17:36:30

turkey3
Scratcher
Registered: 2011-12-04
Posts: 500+

Re: Button

Put this in sprite 2

When [sprite 2] clicked
Broadcast [whatever v]
Then put this in sprite 1

When I receive [whatever v]
Next costume

Last edited by turkey3 (2012-03-26 17:36:46)

Offline

 

#5 2012-03-26 17:50:32

liquidpaper
Scratcher
Registered: 2012-03-25
Posts: 4

Re: Button

Dude, thats pro.
Thanks!

when gf clicked
think [Dude, that's pro!] for (10000) secs

Offline

 

Board footer