Hi, I have an idea for two new blocks that could possibly be used in the next version of Scratch. They are:
I recieve:
Offline
And [ ] within [ ] secs:
These would be some great blocks in scratch and they would be very useful, like in this case: If you wanted the script to stop when something is sent, in the current Scratch, that isn't possible; however with these blocks it would be.
Last edited by Thenuclearduck (2011-09-28 02:15:56)
Offline
Here is a picture of what I mean:
And you would have the script that would stop at the top, after the 'When green flag clicked' block, then inside the if, a 'stop script' block. Comment if you agree.
Last edited by Thenuclearduck (2011-09-28 02:18:24)
Offline
For now you have to go
When flag pressed [
Wait 1 second
If (Variable = go)
]
And Repeat like this
When flag pressed [
Wait 0.1 second
If (Variable = go)
]
And you repeat until it is 1 second.
Hope this helps
Offline
Yes but it would be a lot easier and less complicated with these blocks, because you would not need to make the variable at all and just keep it with the broadcasting.
Offline
That is a GREAT IDEA!!! I always thought that the I recieve block won't work because it will only be true for 1 millisecond but with this, you give it a bit of time to wait for the broadcast or any other condition!!
Offline