Discuss Scratch

jrezneckbhds
Scratcher
500+ posts

New [scratchblocks] tag

blob8108 wrote:

Good afternoon!

On the old forums, you could write out scripts between [scratchblocks][/scratchblocks] tags.

We've now re-implemented the scratchblocks tag using a brand new plugin that I've been developing. It has the same syntax as the original block plugin, with some minor improvements and bugfixes.
[scratchblocks]
define dance (speed)
set [dist v] to ((speed) * (distance to [mouse-pointer v]))
repeat until <(timer) > [10]>
move (dist) steps
play note (42 v) for (0.5) beats
say [Wow! Scratch 2.0 scripts in the forums!]
end
[/scratchblocks]
define dance (speed)
set [dist v] to ((speed) * (distance to [mouse-pointer v]))
repeat until <(timer) > [10]>
move (dist) steps
play note (42 v) for (0.5) beats
say [Wow! Scratch 2.0 scripts in the forums!]
end

Help on writing the code can be found on the wiki.

You can test out the plugin on the test page. Please don't spam the forums with blocks!

If you find any bugs, please report them below. Thanks!

(Thanks to nXIII for writing the glue code that hooks the plugin into the forums!)

EDIT: made the example match the code…
Everyone should appreciate your hard work, because I certainly do! Besides, the blocks look much better!
Felciaanka
New Scratcher
1 post

New [scratchblocks] tag

OOOOKKKKKKKKKKKK
Torling-
Scratcher
9 posts

New [scratchblocks] tag

Yay, they are finally back! (This is a new account from an older Scratcher)
Frosteyes
Scratcher
15 posts

New [scratchblocks] tag

when [ You follow me and check out my projects v] > ( 9,999,999, I make a special project )
say [] THANK YOU!!!!!! for (2) secs
say []YOU GUYS ROOCK!!
say [ fun ]
forever
say [ you guys rock!!!!!! ];)[quote][/quote]
end
awesomeness. yea.My browser / operating system: Windows 7, Microsoft Internet Explorer 11.0, Flash 15.0 (release 0)
Marshymarsh
Scratcher
100+ posts

New [scratchblocks] tag

say [EVERYTHING IS AWESOME!] for (5) secs
change pen color by (9000)
rocketclock123
Scratcher
100+ posts

New [scratchblocks] tag

when [ ROCKETCLOCK123] key pressed
say [EVERYTHING IS AWESOME!!!]
rocketclock123
Scratcher
100+ posts

New [scratchblocks] tag

TheHockeyist
Scratcher
1000+ posts

New [scratchblocks] tag

[₽] ₽ :: motion
Well, that worked…
124816
Scratcher
26 posts

New [scratchblocks] tag

((((((((((((((((((((((((((((((((((((((((((whoa!))))))))))))))))))))))))))))))))))))))))

Amazing!

ScratchsterOVA9000
Scratcher
53 posts

New [scratchblocks] tag

define Cool
Scratch Team
Cool*1000=Amazing Apocalypse
rocketclock123
Scratcher
100+ posts

New [scratchblocks] tag

rocketclock123
Scratcher
100+ posts

New [scratchblocks] tag

124816 wrote:

((((((((((((((((((((((((((((((((((((((((((whoa!))))))))))))))))))))))))))))))))))))))))

Amazing!

That is SO AWESOME!!
rocketclock123
Scratcher
100+ posts

New [scratchblocks] tag

((((((((((((((((((((((((((((((((((((((((((((((((((((((((((HI))))))))))))))))))))))))))))))))))))))))))))))))))))))))
ZdudeXY
Scratcher
16 posts

New [scratchblocks] tag

Awesome!
friendship2468
Scratcher
100+ posts

New [scratchblocks] tag

rocketclock123 wrote:

((((((((((((((((((((((((((((((((((((((((((((((((((((((((((HI))))))))))))))))))))))))))))))))))))))))))))))))))))))))
(((((((((((((((((((((((((((((((((((((PBJ))))))))))))))))))))))))))))))))))))
friendship2468
Scratcher
100+ posts

New [scratchblocks] tag

TheHockeyist wrote:

[₽] ₽ :: motion
Well, that worked…
How
friendship2468
Scratcher
100+ posts

New [scratchblocks] tag

friendship2468
Scratcher
100+ posts

New [scratchblocks] tag

Demandred wrote:

define dance (scratchblocks)
set [awesome] to ((scratchblocks) * (distance to [infinity]))
repeat until ((the world)=[0])
scream out (yay v) for (3) cheers
move (ya) hands // in the air like ya just don't care
end
define dance (scratchblocks)
repeat until (the world)=[0])
scream out (yay v) for (3) cheers
move (ya) hands // in the air like ya just don't care
end
jrezneckbhds
Scratcher
500+ posts

New [scratchblocks] tag

blob8108 wrote:

Good afternoon!

On the old forums, you could write out scripts between [scratchblocks][/scratchblocks] tags.

We've now re-implemented the scratchblocks tag using a brand new plugin that I've been developing. It has the same syntax as the original block plugin, with some minor improvements and bugfixes.
[scratchblocks]
define dance (speed)
set [dist v] to ((speed) * (distance to [mouse-pointer v]))
repeat until <(timer) > [10]>
move (dist) steps
play note (42 v) for (0.5) beats
say [Wow! Scratch 2.0 scripts in the forums!]
end
[/scratchblocks]
define dance (speed)
set [dist v] to ((speed) * (distance to [mouse-pointer v]))
repeat until <(timer) > [10]>
move (dist) steps
play note (42 v) for (0.5) beats
say [Wow! Scratch 2.0 scripts in the forums!]
end

Help on writing the code can be found on the wiki.

You can test out the plugin on the test page. Please don't spam the forums with blocks!

If you find any bugs, please report them below. Thanks!

(Thanks to nXIII for writing the glue code that hooks the plugin into the forums!)

EDIT: made the example match the code…
Thanks so much for updating the new updated scratchblocks tag! I'm sure everyone appreciates your hard work!
Toffee2468
Scratcher
100+ posts

New [scratchblocks] tag

Hey xD, recently i have been struggling with coding- yes, i get all the simple stuff- but i never get the high-tech scripts- which i'd like to learn! It all gets muddled up in my brain- if possible could you help! What mainly annoys me is the Operator blocks-
<<Operators> and <EVERYTHINGtoDOwithEQUASIONS >>

plz help

Powered by DjangoBB