Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Official [scratchblocks] testing topic
- -ShadowOfTheFuture-
-
Scratcher
1000+ posts
Official [scratchblocks] testing topic
when visiting scratch.mit.edu :: events hat
forever
Imagine :: list
Program :: operators
Share :: motion
SCRATCH ON! :: variables
end
- -ShadowOfTheFuture-
-
Scratcher
1000+ posts
Official [scratchblocks] testing topic
:: #000000
:: #111111
:: #222222
:: #333333
:: #444444
:: #555555
:: #666666
:: #777777
:: #888888
:: #999999
:: #aaaaaa
:: #bbbbbb
:: #cccccc
:: #dddddd
:: #eeeeee
:: #ffffff
Grayscales are beautiful.

- Poketale_0223
-
Scratcher
65 posts
Official [scratchblocks] testing topic
2COOL4MYI's!!:: #000000
:: #111111
:: #222222
:: #333333
:: #444444
:: #555555
:: #666666
:: #777777
:: #888888
:: #999999
:: #aaaaaa
:: #bbbbbb
:: #cccccc
:: #dddddd
:: #eeeeee
:: #ffffff
Grayscales are beautiful.
- dogeiscut
-
Scratcher
500+ posts
Official [scratchblocks] testing topic
(my v)
[my v]
my v
{my v}
<my v>
Last edited by dogeiscut (Aug. 8, 2017 23:02:20)
- pokemonsam2008
-
Scratcher
58 posts
Official [scratchblocks] testing topic
items () through () of (list v) :: list ring
[cube root v] of (8) :: operators ring
jump () pixels high, () up speed and () down speed :: motion
go to back :: looks
write [] , () width and () height at x: () y: () :: pen
- We-y
-
Scratcher
45 posts
Official [scratchblocks] testing topic
((((((((((COLOR RING::#ff0000)::#aa0055)::#5500aa)::#0000ff)::#0055aa)::#00aa55)::#00ff00)::#55aa00)::#aa5500)::#ff0000)
- We-y
-
Scratcher
45 posts
Official [scratchblocks] testing topic
when this sprite clicked (6) times in (0.1) second::events hat
1{
when green flag clicked::motion cap
move (1) steps::looks
}2{
when green flag clicked::looks boolean
move (2) steps::sound
}3{
when green flag clicked::variables ring
move (3) steps::pen
}4{
when green flag clicked::custom stack
move (4) steps::variables
}5{
when green flag clicked::sound a
move (5) steps::#eeee00
}6{
when green flag clicked::sensing cap
move (6) steps::#00cccc
}::control
- We-y
-
Scratcher
45 posts
Official [scratchblocks] testing topic
when I enter this topic::#eeee00 hat
forever::#00eeee
if < I receive [Don't spam in this topic! v]::events> then::#000000
ask [Does spam means shuaping in Chinese?] and wait::#55aa55
if <(answer::#ff55aa) = [yes]::#55aaff> then::#aaff55
say [I'm not spamming!!!]::#ee00ee
end
end
end
Last edited by We-y (Aug. 9, 2017 05:59:44)
- We-y
-
Scratcher
45 posts
Official [scratchblocks] testing topic
items () through () of (list v) :: list ring
[cube root v] of (8) :: operators ring
jump (1000) pixels high, (800000) up speed and (700000) down speed :: motion
go to back :: looks
write [Nothing] , (1) width and (1) height at x: (241) y: (181) :: pen
Last edited by We-y (Aug. 9, 2017 06:05:13)
- girlsruless
-
Scratcher
1000+ posts
Official [scratchblocks] testing topic
How are the blocks wider?Beyblades :: looks hat
<((R :: #F1444A):: variables) :: variables> vs. <((V :: #5FBED7):: motion) :: motion> :: list blocks
(((V :: #5FBED7):: motion):: motion) used Ultra Flash Rush Launch :: #30D6A4
<()(R :: #F1444A)() :: variables>
(():: #DACED2)
(V :: #000000)
Burst Finish!
- Poketale_0223
-
Scratcher
65 posts
Official [scratchblocks] testing topic
go to x: () y: () away from [mouse pointer v] ::motion
Last edited by Poketale_0223 (Aug. 9, 2017 13:38:22)
- GiorgosKarvelas365
-
Scratcher
100+ posts
Official [scratchblocks] testing topic
play sound [meow v] until key [space v] pressed::sound
Plays sound you specified but if you press a key like space for instance, it will stop without having the sound end.
- Poketale_0223
-
Scratcher
65 posts
Official [scratchblocks] testing topic
play sound [meow v] until key [space v] pressed::sound
Plays sound you specified but if you press a key like space for instance, it will stop without having the sound end.
when green flag clicked
forever
if <key [space v] pressed?> then
repeat until <key [space v] pressed?>
play sound [meow v]
end
end
end
but i like your idea better that this because new people to scratch won know how to do this so i think that will be great

- -ShadowOfTheFuture-
-
Scratcher
1000+ posts
Official [scratchblocks] testing topic
previous costume :: looks // self explanatory
run without screen refresh :: control // meant to be a c-shaped block
stop [ all v] for (1) seconds :: control // stops everything temporarily but resumes after specified time
((10) to the power (2) :: operators // everyone wants this
repeat ()
if <> then
exit loop :: control // stops looping prematurely
end
end
(costume width :: looks // self explanatory
(costume height :: looks // self explanatory
Last edited by -ShadowOfTheFuture- (Aug. 9, 2017 19:47:11)
- Charles12310
-
Scratcher
1000+ posts
Official [scratchblocks] testing topic
Won't work. Will play it too much times once.play sound [meow v] until key [space v] pressed::sound
Plays sound you specified but if you press a key like space for instance, it will stop without having the sound end.when green flag clicked
forever
if <key [space v] pressed?> then
repeat until <key [space v] pressed?>
play sound [meow v]
end
end
end
but i like your idea better that this because new people to scratch won know how to do this so i think that will be great
play sound [meow v]
wait until <key [space v] pressed?>
- YubNubEwok
-
Scratcher
1000+ posts
Official [scratchblocks] testing topic
When Death Star is blown up ::hat grey
forever
Throw an [ Ewok dance party] ::motion
play sound [ Yub Nub!] ::sound
Celebrate! ::looks
end
- Discussion Forums
- » Help with Scripts
-
» Official [scratchblocks] testing topic









