i have often found that i would benifit from a control block that stops all the scripts of one chosen sprite. it would be a simple block to use and would be useful in many programs.
currently it requires broadcasting or variables.
what do people think?
Offline
yeah!
Offline
Yay!
Offline
I thought of that too!
Offline
I hope Scratch could add a Stop Sprite Block. It would really help in my "Protect the Frotress" game.
Offline
It would help with a lot of things, although perhaps its not completely necessary: as is you can just add this block (<stop script>) in to all a sprites scripts along with an <if> or a <wait until> etc. block although I admit that this is tedious and time-consuming. So yes, a stop sprite block would be greatly appreciated.
Last edited by Sawman3 (2007-08-31 12:20:31)
Offline
Geesh... This Was Posted In 2007... I Really Think They Should Close This...
Offline
TheGameMaster1231 wrote:
Geesh... This Was Posted In 2007... I Really Think They Should Close This...
That's only if someone bumps it... which you just did.
Offline
<pen down><change pen color by( <change pen shade by( <change pen size by( <set pen shade to( <set pen color to(
Offline
This would definitely come in handy. Also, a "stop sound (select the sound)" block would.
Offline
stop scripts of [sprite 1 v]
Offline
Tang987 wrote:
so if you creating a game your sprite wont be able to move when you got hit for a short while
There's no really easy way - but it can be done with a variable. Set up a variable called "Stunned" or something, then wherever you have movement blocks, use an IF block to see if "Stunned" is Yes or No. Based on the value, you can decide if the sprite should move or not. Probably this is something you should ask in Help With Scripts
One note: I have not found any way to interrupt the motion of a Glide block. Once one of those starts moving, there's no stopping it.
Offline
Paddle2See wrote:
...
One note: I have not found any way to interrupt the motion of a Glide block. Once one of those starts moving, there's no stopping it.
I found you can stop a glide by re-entering the script.http://scratch.mit.edu/projects/digimathtryit/3029965
Offline
Paddle2See wrote:
Tang987 wrote:
so if you creating a game your sprite wont be able to move when you got hit for a short while
There's no really easy way - but it can be done with a variable. Set up a variable called "Stunned" or something, then wherever you have movement blocks, use an IF block to see if "Stunned" is Yes or No. Based on the value, you can decide if the sprite should move or not. Probably this is something you should ask in Help With Scripts
One note: I have not found any way to interrupt the motion of a Glide block. Once one of those starts moving, there's no stopping it.
Other than Stop all
Offline
Digimath wrote:
Paddle2See wrote:
...
One note: I have not found any way to interrupt the motion of a Glide block. Once one of those starts moving, there's no stopping it.I found you can stop a glide by re-entering the script.http://scratch.mit.edu/projects/digimathtryit/3029965
Even better, don't use glide blocks for anything remotely serious. They are for child's play and not for complex coding.
Last edited by lalala3 (2013-01-10 20:12:26)
Offline
Stop necroposting, guys. Reporting to be closed.
--------------------------------
THIS IS A 2.0 FUNCTION
--------------------------------
Offline
Firedrake969 wrote:
Stop necroposting, guys. Reporting to be closed.
--------------------------------
THIS IS A 2.0 FUNCTION
--------------------------------
paddle2see is a mod
he posted here today
obviously he doesn't think it's a necropost.
Offline