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

#251 2012-02-03 02:56:02

Jonathan50
Scratcher
Registered: 2011-07-06
Posts: 100+

Re: Scratch 2.0 Progress Report: Create your own block

this is the definition for eat < (input 1) >
Broadcast [eat v ]
think [num num num]
play sound [num num v ]
When i receive [eat v ]
hide

Last edited by Jonathan50 (2012-02-03 16:17:11)


Jonathan50
big_smile  http://scratch.mit.edu/img/pages/credits/cat-face-bullet.gif http://blocks.scratchr.org/API.php?user=Jonathan50&amp;action=onlineStatus&amp;type=square         http://blocks.scratchr.org/API.php?user=Jonathan50&amp;action=projects&amp;type=newest&amp;return=image&amp;num=1

Offline

 

#252 2012-02-03 03:11:34

Jonathan50
Scratcher
Registered: 2011-07-06
Posts: 100+

Re: Scratch 2.0 Progress Report: Create your own block

this is the definition for mini game
forever
 move [2] steps
 if on edge, bounce
 if < (key space pressed and touching frame) >
  say [wow!]
 end
end

Last edited by Jonathan50 (2012-02-03 16:18:35)


Jonathan50
big_smile  http://scratch.mit.edu/img/pages/credits/cat-face-bullet.gif http://blocks.scratchr.org/API.php?user=Jonathan50&amp;action=onlineStatus&amp;type=square         http://blocks.scratchr.org/API.php?user=Jonathan50&amp;action=projects&amp;type=newest&amp;return=image&amp;num=1

Offline

 

#253 2012-02-03 08:02:43

Yoshiboy
Scratcher
Registered: 2011-12-30
Posts: 1000+

Re: Scratch 2.0 Progress Report: Create your own block

When is it going to be released? I'm eating chocolate! It sounds like it will be awesome!!!

when I receive [Scratch 2.0 is released]
say [cool]
think (join[maybe I can make a block like] <Broadcast [go] received>) for (however long it takes to make.) secs
wait until <broadcast [begin] received?>
stretch [50] pixels in [5] secs
insert <item[2] of [braker]> at (join [5][1]) of [inventory]
add <item [1] of [inventory]> to <item [3] of [inventory]> together and set (#) to the result
tell [sprite2] to change [color effect] by (#)
change [highbeams] by <item [5] of [scoreboard]>

Last edited by Yoshiboy (2012-02-03 08:06:20)


Winter...

Offline

 

#254 2012-02-03 08:05:08

Yoshiboy
Scratcher
Registered: 2011-12-30
Posts: 1000+

Re: Scratch 2.0 Progress Report: Create your own block

I think I fixed it for you.

Jonathan50 wrote:

this is the def for mini game

forever
 move [2] steps
 if on edge, bounce
 if <<key [space] pressed?> and <touching [frame]?>>
  say [wow!]
 end
end

Last edited by Yoshiboy (2012-02-03 08:05:40)


Winter...

Offline

 

#255 2012-02-03 16:13:28

Jonathan50
Scratcher
Registered: 2011-07-06
Posts: 100+

Re: Scratch 2.0 Progress Report: Create your own block

Thanks.


Jonathan50
big_smile  http://scratch.mit.edu/img/pages/credits/cat-face-bullet.gif http://blocks.scratchr.org/API.php?user=Jonathan50&amp;action=onlineStatus&amp;type=square         http://blocks.scratchr.org/API.php?user=Jonathan50&amp;action=projects&amp;type=newest&amp;return=image&amp;num=1

Offline

 

#256 2012-02-03 16:21:32

Jonathan50
Scratcher
Registered: 2011-07-06
Posts: 100+

Re: Scratch 2.0 Progress Report: Create your own block

Yoshiboy wrote:

I think I fixed it for you.

Jonathan50 wrote:

this is the def for mini game

forever
 move [2] steps
 if on edge, bounce
 if <<key [space v ] pressed?> and <touching [frame v ]?>>
  say [wow!]
 end
end

i added the dropdowns

Last edited by Jonathan50 (2012-02-03 16:49:06)


Jonathan50
big_smile  http://scratch.mit.edu/img/pages/credits/cat-face-bullet.gif http://blocks.scratchr.org/API.php?user=Jonathan50&amp;action=onlineStatus&amp;type=square         http://blocks.scratchr.org/API.php?user=Jonathan50&amp;action=projects&amp;type=newest&amp;return=image&amp;num=1

Offline

 

#257 2012-02-03 16:35:28

Jonathan50
Scratcher
Registered: 2011-07-06
Posts: 100+

Re: Scratch 2.0 Progress Report: Create your own block

i'm going to make a

password genarater
this is the definition for it
set [password v ] to < (item (any v ) of [password genarater v ]) >

Last edited by Jonathan50 (2012-02-03 18:25:51)


Jonathan50
big_smile  http://scratch.mit.edu/img/pages/credits/cat-face-bullet.gif http://blocks.scratchr.org/API.php?user=Jonathan50&amp;action=onlineStatus&amp;type=square         http://blocks.scratchr.org/API.php?user=Jonathan50&amp;action=projects&amp;type=newest&amp;return=image&amp;num=1

Offline

 

#258 2012-02-03 16:47:06

Jonathan50
Scratcher
Registered: 2011-07-06
Posts: 100+

Re: Scratch 2.0 Progress Report: Create your own block

this is the definition for send < (input 1) >
broadcast <join [<chat/auth] < (name) >>
broadcast <join [<chat] < (input 1) >>

Last edited by Jonathan50 (2012-02-03 17:02:29)


Jonathan50
big_smile  http://scratch.mit.edu/img/pages/credits/cat-face-bullet.gif http://blocks.scratchr.org/API.php?user=Jonathan50&amp;action=onlineStatus&amp;type=square         http://blocks.scratchr.org/API.php?user=Jonathan50&amp;action=projects&amp;type=newest&amp;return=image&amp;num=1

Offline

 

#259 2012-02-03 17:10:21

Jonathan50
Scratcher
Registered: 2011-07-06
Posts: 100+

Re: Scratch 2.0 Progress Report: Create your own block

When i receive [2.0 is out v ]
party
broadcast [party v ]
make my own blocks like this one
add [scratch 2.0 is out] to [partys v ]
if < (new blocks are out)>
 say [yay!] for (3) secs
else
 say [never mind!] for (2) secs
end
repeat [20]
 play note < (item (any v ) of [123 v ]) > for (0.2) beats
end
switch to costume [confett v ]
think (join [i cant wait to build ](mini game))
say [i can hardly wait] [not even] for (10) secs
ask [can you wait] and wait
ask [do you have SKY?] and wait
if < < (answer) > = [yes] >
 ask [do you have channel 41] and wait
 if < < (answer) > = [yes] >
  ask [did you watch frozen face off?] and wait
  if < < (answer) > = [yes] >
   ask [was it cool?] and wait
  end
 end
end

Last edited by Jonathan50 (2012-02-05 15:44:35)


Jonathan50
big_smile  http://scratch.mit.edu/img/pages/credits/cat-face-bullet.gif http://blocks.scratchr.org/API.php?user=Jonathan50&amp;action=onlineStatus&amp;type=square         http://blocks.scratchr.org/API.php?user=Jonathan50&amp;action=projects&amp;type=newest&amp;return=image&amp;num=1

Offline

 

#260 2012-02-03 17:13:02

Jonathan50
Scratcher
Registered: 2011-07-06
Posts: 100+

Re: Scratch 2.0 Progress Report: Create your own block

Jonathan50 wrote:

Yoshiboy wrote:

I think I fixed it for you.

Jonathan50 wrote:

this is the def for mini game

forever
 move [2] steps
 if on edge, bounce
 if <<key [space v ] pressed?> and <touching [frame v ]?>>
  say [wow!] for (2) secs
 end
end

i added the dropdowns

i added 2 secs


Jonathan50
big_smile  http://scratch.mit.edu/img/pages/credits/cat-face-bullet.gif http://blocks.scratchr.org/API.php?user=Jonathan50&amp;action=onlineStatus&amp;type=square         http://blocks.scratchr.org/API.php?user=Jonathan50&amp;action=projects&amp;type=newest&amp;return=image&amp;num=1

Offline

 

#261 2012-02-03 18:08:18

Jonathan50
Scratcher
Registered: 2011-07-06
Posts: 100+

Re: Scratch 2.0 Progress Report: Create your own block

when [up arrow v ] key pressed
fly [50] pixels
wait [0.5] secs
fly [80] pixels
when gf clicked
fly [90] pixels
play sound [superfied v ]
add [superfield] at (1 v ) of [jumps v ]

Last edited by Jonathan50 (2012-02-03 18:24:02)


Jonathan50
big_smile  http://scratch.mit.edu/img/pages/credits/cat-face-bullet.gif http://blocks.scratchr.org/API.php?user=Jonathan50&amp;action=onlineStatus&amp;type=square         http://blocks.scratchr.org/API.php?user=Jonathan50&amp;action=projects&amp;type=newest&amp;return=image&amp;num=1

Offline

 

#262 2012-02-05 16:41:24

Jonathan50
Scratcher
Registered: 2011-07-06
Posts: 100+

Re: Scratch 2.0 Progress Report: Create your own block

... [replace v ] item (1 v ) with colour [#00FF00] [superfieild v ]

Last edited by Jonathan50 (2012-02-05 16:47:50)


Jonathan50
big_smile  http://scratch.mit.edu/img/pages/credits/cat-face-bullet.gif http://blocks.scratchr.org/API.php?user=Jonathan50&amp;action=onlineStatus&amp;type=square         http://blocks.scratchr.org/API.php?user=Jonathan50&amp;action=projects&amp;type=newest&amp;return=image&amp;num=1

Offline

 

#263 2012-02-05 17:36:28

Jonathan50
Scratcher
Registered: 2011-07-06
Posts: 100+

Re: Scratch 2.0 Progress Report: Create your own block

i might build

 wait until i recive [message v ]
if i can

Last edited by Jonathan50 (2012-02-05 17:37:17)


Jonathan50
big_smile  http://scratch.mit.edu/img/pages/credits/cat-face-bullet.gif http://blocks.scratchr.org/API.php?user=Jonathan50&amp;action=onlineStatus&amp;type=square         http://blocks.scratchr.org/API.php?user=Jonathan50&amp;action=projects&amp;type=newest&amp;return=image&amp;num=1

Offline

 

#264 2012-02-05 17:43:18

Jonathan50
Scratcher
Registered: 2011-07-06
Posts: 100+

Re: Scratch 2.0 Progress Report: Create your own block

go to the eatery, (45) degrees [left v] //my message on my own block in forums. i learned
how here: http://wiki.scratch.mit.edu/wiki/Block_Plugin/Syntax

Last edited by Jonathan50 (2012-02-05 17:50:33)


Jonathan50
big_smile  http://scratch.mit.edu/img/pages/credits/cat-face-bullet.gif http://blocks.scratchr.org/API.php?user=Jonathan50&amp;action=onlineStatus&amp;type=square         http://blocks.scratchr.org/API.php?user=Jonathan50&amp;action=projects&amp;type=newest&amp;return=image&amp;num=1

Offline

 

#265 2012-02-05 22:01:18

Jonathan50
Scratcher
Registered: 2011-07-06
Posts: 100+

Re: Scratch 2.0 Progress Report: Create your own block

i think you should right click and click on 'show definiton script' and 'hide definition script'

Last edited by Jonathan50 (2012-02-05 22:01:45)


Jonathan50
big_smile  http://scratch.mit.edu/img/pages/credits/cat-face-bullet.gif http://blocks.scratchr.org/API.php?user=Jonathan50&amp;action=onlineStatus&amp;type=square         http://blocks.scratchr.org/API.php?user=Jonathan50&amp;action=projects&amp;type=newest&amp;return=image&amp;num=1

Offline

 

#266 2012-02-08 20:22:26

henley
Scratcher
Registered: 2008-06-21
Posts: 1000+

Re: Scratch 2.0 Progress Report: Create your own block

Jonathan50 wrote:

i might build

 wait until i recive [message v ]
if i can

Isn't that pretty much what the hat-block does?

 when I receive [broadcast v]


"I've worked so hard for you and you give me nothing in return. Do you need help... Or do I?"

Offline

 

#267 2012-02-15 19:46:34

wasabi56
Scratcher
Registered: 2012-02-10
Posts: 500+

Re: Scratch 2.0 Progress Report: Create your own block

I have a project where I made my own scripts and posted them as the top 3 most needed scripts for 2.0, here is the address: http://scratch.mit.edu/projects/wasabi56/2335449


http://i.picasion.com/pic58/c23d4d2fc75f459dcf3d9ebf3e8ba395.gif
http://www.weebly.com/uploads/1/0/1/4/10146167/2294523_orig.png

Offline

 

#268 2012-02-15 20:00:43

lemonpretzel
Scratcher
Registered: 2008-10-23
Posts: 100+

Re: Scratch 2.0 Progress Report: Create your own block

This block is needed:

stop all scripts for [sprite1 v]

Last edited by lemonpretzel (2012-02-15 20:01:08)

Offline

 

#269 2012-02-15 20:15:19

CheeseMunchy
Scratcher
Registered: 2008-10-13
Posts: 1000+

Re: Scratch 2.0 Progress Report: Create your own block

lemonpretzel wrote:

This block is needed:

stop all scripts for [sprite1 v]

That might be handy.


6418,

Offline

 

#270 2012-02-15 20:40:08

Haiming
Scratcher
Registered: 2011-08-20
Posts: 1000+

Re: Scratch 2.0 Progress Report: Create your own block

Is it already out? If it is, then how do I update my software?

Offline

 

#271 2012-02-15 20:41:08

Haiming
Scratcher
Registered: 2011-08-20
Posts: 1000+

Re: Scratch 2.0 Progress Report: Create your own block

CheeseMunchy wrote:

lemonpretzel wrote:

This block is needed:

stop all scripts for [sprite1 v]

That might be handy.

Offline

 

#272 2012-02-15 20:43:54

Haiming
Scratcher
Registered: 2011-08-20
Posts: 1000+

Re: Scratch 2.0 Progress Report: Create your own block

I suggest putting in the hide list block into the default blocks ASAP.

Offline

 

#273 2012-02-15 23:20:52

360-International
Scratcher
Registered: 2011-07-17
Posts: 100+

Re: Scratch 2.0 Progress Report: Create your own block

henley wrote:

Jonathan50 wrote:

i might build

 wait until i receive [message v]
if i can

Isn't that pretty much what the hat-block does?

 when I receive [broadcast v]

But that's the problem. With a stack block, you can do something, then wait until something is broadcasted, then continue, all in one script.


https://lh4.googleusercontent.com/Oib6kyze-OrCFIRlqL6HYnWuHBQp1GfFoh5CkBlZGe3_9WCk-_DDwgfFrnD_mxJ_x2b18hMUyV2KVtIDiLdebyWaQQ6fbpKpZs-8auVep1zoSgOv-iA

Offline

 

#274 2012-02-15 23:22:55

360-International
Scratcher
Registered: 2011-07-17
Posts: 100+

Re: Scratch 2.0 Progress Report: Create your own block

Haiming wrote:

I suggest putting in the hide list block into the default blocks ASAP.


https://lh4.googleusercontent.com/Oib6kyze-OrCFIRlqL6HYnWuHBQp1GfFoh5CkBlZGe3_9WCk-_DDwgfFrnD_mxJ_x2b18hMUyV2KVtIDiLdebyWaQQ6fbpKpZs-8auVep1zoSgOv-iA

Offline

 

#275 2012-02-19 20:47:38

PullJosh
Scratcher
Registered: 2011-08-01
Posts: 500+

Re: Scratch 2.0 Progress Report: Create your own block

These are my favorite ideas:

webstermath wrote:

Why not just include a local or global option like with variables and lists when the blocks are defined?  If blocks are defined as global they can maybe then be moved to a collapsible header or footer in every sprites script area.

I wrote:

Make sure you can use normal variables in them!


http://www.blocks.scratchr.org/API.php?action=text&amp;string=I'm_on_vacation!&amp;xpos=155&amp;ypos=90&amp;font_size=30&amp;bgimage=http://imageshack.us/a/img339/7215/sspeechsigapiforwords.png

Offline

 

Board footer