You guys should make blocks such as: "Unless" in sensing, numbers and control, "When" which would remain dormant until everything applies to it, then does its programming once, "When" would probably be in control, as a starting block, and also as just a regular block, too. Oh, and a staring block with one of those sensing spaces in it would be nice, and a broadcast a number of times, then stop would be handy, too.
Offline
"Unless" is the same as <if><< <not> >>, right? Or maybe I misunderstood you?
Last edited by MyRedNeptune (2007-12-23 11:20:54)
Offline
The beta release before version 1 had a "when" hat. I don't know why they removed it, as it was useful for programs that you did not want to have use the green flag in.
I agree with MyRedNeptune that "unless" is just "if not" and doesn't really need another block.
Offline
Oh. Thanks guys! I'll try that.
Offline
kevin_karplus wrote:
The beta release before version 1 had a "when" hat. I don't know why they removed it, as it was useful for programs that you did not want to have use the green flag in.
At first, we really liked the idea of a "when" hat. But when we added it to an early prototype of Scratch, we found that it caused problems and confusion, since it would often keep "triggering" even when users didn't want it to.
Most of the other "hats" trigger only when a user makes a specific action (pressing a key or clicking a sprite or clicking the green flag). But the "when" hat could continue to trigger "on its own", often with unexpected consequences (and there was no easy way to stop it).
So we took out the "when" hat, and added the "forever if" block instead. You can use the "forever if" block in somewhat similar ways to a when hat. But you can explicitly start and stop the forever-if block (unlike the when hat).
Offline
I'm a bit lost as to what a when block does
Could someone give an example please?
regards
Simon
Offline
geckojsc wrote:
I think they should make it so that you can customise the flag button, or even give it different costumes!
That's kinda useless. The Scratch Teams seeks ways to improve the programming part of Scratch, not the graphics.
SimpleScratch wrote:
I'm a bit lost as to what a when block does
Could someone give an example please?
regards
Simon
"When" is a cap, that means it starts a script.
<when[ space ]key pressed>
<play sound[ pop
-This one senses when the space bar is pressed. Whenever it is true, it starts the script. If the space bar is pressed while the script is still running, it stops the script and runs it from the beggining.
Offline
Sorry about that - I know that the current when blocks do :-)
I meant to say, what did the one that was removed do or what does BlueClayman1 want it to do?
regards
Simon
Offline
Imo, BlueClayman wants a block like <if> , only for it to be a cap, so it wouldn't be dependant on other events, such as "green flag clicked", etc. You get my meaning.
Offline
DYabola wrote:
I think there should be a "set rotation style to [can rotate/face left & right/don't rotate] block.
Please don't bring old topics back. Check the 1.4 topic if you want to post your ideas.
Last edited by keroro645 (2009-05-16 11:00:26)
Offline
The When hat block hasn't been completely removed yet. It is a defined hat block type, but it does not work.
Offline
rubiks_cube_guy238 wrote:
The When hat block hasn't been completely removed yet. It is a defined hat block type, but it does not work.
Did you look above? They said not to bump it(although I technically did, it was at the top anyway).
Offline