Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Official [scratchblocks] Testing Topic 5
- Miggy6695
-
Scratcher
100+ posts
Official [scratchblocks] Testing Topic 5
when <mouse down?> is false :: hat :: events
stop [other scripts in sprite v] :: stack
play note ( 65) for (0.5) beats
show all sprites :: looks
if the [Milky Way v] Galaxy is (100000) [Light Years v] :: hat :: events
dance for (2) seconds
broadcast [Win v]
play sound [Cheer v] until done
repeat (100)
set [pixelate v] effect by (250)
change [pitch v] by (1)
end
stop [all v]
- INSERT-USER_NAME
-
Scratcher
1000+ posts
Official [scratchblocks] Testing Topic 5
when gf clicked
forever
say [CLICKLE THE PICKLE]
end
- JonatasPoliglotakids
-
Scratcher
48 posts
Official [scratchblocks] Testing Topic 5
:: hat
when i start as a stamp
change stretch effect by (25)
:: looks
:: pen
Last edited by JonatasPoliglotakids (Aug. 25, 2022 21:59:18)
- MarcosDaNuevo
-
Scratcher
6 posts
Official [scratchblocks] Testing Topic 5
Imagine if this was real
go to x: (10) y: (0) z: (12)
switch Model to [Doom E1M1]
- TippyAlarm54609
-
Scratcher
4 posts
Official [scratchblocks] Testing Topic 5
Check Out My Profile: https://scratch.mit.edu/users/TippyAlarm54609/
- user_scratch_20
-
Scratcher
26 posts
Official [scratchblocks] Testing Topic 5
Never {
} Gonna {
} Give {
} You {
} Up
Never {
} Gonna {
} Let {
} You {
} Down
Never {
} Gonna {
} Run {
} Around {
} And {
} Desert YouLast edited by user_scratch_20 (Aug. 25, 2022 23:15:51)
- Cordongreen
-
Scratcher
1000+ posts
Official [scratchblocks] Testing Topic 5
Better cloning 

create independent clone named [ v] of [ v]::control
when i'm independent clone named [ v]:: control hat
(clones::control)
delete only this clone:: control cap
(clone ID::control)
<is touching clone of [ v]?::control>
<is touching independent clone named [ v]?::control>
- Cordongreen
-
Scratcher
1000+ posts
Official [scratchblocks] Testing Topic 5
New extension: face control extension
B) show emotion [smile v]::extensionTo do this amazing stuff with your face, you have to buy a bucket of tiny microbot dust
<B) when touching [sweat v]?::extension>
B) destroy face::extension
B) When put on [nose v]:: extension hat
(emotion::extension)
B) set face size to (100)::extension
B) change face size by (10)::extension
(face size::extension)
B) force face to mouth [Hello!]::extension
B) set [color v] on face to (0)::extension
B) change [color v] on face by (25)::extension
(face [color v]::extension)
<B) color of face is color [#c39678]?::extension>
B) When color of face is [#c39678]::extension hat
Last edited by Cordongreen (Aug. 26, 2022 02:56:24)
- Miggy6695
-
Scratcher
100+ posts
Official [scratchblocks] Testing Topic 5
Random Blocks I Made
<key [enter v] pressed?>
last key pressed :: extension :: reporter
hide all sprites :: looks
forever if <> :: control
end
sense color 3 () :: looks
when <> is true :: events :: hat
when <> is false :: events :: hat
stop all :: control :: cap
stop script :: control :: cap
point away from edge :: motion
beep :: sound
Scroll Up () :: motion
start movie :: sound
stop movie :: sound
stamp transparent () :: pen
set stretch to () :: looks
say nothing :: looks
Last edited by Miggy6695 (Aug. 26, 2022 03:07:39)
- Cordongreen
-
Scratcher
1000+ posts
Official [scratchblocks] Testing Topic 5
Check Out My Profile: https://scratch.mit.edu/users/TippyAlarm54609/This forum is for block testing, not telling scratchers to go to your profile
- Cordongreen
-
Scratcher
1000+ posts
Official [scratchblocks] Testing Topic 5
Custom booleans
define <clicked?::custom-arg>
report<<touching [cursor v]?>and<mouse down?>> ::control
<clicked?::custom>
- Miggy6695
-
Scratcher
100+ posts
Official [scratchblocks] Testing Topic 5
scratch but everything is a cap
when green flag clicked :: cap
pen up :: cap
play sound [ v] :: cap
when i start as a clone :: cap
add [thing] to [list v] :: cap
move (10) steps :: cap
wait (1) secs :: cap
stop all sounds :: cap
when this sprite clicked :: cap
Last edited by Miggy6695 (Aug. 26, 2022 03:11:25)
- Miggy6695
-
Scratcher
100+ posts
Official [scratchblocks] Testing Topic 5
when green flag clicked :: motion
when green flag clicked :: looks
when green flag clicked :: sound
when green flag clicked
when green flag clicked :: control
when green flag clicked :: sensing
when green flag clicked :: operators
when green flag clicked :: variables
when green flag clicked :: list
when green flag clicked :: custom
when green flag clicked :: extension
when green flag clicked :: #ff0000
Last edited by Miggy6695 (Aug. 26, 2022 03:14:24)
- Miggy6695
-
Scratcher
100+ posts
Official [scratchblocks] Testing Topic 5
hat :: hat
stack
boolean :: boolean
reporter :: reporter
cap :: cap
Last edited by Miggy6695 (Aug. 26, 2022 03:16:06)
- Cordongreen
-
Scratcher
1000+ posts
Official [scratchblocks] Testing Topic 5
Custom reporters
define (current decade::custom-arg)
report((current [year v]) / (10)) ::control
(current decade::custom)
Last edited by Cordongreen (Aug. 26, 2022 03:22:06)
- Cordongreen
-
Scratcher
1000+ posts
Official [scratchblocks] Testing Topic 5
custom hats
define When love clicked:: custom-arg hat
report <<(mouse x) = [-240]> and <<(mouse y) = [-180]> and <mouse down?>> ::control
When love clicked::custom hat
Last edited by Cordongreen (Aug. 26, 2022 03:33:40)
- Cordongreen
-
Scratcher
1000+ posts
Official [scratchblocks] Testing Topic 5
Custom caps
define stop this sprite:: custom-arg cap
stop [other scripts in sprite v]
stop [this script v]
stop this sprite::custom cap
- Cordongreen
-
Scratcher
1000+ posts
Official [scratchblocks] Testing Topic 5
Custom C blocks
define for (Var::variables) in (N::custom-arg) script::custom-arg stack {}
loop (N::custom-arg) {
script::custom-arg
change [Var v] by [1]
} ::control
for [Var v] in (10) {
} ::customLast edited by Cordongreen (Aug. 26, 2022 04:37:58)
- Discussion Forums
- » Help with Scripts
-
» Official [scratchblocks] Testing Topic 5







