This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2007-12-23 10:42:27

BlueClayman1
Scratcher
Registered: 2007-11-15
Posts: 6

New Blocks

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

 

#2 2007-12-23 11:20:25

MyRedNeptune
Community Moderator
Registered: 2007-05-07
Posts: 1000+

Re: New Blocks

"Unless" is the same as <if><<  <not>  >>, right? Or maybe I misunderstood you?

Last edited by MyRedNeptune (2007-12-23 11:20:54)


http://i52.tinypic.com/5es7t0.png I know what you're thinking! "Neptune! Get rid of those filthy advertisements and give us back the Zarathustra siggy, you horrible person!" Well, don't worry about it, the Zara siggy will be back soon, new and improved! ^^ Meanwhile, just do what the sig tells you to. >.>

Offline

 

#3 2007-12-23 13:37:42

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: New Blocks

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

 

#4 2007-12-23 15:15:14

BlueClayman1
Scratcher
Registered: 2007-11-15
Posts: 6

Re: New Blocks

Oh. Thanks guys! I'll try that.

Offline

 

#5 2007-12-24 10:02:06

mres
Scratch Team
Registered: 2007-03-08
Posts: 48

Re: New Blocks

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

 

#6 2007-12-26 04:40:50

Hiccup
Scratcher
Registered: 2007-09-01
Posts: 29

Re: New Blocks

i think there should be a when hat as well
smile


92% of teens have moved on to rap.
If you are part of the 8% who still listen to real music, copy and paste this into your signature

Offline

 

#7 2007-12-27 15:58:57

geckojsc
Scratcher
Registered: 2007-07-03
Posts: 10

Re: New Blocks

I think they should make it so that you can customise the flag button, or even give it different costumes!


If at first you don't succeed, try try and try again. If you still can't do it, give up!

Offline

 

#8 2007-12-28 04:05:52

SimpleScratch
Scratcher
Registered: 2007-05-25
Posts: 100+

Re: New Blocks

I'm a bit lost as to what a when block does

Could someone give an example please?

regards

Simon

Offline

 

#9 2007-12-28 05:24:18

MyRedNeptune
Community Moderator
Registered: 2007-05-07
Posts: 1000+

Re: New Blocks

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.


http://i52.tinypic.com/5es7t0.png I know what you're thinking! "Neptune! Get rid of those filthy advertisements and give us back the Zarathustra siggy, you horrible person!" Well, don't worry about it, the Zara siggy will be back soon, new and improved! ^^ Meanwhile, just do what the sig tells you to. >.>

Offline

 

#10 2007-12-28 07:20:45

SimpleScratch
Scratcher
Registered: 2007-05-25
Posts: 100+

Re: New Blocks

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

 

#11 2007-12-28 07:50:38

MyRedNeptune
Community Moderator
Registered: 2007-05-07
Posts: 1000+

Re: New Blocks

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.


http://i52.tinypic.com/5es7t0.png I know what you're thinking! "Neptune! Get rid of those filthy advertisements and give us back the Zarathustra siggy, you horrible person!" Well, don't worry about it, the Zara siggy will be back soon, new and improved! ^^ Meanwhile, just do what the sig tells you to. >.>

Offline

 

#12 2008-06-08 16:28:26

hotmail
Scratcher
Registered: 2007-11-07
Posts: 3

Re: New Blocks

there should be <when green flag clicked> <move(7)steps when I receive[hotmail] <hide><go to[ sprite 10<show> all together

Last edited by hotmail (2008-06-08 16:38:31)

Offline

 

#13 2008-06-08 16:30:34

hotmail
Scratcher
Registered: 2007-11-07
Posts: 3

Re: New Blocks

there aslo sholud be a pause block <when[me]clicked>  pause

Offline

 

#14 2008-07-26 16:18:05

Spenfen
Scratcher
Registered: 2008-07-24
Posts: 37

Re: New Blocks

did anybody say this yet? I think there should be <I recieve ________>


The statement I am making right now is untrue. He he he he he...

Offline

 

#15 2009-05-16 09:56:10

DYabola
Scratcher
Registered: 2009-05-10
Posts: 1

Re: New Blocks

I think there should be a "set rotation style to [can rotate/face left & right/don't rotate] block.

Last edited by DYabola (2009-05-16 09:56:46)

Offline

 

#16 2009-05-16 10:59:30

keroro645
Scratcher
Registered: 2008-06-07
Posts: 1000+

Re: New Blocks

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

 

#17 2010-02-04 19:52:38

rubiks_cube_guy238
Scratcher
Registered: 2009-07-02
Posts: 100+

Re: New Blocks

The When hat block hasn't been completely removed yet. It is a defined hat block type, but it does not work.


The glass is never half full nor half empty; it is twice as large as it needs to be.

Offline

 

#18 2010-02-04 21:18:19

Greatdane
Scratcher
Registered: 2007-06-05
Posts: 1000+

Re: New Blocks

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).


The future belongs to those who believe in the beauty of their dreams.
        ~ Eleanor Roosevelt

Offline

 

Board footer