Hey guys, JeanTheFox here and this is a guide on how to make the...
Broadcast ___ and wait ___ secs block!!!
... Yeah... Kind of made this one out of nowhere, I combined the broadcast ___ and the wait ___ secs block into one. I don;t know if this helps anyone in any way, but I'll use it for my cartoons.
Hold down shift and click on the letter R in SCRATCH at the top left corner of the window. Then select "turn fill screen off". Now click on the white area that appears, and click open, then browser.
CODE:
Just go to this location and type in the underlined code.
In better detail, go to Scratch-Objects, then ScriptableScratchMorph, then click on the little class button at the bottom of that area, then click on block specs, then blockSpecs.
For those of you new to going into the raw programming of Scratch, right click and select accept, then close the browser, shift click on R, turn fill screen on, then shift click on R again and select save image for end user.
Last edited by JeanTheFox (2010-07-28 14:16:21)

Offline
Zoomreddin wrote:
I might use this...
Yay

Offline
waveOSBeta wrote:
doesn't work.
Wat? Did you get some coding wrong? It works fine for me.
Here is the code again;
('broadcast %e and wait %n secs' #s #doBroadcastAndWait)
Last edited by JeanTheFox (2010-07-28 12:21:10)

Offline
waveOSBeta wrote:
it won't wait.
I don't understand what's wrong, mine works great and I just tested it again.

Offline
waveOSBeta wrote:
waveOSBeta wrote:
nvm it works.
Good

Offline
Zoomreddin wrote:
It's not there! (I have a Mac does that change a thing?)
It shouldn't... When you were finished putting in the code did you "save image for end-user" by shift clicking on R?
Last edited by JeanTheFox (2010-07-28 14:16:37)

Offline
I don't get how this would help, can you explain more?
Offline
murpho wrote:
<broadcast[ ]and wait c>
Isnt that the same thing?
no, that block waits until all scripts triggered by that broadcast are complete (no longer have a white halo) and effectively lets you have sub procedures where you go off to another script and then return where you left off. The block described here sends the broadcast and then waits for a nunber of seconds before the script runs onwards, regardless of wether the broadcasts are finished or not. To be honest, it's the equivalent of a broadcast %e block with a wait %n block directly underneath
Offline
floatingmagictree wrote:
I don't get how this would help, can you explain more?
Well sometimes I get lazy and so I just combined the Broadcast and wait with wait _ secs block.
That is why it's called "A kind of pointless block". Although I have made the previous costume block but I don't think anyone needs it.
Last edited by JeanTheFox (2010-07-29 10:30:07)

Offline
Darn... well could you maybe help me out with this, Jwosty? I'm kind of new to BYOB and stuff.

Offline
This is actually not the real block, because the selector should take (not really, but I won't go into that) two arguments, not one. "doBroadcastAndWait:" is just the "broadcast [] and wait" selector.
Offline