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

#1 2012-08-13 14:40:27

curiouscrab
Scratcher
Registered: 2012-06-25
Posts: 100+

Scratch 2.0 (what we hope to see)

I hope to see if I receive blocks

if < I receive [a v] >
   do something
end
and clone blocks
clone

Last edited by curiouscrab (2012-08-13 15:10:30)


http://i50.tinypic.com/dopbtw.png

Offline

 

#2 2012-08-13 14:43:39

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

Re: Scratch 2.0 (what we hope to see)

curiouscrab wrote:

I hope to see if I receive blocks

if < I receive [a] >
   do something
end
and clone blocks
clone

''Receive'' blocks already exitst. Yup,clone blocks are coming!


internet's all about cats today.

Offline

 

#3 2012-08-13 14:43:48

Wes64
Scratcher
Registered: 2011-08-19
Posts: 1000+

Re: Scratch 2.0 (what we hope to see)

curiouscrab wrote:

I hope to see if I receive blocks

if < I receive [a] >
   do something
end
and clone blocks
clone

1. not planned.

2. planned


Experienced 2.0 Tester: Ask me questions!
Using Firefox 13.0, Flash plugin version 11.4.402.287, and Windows XP Professional.

Offline

 

#4 2012-08-13 14:44:26

RedRocker227
Scratcher
Registered: 2011-10-26
Posts: 1000+

Re: Scratch 2.0 (what we hope to see)

Cloning will be in 2.0, a boolean for <I receive []?> wouldn't be possible since a broadcast takes a split second to execute.


Why

Offline

 

#5 2012-08-13 14:45:32

curiouscrab
Scratcher
Registered: 2012-06-25
Posts: 100+

Re: Scratch 2.0 (what we hope to see)

soniku3 wrote:

curiouscrab wrote:

I hope to see if I receive blocks

if < I receive [a] >
   do something
end
and clone blocks
clone

''Receive'' blocks already exitst. Yup,clone blocks are coming!

I mean for the if.


http://i50.tinypic.com/dopbtw.png

Offline

 

#6 2012-08-13 14:46:22

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

Re: Scratch 2.0 (what we hope to see)

Use variables.


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

Offline

 

#7 2012-08-13 15:04:22

MrFlash67
Scratcher
Registered: 2012-08-08
Posts: 500+

Re: Scratch 2.0 (what we hope to see)

curiouscrab wrote:

I hope to see if I receive blocks

if < I receive [a] >
   do something
end
and clone blocks
clone

As far as I know, the clone block will be there, but the

 if < [hi v] received > 
Say [Hi!]
End
may not be.
By the way, it is [hi v] recived, not I receive [hi v].


Who would win, SOPA or PIPA?

Offline

 

#8 2012-08-13 15:08:15

curiouscrab
Scratcher
Registered: 2012-06-25
Posts: 100+

Re: Scratch 2.0 (what we hope to see)

berberberber wrote:

Use variables.

For what?

Last edited by curiouscrab (2012-08-13 15:09:43)


http://i50.tinypic.com/dopbtw.png

Offline

 

#9 2012-08-13 15:09:30

curiouscrab
Scratcher
Registered: 2012-06-25
Posts: 100+

Re: Scratch 2.0 (what we hope to see)

MrFlash67 wrote:

curiouscrab wrote:

I hope to see if I receive blocks

if < I receive [a] >
   do something
end
and clone blocks
clone

As far as I know, the clone block will be there, but the

 if < [hi v] received > 
Say [Hi!]
End
may not be.
By the way, it is [hi v] recived, not I receive [hi v].

How do you know if it doesn't exist?


http://i50.tinypic.com/dopbtw.png

Offline

 

#10 2012-08-13 15:16:06

MrFlash67
Scratcher
Registered: 2012-08-08
Posts: 500+

Re: Scratch 2.0 (what we hope to see)

curiouscrab wrote:

MrFlash67 wrote:

curiouscrab wrote:

I hope to see if I receive blocks

if < I receive [a] >
   do something
end
and clone blocks
clone

As far as I know, the clone block will be there, but the

 if < [hi v] received > 
Say [Hi!]
End
may not be.
By the way, it is [hi v] recived, not I receive [hi v].

How do you know if it doesn't exist?

I read it on the wiki or on some suggestion.


Who would win, SOPA or PIPA?

Offline

 

#11 2012-08-13 15:18:40

RedRocker227
Scratcher
Registered: 2011-10-26
Posts: 1000+

Re: Scratch 2.0 (what we hope to see)

curiouscrab wrote:

MrFlash67 wrote:

curiouscrab wrote:

I hope to see if I receive blocks

if < I receive [a] >
   do something
end
and clone blocks
clone

As far as I know, the clone block will be there, but the

 if < [hi v] received > 
Say [Hi!]
End
may not be.
By the way, it is [hi v] recived, not I receive [hi v].

How do you know if it doesn't exist?

Because out the two, that's the only one that's possible (read my earlier post).


Why

Offline

 

#12 2012-08-13 15:22:08

MrFlash67
Scratcher
Registered: 2012-08-08
Posts: 500+

Re: Scratch 2.0 (what we hope to see)

RedRocker227 wrote:

curiouscrab wrote:

MrFlash67 wrote:


As far as I know, the clone block will be there, but the

 if < [hi v] received > 
Say [Hi!]
End
may not be.
By the way, it is [hi v] recived, not I receive [hi v].

How do you know if it doesn't exist?

Because out the two, that's the only one that's possible (read my earlier post).

I believe Forever if blocks can detect stuff that happen for a split second. If not, then change the broadcasting process slightly so it can work. They are moving to Flash, this will probably be small.


Who would win, SOPA or PIPA?

Offline

 

#13 2012-08-13 15:30:55

curiouscrab
Scratcher
Registered: 2012-06-25
Posts: 100+

Re: Scratch 2.0 (what we hope to see)

MrFlash67 wrote:

RedRocker227 wrote:

curiouscrab wrote:

How do you know if it doesn't exist?

Because out the two, that's the only one that's possible (read my earlier post).

I believe Forever if blocks can detect stuff that happen for a split second. If not, then change the broadcasting process slightly so it can work. They are moving to Flash, this will probably be small.

Just put forever broadcast whatever, and in that forever put if something received, stop script.

forever
   broadcast [whatever v]
   if < [a v] received >
      stop script
   end
end

Last edited by curiouscrab (2012-08-13 15:31:23)


http://i50.tinypic.com/dopbtw.png

Offline

 

#14 2012-08-13 15:44:51

MrFlash67
Scratcher
Registered: 2012-08-08
Posts: 500+

Re: Scratch 2.0 (what we hope to see)

curiouscrab wrote:

MrFlash67 wrote:

RedRocker227 wrote:


Because out the two, that's the only one that's possible (read my earlier post).

I believe Forever if blocks can detect stuff that happen for a split second. If not, then change the broadcasting process slightly so it can work. They are moving to Flash, this will probably be small.

Just put forever broadcast whatever, and in that forever put if something received, stop script.

forever
   broadcast [whatever v]
   if < [a v] received >
      stop script
   end
end

Um?


Who would win, SOPA or PIPA?

Offline

 

#15 2012-08-13 16:32:53

curiouscrab
Scratcher
Registered: 2012-06-25
Posts: 100+

Re: Scratch 2.0 (what we hope to see)

MrFlash67 wrote:

curiouscrab wrote:

MrFlash67 wrote:


I believe Forever if blocks can detect stuff that happen for a split second. If not, then change the broadcasting process slightly so it can work. They are moving to Flash, this will probably be small.

Just put forever broadcast whatever, and in that forever put if something received, stop script.

forever
   broadcast [whatever v]
   if < [a v] received >
      stop script
   end
end

Um?

Um what? Is it possible to have 2 broadcasts at once? This should work.


http://i50.tinypic.com/dopbtw.png

Offline

 

#16 2012-08-13 16:57:48

thebriculator
Scratcher
Registered: 2011-07-11
Posts: 500+

Re: Scratch 2.0 (what we hope to see)

To replace the

<[broadcast v] received?> 
block,

I think there should be a
wait until [broadcast v] received 
block


.     http://tiny.cc/2cwgpw    http://tiny.cc/viwgpw    http://tiny.cc/iwwgpw

Offline

 

#17 2012-08-13 17:08:03

curiouscrab
Scratcher
Registered: 2012-06-25
Posts: 100+

Re: Scratch 2.0 (what we hope to see)

thebriculator wrote:

To replace the

<[broadcast v] received?> 
block,

I think there should be a
wait until [broadcast v] received 
block

Good idea.


http://i50.tinypic.com/dopbtw.png

Offline

 

#18 2012-08-13 18:52:07

powerpoint56
Scratcher
Registered: 2012-04-19
Posts: 500+

Re: Scratch 2.0 (what we hope to see)

curiouscrab wrote:

berberberber wrote:

Use variables.

For what?

For the (i receive [X v]) block. You could replace a broadcast [X v] block with:

set [variable v] to [X]
and the (i receive [X v]) with
<(variable)=[x]>
wink

Last edited by powerpoint56 (2012-08-13 18:52:40)


http://i48.tinypic.com/2072ctw.gif

Offline

 

#19 2012-08-13 19:50:40

gfchll
Scratcher
Registered: 2012-04-21
Posts: 100+

Re: Scratch 2.0 (what we hope to see)

 if<[sprite 1 v] is touching [sprite 2 v]>
end
broadcast [one v] and [two v]
here are two ideas

Last edited by gfchll (2012-08-13 19:53:34)


HELLO EVERYBODY!

Offline

 

#20 2012-08-13 20:53:08

curiouscrab
Scratcher
Registered: 2012-06-25
Posts: 100+

Re: Scratch 2.0 (what we hope to see)

gfchll wrote:

 if<[sprite 1 v] is touching [sprite 2 v]>
end
broadcast [one v] and [two v]
here are two ideas

Just put two broadcasts next to eachother and broadcast at the same time.

when I receive [Scratch v]
broadcast [1 v]
broadcast [2 v]
stop script


http://i50.tinypic.com/dopbtw.png

Offline

 

#21 2012-08-13 20:56:59

curiouscrab
Scratcher
Registered: 2012-06-25
Posts: 100+

Re: Scratch 2.0 (what we hope to see)

powerpoint56 wrote:

curiouscrab wrote:

berberberber wrote:

Use variables.

For what?

For the (i receive [X v]) block. You could replace a broadcast [X v] block with:

set [variable v] to [X]
and the (i receive [X v]) with
<(variable)=[x]>
wink

What do you mean? Are you saying:

when gf clicked
set [variable v] to [broadcast 1]
if < (variable) = [broadcast 1] >
   do something
end

Last edited by curiouscrab (2012-08-13 20:58:05)


http://i50.tinypic.com/dopbtw.png

Offline

 

#22 2012-08-13 21:00:51

curiouscrab
Scratcher
Registered: 2012-06-25
Posts: 100+

Re: Scratch 2.0 (what we hope to see)

thebriculator wrote:

To replace the

<[broadcast v] received?> 
block,

I think there should be a
wait until [broadcast v] received 
block

But I wanted it to be for an if. So you could put if I receive, that way it only does a certain function when it receives that. Your way, you would have to make an entirely new script.


http://i50.tinypic.com/dopbtw.png

Offline

 

#23 2012-08-13 21:13:03

powerpoint56
Scratcher
Registered: 2012-04-19
Posts: 500+

Re: Scratch 2.0 (what we hope to see)

curiouscrab wrote:

powerpoint56 wrote:

curiouscrab wrote:


For what?

For the (i receive [X v]) block. You could replace a broadcast [X v] block with:

set [variable v] to [X]
and the (i receive [X v]) with
<(variable)=[x]>
wink

What do you mean? Are you saying:

when gf clicked
set [variable v] to [broadcast 1]
if < (variable) = [broadcast 1] >
   do something
end

Indeed.


http://i48.tinypic.com/2072ctw.gif

Offline

 

#24 2012-08-13 21:16:11

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

Re: Scratch 2.0 (what we hope to see)

Cloning is planned! :DDDDDDDD


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

 

#25 2012-08-14 10:39:47

curiouscrab
Scratcher
Registered: 2012-06-25
Posts: 100+

Re: Scratch 2.0 (what we hope to see)

powerpoint56 wrote:

curiouscrab wrote:

powerpoint56 wrote:

For the (i receive [X v]) block. You could replace a broadcast [X v] block with:

set [variable v] to [X]
and the (i receive [X v]) with
<(variable)=[x]>
wink

What do you mean? Are you saying:

when gf clicked
set [variable v] to [broadcast 1]
if < (variable) = [broadcast 1] >
   do something
end

Indeed.

I made a program like that for invisibility. It's my latest project, for a contest, called Invisible Dot.

Last edited by curiouscrab (2012-08-14 10:40:46)


http://i50.tinypic.com/dopbtw.png

Offline

 

Board footer