Discuss Scratch

Paddle2See
Scratch Team
1000+ posts

Official [scratchblocks] testing topic 2

Use this topic to test out the [scratchblocks] tag on the forums!

when green flag clicked
say [Test out Scratchblocks!!!]

You can also use the preview button (green check button) to test out Scratchblocks as you create your post.



Please do not repeatedly spam this thread or try to make ongoing stories, though. Once you are familiar with the plugin, please stop posting here. Also, please don't make massive scripts that kill the browser - be considerate of your fellow Scratchers

If you want to convert a script in a project, please use blob8108's converter.

Also, check out blob8108's Scratchblocks test page.

For more information on the Scratchblocks formatting syntax, see the topic in the Wiki

or, this nice tutorial topic by @theonlygusti


Credit to @jvvg for the original topic on these forums.
Credit to @78ch3 (with help from others) for hosting a version of the topic here
Link to the last version of the topic

beeeeees
Scratcher
2 posts

Official [scratchblocks] testing topic 2

forever
say [BuzzzzzzzzZZzzzzzz]
end
Nambaseking01
Scratcher
1000+ posts

Official [scratchblocks] testing topic 2

when topic opened :: events hat block
say [Wow, Nambaseking01 has the second post!] for (2) secs
Victoriix
Scratcher
35 posts

Official [scratchblocks] testing topic 2

a hat with a (hat with a (hat with a(hat with a(hat with a(hat :: grey hat) :: grey hat) :: grey hat) :: grey hat) :: grey hat ) :: grey hat
and a cap with a (hat with a (hat with a(hat with a(hat ::grey hat) :: grey hat) :: grey hat) :: grey hat) :: cap
Owengren
Scratcher
100+ posts

Official [scratchblocks] testing topic 2

I have discovered something new in scratchblocks.
Outlines and strokes!

Syntax:
+move (10) steps
-say [Hello!] for (2) secs
Nambaseking01
Scratcher
1000+ posts

Official [scratchblocks] testing topic 2

Owengren wrote:

I have discovered something new in scratchblocks.
Outlines and strokes!

Syntax:
+move (10) steps
-say [Hello!] for (2) secs

Whoa! That's so cool! :D

Last edited by Nambaseking01 (Nov. 5, 2019 18:10:54)

EDGE_X
Scratcher
100+ posts

Official [scratchblocks] testing topic 2

a hat with a
EDGE_X
Scratcher
100+ posts

Official [scratchblocks] testing topic 2

Missing Blocks from scratch:

rotate [all around v] (1) times :: motion

rotate around [Sprite1 v] :: motion

say nothing :: looks

think nothing :: looks

previous costume :: looks

random costume :: looks

previous backdrop :: looks

random backdrop :: looks

go to back :: looks

when octogon clicked :: events hat

when [loudness v] < (10) :: events hat

stop [Sprite1 v] :: control

stop [all except this v] ::control

end :: cap

show timer :: sensing

hide timer :: sensing

<> if <> :: operators boolean

define have mercy :: grey hat

Last edited by EDGE_X (Nov. 7, 2019 00:54:58)

TMF10
Scratcher
100+ posts

Official [scratchblocks] testing topic 2

don't mind me just coding your computer's demise

when green flag beat to death by a mouse :: hat events
eat banana pudding for (3) seconds :: control
explode :: custom

define explode
toss banana pudding out of window for (pick random (1) to (55)) seconds :: motion
play sound (ka-boom v)
repeat (99)
create clone of (myself v)
end
crash computer for (99) years :: events

when I start as a clone
switch costume to (explosion piece v)
point in direction (pick random (-180) to (180)
repeat until <touching [edge v] ?>
move (10) steps
end
acuccoder
Scratcher
85 posts

Official [scratchblocks] testing topic 2

move () steps
acuccoder
Scratcher
85 posts

Official [scratchblocks] testing topic 2

a hat with a hat::blue capa hat with a hat with a hat::blue capa hat with a hat::blue capa hat with a hat::blue capa hat with a hat::blue capa hat with a hat::blue capa hat with a hat::blue capa hat with a hat::blue capa hat with a hat::blue capa hat with a hat::blue capa hat with a hat::blue capa hat with a hat::blue capa hat with a hat::blue capa hat with a hat::blue capa hat with a hat::blue cap
a hat::blue capa hat with a hat::blue capa hat with a hat::blue cap
acuccoder
Scratcher
85 posts

Official [scratchblocks] testing topic 2

hello :: red hat

Last edited by acuccoder (Nov. 6, 2019 23:03:53)

acuccoder
Scratcher
85 posts

Official [scratchblocks] testing topic 2

when green flag clicked:: yellow hat

Last edited by acuccoder (Nov. 6, 2019 23:09:00)

DipLeChip
Scratcher
1000+ posts

Official [scratchblocks] testing topic 2

Oh hey new testing topic. Time to into learn how to proper into scratch block yes.

when gf clicked
forever
if <<[people] = [nice]> and <[me] = [nice]>> then
say [hi]
end
-Reshiram-
Scratcher
100+ posts

Official [scratchblocks] testing topic 2

eighteenth::control
animate1735
Scratcher
43 posts

Official [scratchblocks] testing topic 2

when green flag clicked
forever
stretch [x v] by (25)
end

when green flag clicked
say [I think it will be a great block] for (3.2) secs
EDGE_X
Scratcher
100+ posts

Official [scratchblocks] testing topic 2

Hey guys I just found out something about scratch blocks!

If you use this character { then you can make blocks like this:
if <> then

end

Example:
if <> then {
EDGE_X
Scratcher
100+ posts

Official [scratchblocks] testing topic 2

Motion :: motion

Looks :: looks

Sound :: sound

Pen :: pen

Events :: events

Control :: control

Sensing :: sensing

Operators :: operators

Variables :: variables

List :: list

Custom :: custom

Grey :: grey

Others ::

Last edited by EDGE_X (Nov. 7, 2019 20:00:55)

animate1735
Scratcher
43 posts

Official [scratchblocks] testing topic 2

When green flag clicked
Play sound [Chime v]
Broadcast [Start v]
...
Thats :: hat :: events
what [im v] [working] on :: cap :: events

Last edited by animate1735 (Nov. 7, 2019 22:19:03)

Boomer001
Scratcher
1000+ posts

Official [scratchblocks] testing topic 2

This script glitches the stop sign and the green flag
when [timer v] > (0) // try a different number for the speed
reset timer
stop [all v]
You can also add this script. When someone clicks the stop sign, it will start to glitch:
when green flag clicked
forever
reset timer
end
Have fun with these scripts!

Last edited by Boomer001 (Nov. 8, 2019 15:21:15)

Powered by DjangoBB