I think that it's annoying that you have to make an entirely different script to do 2 things at once. For example:
[blocks]
<when green flag clicked><say[ Hello ]for( 2 )secs>
<when green flag clicked><glide( 1 )secs to x 0 )y 0
So you could run different scripts side-by-side, so the character would glide to 0,0 while saying 'Hello' as it's moving.
Offline
For that you could do [When flag clicked] [say {hello}] [glide 1 secs to x:0 y:0] [wait 1 secs] [say {nothing}]. But for other scripts that would be useful.
Offline
Shadowed1 wrote:
I think that it's annoying that you have to make an entirely different script to do 2 things at once. For example:
[blocks]
<when green flag clicked><say[ Hello ]for( 2 )secs>
<when green flag clicked><glide( 1 )secs to x 0 )y 0
So you could run different scripts side-by-side, so the character would glide to 0,0 while saying 'Hello' as it's moving.
SUPPORT!
Offline
Technically, you already can.
Offline
This would be useful, but it would probably lead to a lot of confusingness.
Offline
Bentheneighbor wrote:
This would be useful, but it would probably lead to a lot of confusingness.
My method for doing it would be if you don't want multiple scripts you wouldn't want to.
If you wanted, you would right-click on a block and select it, and then select a place for scripting would come alongside, joined by a yellow line.
For example, you could have a script going: [blocks]
<when green flag clicked><glide( 1 )secs to x 0 )y 0
But at the same time you want it to change colours as well so you would right click on the main script, then you would choose when in the script you want it to do it (obviously). [blocks]
<repeat( 100<change[ colour ]effect by( 5
Then if you want it to say something as well, you would right-click the one you had just created (or the main script, it wouldn't matter), choose the option, and do the scripting: [blocks]
<say[ Hello! ]for( 2 )secs>
This would help reduce the amount of scripts you have and also reduce the amount of 'broadcasts' that you could do.
Offline
It'd probably have less lag too. It would count them as different scripts, so that there isn't lag, but it would say that it has only one script, so there would be no lag from really long scripts that have it. It could theoratically be possible to put all of the scripts together in 1 superscript.
Offline
Shadowed1 wrote:
It'd probably have less lag too. It would count them as different scripts, so that there isn't lag, but it would say that it has only one script, so there would be no lag from really long scripts that have it. It could theoratically be possible to put all of the scripts together in 1 superscript.
There's still the same amount of stuff going on, so no, this would not reduce lag.
Offline
Harakou wrote:
Shadowed1 wrote:
It'd probably have less lag too. It would count them as different scripts, so that there isn't lag, but it would say that it has only one script, so there would be no lag from really long scripts that have it. It could theoratically be possible to put all of the scripts together in 1 superscript.
There's still the same amount of stuff going on, so no, this would not reduce lag.
If the problem is script amount/length lag, then no, this wouldn't reduce it. But, if it was timing lag, then it would definitely reduce it.
Offline
I think the current method (using 2 scripts) is fine. At least it won't confuse younger Scratchers.
Last edited by mathematics (2010-11-06 23:16:30)
Offline
kayybee wrote:
@mathematics-how do you get the updating signature? it's awesome.
http://scratch.mit.edu/forums/viewtopic.php?id=47970
I think this is the first time for me to get the "60 seconds rule" in the normal Scratch Forums...
Offline