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

#1 2012-10-25 18:34:47

slidebox
New Scratcher
Registered: 2012-10-25
Posts: 2

how to make a sprite stop at a certain point and resume movement?

how do I make my sprite stop at a certain point, show a message with audio, then make the message dissapear and make the sprite move again?

Offline

 

#2 2012-10-27 10:33:36

RCScratch
Scratcher
Registered: 2010-05-26
Posts: 48

Re: how to make a sprite stop at a certain point and resume movement?

here, i think i have something

when gf clicked
repeat until <(stopped?)=(1)>
 statement 1 //what you want the sprite to do
end
say [Hello!]
play sound [meow v] until done
say [] //this will remove the message
repeat until <true> //or forever
 statement 1
end

when gf clicked
statement 2 //what you want to do before stopping
set [stopped? v] to (1)

Last edited by RCScratch (2012-10-27 10:34:41)


http://i736.photobucket.com/albums/xx7/RCScratch/RCSCRatch.gif http://www.danasoft.com/sig/467044211994.jpg

Offline

 

Board footer