Discuss Scratch

blob8108
Scratcher
1000+ posts

New [scratchblocks] tag

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!

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

EDIT: the test page moved!

Last edited by blob8108 (Feb. 23, 2015 12:50:06)


tosh · tosh
Scratch12300
Scratcher
500+ posts

New [scratchblocks] tag

Awesome! Yeah, it's looks much better!

<scratchblocks reimplimented?>//true
(knowen glitches)//Boolean shape not diamond

when gf clicked
forever
if <(length of [knowen glitches v]) < [5]> then
if <necessary> then
use scratchblocks
end

Oh yeah. They work!

when gf clicked
forever
if <thread will become popular> then
post [First post!]
end

So… First post!

EDIT: WOW OMG This thread has become popular! This is special to me!

Last edited by Scratch12300 (Aug. 31, 2013 10:51:29)


Lightnin
Scratch Team
1000+ posts

New [scratchblocks] tag

w00t! Thanks for all your effort, blob8108! This is an awesome feature.

Next: We need to figure out a really nice way to show new users how to use it, preferably right in the forum post writing interface.
mrsrec
Scratcher
500+ posts

New [scratchblocks] tag

Lightnin wrote:

w00t! Thanks for all your effort, blob8108! This is an awesome feature.

Next: We need to figure out a really nice way to show new users how to use it, preferably right in the forum post writing interface.

I Guess. And You Moved This To Announcements?
davidkt
Scratcher
1000+ posts

New [scratchblocks] tag

Yay!
when gf clicked
say [I'm glad to have the old scratchblocks tag back! :D]
repeat (10)
change y by (10)
wait (0.125) secs
change y by (-10)
wait (0.125) secs
end

Last edited by davidkt (Aug. 30, 2013 21:39:07)


Remember when I looked like this? I still do.


Float, my Scratch 2.0 mod | My (somewhat under-construction) blog
mrsrec
Scratcher
500+ posts

New [scratchblocks] tag

say [I Guess The Syntax Works.]
ProdigyZeta7
Scratcher
1000+ posts

New [scratchblocks] tag

when I receive [New update! Scratchblock tags! v]
say [THANK YOU SO MUCH!] for (5) secs
change [posts v] by (1)
change [awesomeness v] by (9001)
broadcast [Spread the news! v] and wait

I had to.



blob8108
Scratcher
1000+ posts

New [scratchblocks] tag

Lightnin wrote:

We need to figure out a really nice way to show new users how to use it, preferably right in the forum post writing interface.
Yeah, you were saying. Last time there was a large message and example below the post textbox, wasn't there?

EDIT: I posted in Suggestions to hopefully get some ideas…

Last edited by blob8108 (Aug. 30, 2013 22:24:33)


tosh · tosh
jvvg
Scratcher
1000+ posts

New [scratchblocks] tag

I've created a testing topic.


I used to be very active on the forums, but now mostly just work on the Wiki.
Check out FutureBB 1.4, the latest and greatest forum system out there!

Computers make very fast, very accurate mistakes.









honeypot
PhirripSyrrip
Scratcher
500+ posts

New [scratchblocks] tag

set [awesome_level v] to [9001]
This really is a day of great updates for Scratch!

; ; ; ; ; ; ; ;You thought I'd get away from you, didn't you?!
joshuaho
Scratcher
1000+ posts

New [scratchblocks] tag

YAAAAAAAAAAAYYYY!!! Finally!

“Why don't you just give him the ol' honey and the hatchet? You know, you tell him something he wants to hear (that's the honey part) before you hit him in the head with something he doesn't, you know, the hatchet!”

~Astrid Hofferson in How to Pick Your Dragon (Dragons: Riders of Berk)

Constructive criticism is sort of like the honey and the hatchet. When giving feedback (whether on a project, forum suggestion, etc), you first say something you like about it. But, instead of the “hatchet”, you give suggestions on how it could improve!
;
davidkt
Scratcher
1000+ posts

New [scratchblocks] tag

Wait, you can add a tag to the forums without the ST's permission?

Remember when I looked like this? I still do.


Float, my Scratch 2.0 mod | My (somewhat under-construction) blog
Williamja
Scratcher
65 posts

New [scratchblocks] tag

wait until <scratchblocks exist>
try it out
get amazed

I am so adding scratchblocks in my signature

Last edited by Williamja (Aug. 30, 2013 22:10:00)


if <[williamja] = [awesome]> then
forever
change [game views v] by [9001]
end
else
we don't even need an else... everyone knows i'm always awesome. :)
blob8108
Scratcher
1000+ posts

New [scratchblocks] tag

davidkt wrote:

Wait, you can add a tag to the forums without the ST's permission?
No. I wrote the plugin, nXIII implemented the tag (hooked the plugin into the forums), and Lightnin/the ST deployed the new code to the forums.

Last edited by blob8108 (Aug. 30, 2013 22:06:57)


tosh · tosh
Epicness123
Scratcher
1000+ posts

New [scratchblocks] tag

Define "we"
say [A person and another person will do the same thing.] for (3) secs
if <second person leaves?>
say [WHERE DID YOU GO?!?!]
end
broadcast [OH NOES v]
stop [playing v]

when [OH NOES was received? v]
pwn the police officers
stop [the police officers from arresting you v]

Last edited by Epicness123 (Aug. 30, 2013 22:07:59)


kek
davidkt
Scratcher
1000+ posts

New [scratchblocks] tag

blob8108 wrote:

davidkt wrote:

Wait, you can add a tag to the forums without the ST's permission?
No. I wrote the plugin, nXIII implemented the tag (hooked the plugin into the forums), and Lightnin/the ST deployed the new code to the forums.
Oh. I keep on forgetting that
(item [nXIII v] of [scratch users v])
is a moderator.
Edit: yup, I just KNEW that that bug would be there…

Last edited by davidkt (Aug. 30, 2013 22:15:52)


Remember when I looked like this? I still do.


Float, my Scratch 2.0 mod | My (somewhat under-construction) blog
clubpenguin552222
Scratcher
100+ posts

New [scratchblocks] tag

 
Yay!

<Scratch block share> <- Click on that
Projects i really love: CAA14's Engine center
Williamja
Scratcher
65 posts

New [scratchblocks] tag

I just love these red blocks!!! :D

if <[williamja] = [awesome]> then
forever
change [game views v] by [9001]
end
else
we don't even need an else... everyone knows i'm always awesome. :)
blob8108
Scratcher
1000+ posts

New [scratchblocks] tag

davidkt wrote:

Edit: yup, I just KNEW that that bug would be there…
Which bug?

tosh · tosh
clubpenguin552222
Scratcher
100+ posts

New [scratchblocks] tag

define Great!
say [Great!] for (2) secs
stop [nothing v]

<>=Sprite

/Great!
<>/

Last edited by clubpenguin552222 (Aug. 30, 2013 22:26:44)


<Scratch block share> <- Click on that
Projects i really love: CAA14's Engine center

Powered by DjangoBB

Standard | Mobile