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

#1 2012-06-16 11:38:16

berberberber
Scratcher
Registered: 2012-03-08
Posts: 1000+

When <> Cap block.

okay, so I think these:

when gf clicked
when [sprite1] clicked
when i receive [broadcast v]
when [space v] key pressed
Should turn into booleans, like this:
<gf clicked?>
<[sprite1] clicked?>
<[broadcast v] received?>
<key [space v] pressed?>
And their would only be one hat block, like so:
when <>
that way, you could do stuff like this:
When <[broadcast v] received?>

Or,
wait until <[broadcast v] received?>

I think this would open up a lot of new possiblities.

Last edited by berberberber (2012-06-16 11:40:49)


http://i47.tinypic.com/2iaa73k.png

Offline

 

#2 2012-06-16 11:40:04

Violinty12325
Scratcher
Registered: 2012-05-18
Posts: 100+

Re: When <> Cap block.

that sounds interesting...
It would make things slightly easier


Violinty12325:http://blocks.scratchr.org/API.php?user=Violinty12325&amp;action=onlineStatushttp://www.funnypictures24.com/funny1/funnyanimal68.gif

Offline

 

#3 2012-06-16 21:04:29

berberberber
Scratcher
Registered: 2012-03-08
Posts: 1000+

Re: When <> Cap block.

bump


http://i47.tinypic.com/2iaa73k.png

Offline

 

#4 2012-06-16 21:16:53

Mokat
Scratcher
Registered: 2011-12-08
Posts: 1000+

Re: When <> Cap block.

I support, but there is no need to have a

when ()
because boolean blocks are supposed to go inside of
if <> 
wait until <> 
forever if <>
repeat until <> 
etc.


http://www.eggcave.com/egg/977371.pnghttp://www.eggcave.com/egg/977376.pnghttp://www.eggcave.com/egg/1005291.pnghttp://www.eggcave.com/egg/996745.png

Offline

 

#5 2012-06-16 21:56:25

berberberber
Scratcher
Registered: 2012-03-08
Posts: 1000+

Re: When <> Cap block.

No, the when is supposed to be a hat block.


http://i47.tinypic.com/2iaa73k.png

Offline

 

#6 2012-06-17 01:59:38

JH1010
Scratcher
Registered: 2012-05-31
Posts: 1000+

Re: When <> Cap block.

I think this is a good idea. If this block was put in scratch I think that this should also be possible.

when <[]and[]>

Offline

 

#7 2012-06-17 11:53:33

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: When <> Cap block.

The when <> block is in a lot of mods (including Insanity). If you want it, use those mods or find the code and make your own.


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#8 2012-06-17 14:14:13

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: When <> Cap block.

An event listener for booleans sounds pretty cool. I've thought about this before, but never posted a suggestion.

Offline

 

#9 2012-06-17 14:26:08

777w
Scratcher
Registered: 2009-02-10
Posts: 1000+

Re: When <> Cap block.

there is a block for this but its obsolete and doesnt work
i think thisd be an interesting idea, just without the <green flag clicked?> block

Offline

 

#10 2012-06-18 09:32:29

roijac
Scratcher
Registered: 2010-01-19
Posts: 1000+

Re: When <> Cap block.

well imagine the consequences of putting a GIANT boolean that consists from 'and'ing and 'or'ing some <list contains "something"> blocks that search things inside five different 500 items long lists. (add also some complicated math functions)
now try to think how slow it'll get when scratch'll have to evaluate all these blocks at RUNTIME every time something changes, and how confused beginners will get when the game is suddenly 10 times slower because of one block.
donot support

Offline

 

Board footer