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

#1 2010-11-21 14:54:53

sb890
New Scratcher
Registered: 2010-11-21
Posts: 5

New blocks.

They should some new blocks:

<online?> In sensing, this tells if the project is being played online.
[add [ ] with name [ ] to state] In sensing, adds something to the state with a name.
[get value with name [ ] from state] In sensing, gets a value with a name from the state.
[save state] In sensing, saves the state.

Offline

 

#2 2010-11-21 16:04:20

hmnwilson
Scratcher
Registered: 2007-07-04
Posts: 1000+

Re: New blocks.

You can make an online/offline detector pretty easily - see this thread for info.

The saving blocks are a good idea, though.


I'm taking a break from Scratch until 2.0 comes out. Any messages sent between then and now probably won't be read - sorry.
(Oct. 20, 2011)

Offline

 

#3 2010-11-22 17:44:31

sb890
New Scratcher
Registered: 2010-11-21
Posts: 5

Re: New blocks.

[blocks]
I like your idea, good job.
I also think there should be an
<erase state> block. It erases the entire state.
[/blocks]

Offline

 

#4 2010-11-23 16:59:52

sb890
New Scratcher
Registered: 2010-11-21
Posts: 5

Re: New blocks.

[ ._. event ]
[ :=: command ]
[ "--" ._. container ]
[ ] [ inside container]
[ ._. "--" end container]
[ "--" stop / end script ]
( reporter / input )
< condition / condition input >
[ drop down input v]

That's what I'm gonna use instead of the block icons. It lets me make new blocks.
Example:

[ ._. when green flag clicked ]
[ "--" ._. forever ]
[ ] [ "--" ._. if <<mouse down?>> ]
[ ] [ ] [ :=: pen down ]
[ ] [ :=: else ]
[ ] [ ] [ :=: pen up ]
[ ] [ ._. "--" ]
[ ._. "--" ]
[ "--" end script ]
It has the pen down when the mouse is down, and up then the mouse is up.

Offline

 

Board footer