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

#1 2012-08-14 00:39:54

SegaGenesis
New Scratcher
Registered: 2012-08-14
Posts: 1

How do you switch from one sprite to anoter?

Title ^^

Offline

 

#2 2012-08-14 01:00:10

MrFlash67
Scratcher
Registered: 2012-08-08
Posts: 500+

Re: How do you switch from one sprite to anoter?

SegaGenesis wrote:

Title ^^

Please explain. If I understand correctly, then you can use costumes, or you can use a script something like this

When gf clicked
Do [stuff v]
Broadcast [go v]
Stop script

When I receive [go v]
Hide
Forever
Go to [swapping sprite 1 v]
Wait until < (time to stop) = [now] >
show
Broadcast [swap v]
Stop script

When I receive [swap v]
Do needed stuff
Script 1 is for the first sprite, scripts 2 & 3 are for the second one.
Edit as nessasary to fit your project.


Who would win, SOPA or PIPA?

Offline

 

Board footer