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

#1 2009-03-27 16:46:45

Firite87
Scratcher
Registered: 2008-11-23
Posts: 15

Couple of new blocks?

I'd like to be able to make:
Wait until:
1. I recieve: *broadcasted thing*
2. *button* button pressed

[blocks]<wait until><{ blah }>[/blocks]
[blocks]<when I receive[ something [/blocks]
[blocks]<when[ a ]key pressed>[/blocks]

Offline

 

#2 2009-03-28 11:38:38

Xkhaoz
Scratcher
Registered: 2008-11-27
Posts: 1000+

Re: Couple of new blocks?

I want a repeat for __ secs block. It would help a lot.


http://img2.imageshack.us/img2/7884/73593151.jpg Contest: http://scratch.mit.edu/projects/Xkhaoz/546746 I am part of the C.O.U.W.D.F.P.

Offline

 

#3 2009-03-28 12:09:56

technoguyx
Scratcher
Registered: 2008-10-18
Posts: 1000+

Re: Couple of new blocks?

I'd like to see Play note until <--->. And show/hiding lists.

Last edited by technoguyx (2009-03-28 12:10:09)


http://getgnulinux.org/links/en/linuxliberated_4_78x116.png

Offline

 

#4 2009-03-29 08:00:37

bhz
Scratcher
Registered: 2008-07-06
Posts: 100+

Re: Couple of new blocks?

all these suggestions will make life easier.
but for now, just use what I have below for each one.

Firite:

Idea 1

when flag clicked
set [ a ] to [ 0 ]

when I receive [ b ]
set [ a ] to [ 1 ]
wait [ 0 ] secs

[ wait until ( I receive [ b ] ) ]
= [ wait until ( [ a ] = [ 1 ] ) ]

Idea 2

Already there.

Xkhaoz:

when flag clicked
set [ c ] to 0
repeat [ d ]
   change [ c ] by [ 1 ]
end

[ repeat for ( d ) secs ]
= repeat until [ ( c ) = ( d ) ]

technoguyx:

If you want the note to be played in one long note, then I don't know. If you want the note repeated, then use:

repeat until [ e ]
   play note [ f ] for [ g ] secs

Offline

 

#5 2009-03-29 11:33:52

Xkhaoz
Scratcher
Registered: 2008-11-27
Posts: 1000+

Re: Couple of new blocks?

And maybe a stop timer block.


http://img2.imageshack.us/img2/7884/73593151.jpg Contest: http://scratch.mit.edu/projects/Xkhaoz/546746 I am part of the C.O.U.W.D.F.P.

Offline

 

#6 2009-03-29 12:23:16

big-bang
Scratcher
Registered: 2008-02-21
Posts: 1000+

Re: Couple of new blocks?

What about "touching anything but"? I wanted that for my first scroller.


http://i47.tinypic.com/6edrbm.jpghttp://i45.tinypic.com/dw9hmw.jpghttp://i50.tinypic.com/f28tvn.jpghttp://i45.tinypic.com/ruwaop.jpg

Offline

 

#7 2009-03-29 12:26:52

bosox397
Scratcher
Registered: 2008-02-17
Posts: 1000+

Re: Couple of new blocks?

big-bang wrote:

What about "touching anything but"? I wanted that for my first scroller.

How about if not touching ____

Last edited by bosox397 (2009-03-29 12:27:48)


Dear Scratch Users,
I'm done with scratch, or at least making projects. I have made one last big game, thats both fun and teaches a lesson about water. It'd mean a lot if you gave me feedback.                              http://scratch.mit.edu/projects/bosox397/569201

Offline

 

#8 2009-03-29 12:37:42

demosthenes
Retired Community Moderator
Registered: 2008-02-19
Posts: 1000+

Re: Couple of new blocks?

bosox397 wrote:

big-bang wrote:

What about "touching anything but"? I wanted that for my first scroller.

How about if not touching ____

<<  <not> <touching[ >>
That command does  that fine.


I've taken a long hiatus, but I still visit sometimes. Give me some time to answer any messages you post on my projects!

Offline

 

#9 2009-03-29 15:36:36

bosox397
Scratcher
Registered: 2008-02-17
Posts: 1000+

Re: Couple of new blocks?

demosthenes wrote:

bosox397 wrote:

big-bang wrote:

What about "touching anything but"? I wanted that for my first scroller.

How about if not touching ____

<<  <not> <touching[ >>
That command does  that fine.

Why'd you just repeat wat I said?


Dear Scratch Users,
I'm done with scratch, or at least making projects. I have made one last big game, thats both fun and teaches a lesson about water. It'd mean a lot if you gave me feedback.                              http://scratch.mit.edu/projects/bosox397/569201

Offline

 

#10 2010-07-18 22:12:16

Firite87
Scratcher
Registered: 2008-11-23
Posts: 15

Re: Couple of new blocks?

Wow. This is so old that I've gone on/off Scratch twice since posting this, and I have no idea what I mean in the Scratch blocks in the first post.
Thanks anyway, you guys, for trying to help 2009 me. (Because I don't think I've seen these posts before.)

Last edited by Firite87 (2010-07-18 22:12:36)

Offline

 

#11 2010-07-18 22:23:10

bbbeb
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: Couple of new blocks?

Is this for Scratch2.0?

<i recieve %e> is a good one
and the last one.... lol....
Link to [bla.com] (tutorials are there- just it'd be nice for it to be in real scratch!)

And no i am not necroposting. [/end refrence to Zombie Post survival guilde]


Back in my day.... there were no laws that censored the internet... now, there are.... nah.

Offline

 

#12 2010-07-18 22:25:41

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: Couple of new blocks?

bbbeb wrote:

Link to [bla.com] (tutorials are there- just it'd be nice for it to be in real scratch!)

That's been suggested a lot before - essentially, people haven't approved much of this block because you could send people to inappropriate places. A solution could be that a popup could appear and say "Are you sure you want to go to "bla.com?"

I support, but not a lot of the community is with me  hmm

Offline

 

#13 2010-07-19 10:39:43

Firite87
Scratcher
Registered: 2008-11-23
Posts: 15

Re: Couple of new blocks?

That is a good idea, coolstuff. I don't know what I would link to in a project, but it could have its uses.

Offline

 

#14 2010-07-20 22:35:06

MarioLuigi2009
Scratcher
Registered: 2009-12-26
Posts: 63

Re: Couple of new blocks?

(forever if/else) as one block instead of (forever(if/else))
[blocks]
<forever if>
<end>
<else>
<end>
[/blocks]
also, save file blocks under the control tab.

[create save file [A]]
[delete save file [A]]
[save to file [A]]
[load from file [A]]

replace "A" with a drop-down list

Last edited by MarioLuigi2009 (2010-07-20 22:47:41)


http://mag.racked.eu/mcimage/i349/Achievement++get%21/Slammin+Salmon/mca.pnghttp://mag.racked.eu/mcimage/i5007/Achievement++get%21/Smile+for+the+camera/mca.pnghttp://mag.racked.eu/mcimage/i54/Achievement++get%21/Storin+dirt.../mca.pnghttp://www.minecraftanonymous.com/assets/banners/banner_78.png

Offline

 

#15 2010-07-21 13:15:42

Willamation
Scratcher
Registered: 2010-06-24
Posts: 22

Re: Couple of new blocks?

What about a forever block with a clip at the bottem<forever><end>?


Money makes the world go round-Joel grey 1930-60
Cheese makes the world go round~Will 1999-2010

Offline

 

#16 2010-07-21 13:50:49

lilacfuzz101
Scratcher
Registered: 2010-05-22
Posts: 1000+

Re: Couple of new blocks?

how about "if on costume ___"


http://25.media.tumblr.com/tumblr_lzqaicLrY01r5wdo7o1_500.gif

Offline

 

#17 2010-07-21 14:11:55

dpj
New Scratcher
Registered: 2010-07-21
Posts: 1

Re: Couple of new blocks?

Hi,
First time here! I would like to start off as simple as possible for students who have only used Logo before. Is there a way to hide some blocks e.g. Sound, Sensing etc until they are ready to be introduced to them?

dpj

Offline

 

#18 2010-07-21 15:04:12

Lightnin
Scratch Team
Registered: 2008-11-03
Posts: 1000+

Re: Couple of new blocks?

dpj wrote:

Hi,
First time here! I would like to start off as simple as possible for students who have only used Logo before. Is there a way to hide some blocks e.g. Sound, Sensing etc until they are ready to be introduced to them?

dpj

Welcome! There is no way to disable these blocks. But one approach lots of teachers have found to be helpful is to introduce Scratch with some constraints - like "Use only these 8 blocks to make something interesting..."

Check out ScratchEd for more on this - here's a link to something you might find helpful, but do browse around!

http://scratched.media.mit.edu/resources/designing-scratch-workshop


Help Scratchers make the leap to 2.0!
http://img818.imageshack.us/img818/6844/transitionteam.jpg

Offline

 

#19 2010-12-29 08:48:00

MarioLuigi2009
Scratcher
Registered: 2009-12-26
Posts: 63

Re: Couple of new blocks?

lilacfuzz101 wrote:

how about "if on costume ___"

you could just use

if costume # = ?

Last edited by MarioLuigi2009 (2010-12-29 08:49:38)


http://mag.racked.eu/mcimage/i349/Achievement++get%21/Slammin+Salmon/mca.pnghttp://mag.racked.eu/mcimage/i5007/Achievement++get%21/Smile+for+the+camera/mca.pnghttp://mag.racked.eu/mcimage/i54/Achievement++get%21/Storin+dirt.../mca.pnghttp://www.minecraftanonymous.com/assets/banners/banner_78.png

Offline

 

Board footer