Discuss Scratch
- Discussion Forums
- » Announcements
- » New [scratchblocks] tag
- jrezneckbhds
-
Scratcher
500+ posts
New [scratchblocks] tag
Good afternoon!Everyone should appreciate your hard work, because I certainly do! Besides, the blocks look much better!
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…
- 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!!awesomeness. yea.My browser / operating system: Windows 7, Microsoft Internet Explorer 11.0, Flash 15.0 (release 0)
say [ fun ]
forever
say [ you guys rock!!!!!! ];)[quote][/quote]
end
- 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!!!]
- 124816
-
Scratcher
26 posts
New [scratchblocks] tag
((((((((((((((((((((((((((((((((((((((((((whoa!))))))))))))))))))))))))))))))))))))))))
Amazing!



















- ScratchsterOVA9000
-
Scratcher
53 posts
New [scratchblocks] tag
define CoolScratch Team
Cool*1000=Amazing Apocalypse
- rocketclock123
-
Scratcher
100+ posts
New [scratchblocks] tag
That is SO AWESOME!!((((((((((((((((((((((((((((((((((((((((((whoa!))))))))))))))))))))))))))))))))))))))))
Amazing!
- rocketclock123
-
Scratcher
100+ posts
New [scratchblocks] tag
((((((((((((((((((((((((((((((((((((((((((((((((((((((((((HI))))))))))))))))))))))))))))))))))))))))))))))))))))))))
- friendship2468
-
Scratcher
100+ posts
New [scratchblocks] tag
((((((((((((((((((((((((((((((((((((((((((((((((((((((((((HI))))))))))))))))))))))))))))))))))))))))))))))))))))))))
(((((((((((((((((((((((((((((((((((((PBJ))))))))))))))))))))))))))))))))))))
- friendship2468
-
Scratcher
100+ posts
New [scratchblocks] tag
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
Good afternoon!Thanks so much for updating the new updated scratchblocks tag! I'm sure everyone appreciates your hard work!
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…

- 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-
plz help
<<Operators> and <EVERYTHINGtoDOwithEQUASIONS >>
plz help

