Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Official [scratchblocks] Testing Topic 9
- 17Domin0
- Scratcher
100+ posts
Official [scratchblocks] Testing Topic 9
when green flag clicked
be king of the page::events
Last edited by 17Domin0 (Sept. 24, 2024 17:25:06)
- 17Domin0
- Scratcher
100+ posts
Official [scratchblocks] Testing Topic 9
cormack :: sensing hat
muck your pen :: pen
muckky pen :: pen cap
muckky pen :: pen hat
wait (100) seconds :: control
[clean v] your pen :: pen
cormack :: sensing cap
when gf clicked
forever
if <(pen::pen)=(clean::pen)> then {
wait (100) seconds :: control
cormack :: sensing cap
} else <(pen::pen)=(muckky::pen)> then {
speak [muckky]::pen
}(-::control) (+::control):: control
end
THE COLORBLOCKS: Reddy, Orangey, Yellowy, Greeny, Bluey, and Purpley
By the way, I have the same thing…
when green flag clicked…but it’s an improved version of your blocks!
if <(pen::pen)=(clean::pen)> then {
muck your pen :: pen
muckky pen :: pen cap
}else{
[clean v] your pen :: pen
}(-::control)(+::control)::control cap
Last edited by 17Domin0 (Sept. 26, 2024 22:44:21)
- 1080GBA
- Scratcher
500+ posts
Official [scratchblocks] Testing Topic 9
point towards x: [] y: []::motion
(distance to x: [] y: []::sensing)
(if <> then () else ()::control)
return []::custom cap//only in custom block definitions
- QuaticB-
- Scratcher
92 posts
Official [scratchblocks] Testing Topic 9
nice blockspoint towards x: () y: ()::motion
(distance to x: () y: ()::sensing)
(if <> then () else ()::control)
return ()::custom cap//only in custom block definitions
Last edited by QuaticB- (Sept. 24, 2024 18:58:53)
- 17Domin0
- Scratcher
100+ posts
Official [scratchblocks] Testing Topic 9
point towards x: (0) y: (0)::motion
(distance to x: (0) y: (0)::sensing)
(if [mean] then [report] else [answer]::control)
return [other blocks]::custom//only in custom block definitions
Last edited by 17Domin0 (Sept. 24, 2024 21:03:49)
- 17Domin0
- Scratcher
100+ posts
Official [scratchblocks] Testing Topic 9
You said a word you shouldn’tthis mean'swhen we start::hat
fart::operatorswhen we start::hat
say to fart dont go just a second::pen
fart no i fart
me OOF
class hehe
teacher OH NO
me again EMOTIONAL DAMAGE
Last edited by 17Domin0 (Sept. 24, 2024 21:04:10)
- 17Domin0
- Scratcher
100+ posts
Official [scratchblocks] Testing Topic 9
set pen color to [red]
pen up
stamp
pen down
- kirbcraftforeal
- Scratcher
100+ posts
Official [scratchblocks] Testing Topic 9
Scratch hacks: {{{{{::hat motion}::hat motion}::hat motion}::motion hat}::motion hat} :: events ring // Am I hacking?
move {{{when green flag clicked} :: events hat} :: events hat} steps :: motion stack
Last edited by kirbcraftforeal (Sept. 24, 2024 21:22:24)
- megabooks
- Scratcher
2 posts
Official [scratchblocks] Testing Topic 9
when green flag clicked
forever
say [THIS IS AWESOME]
end
wowzers!!!!1!!11!1
move (stamp) steps
Last edited by megabooks (Sept. 25, 2024 04:27:39)
- megabooks
- Scratcher
2 posts
Official [scratchblocks] Testing Topic 9
when (clear) > (20)
turn ccw (stamp) degrees
Last edited by megabooks (Sept. 25, 2024 04:33:55)
- Underwhite
- Scratcher
100+ posts
Official [scratchblocks] Testing Topic 9
alrigh
play sound [Arcophobia v] // haha notes go brrrrrrr >w<
- 1080GBA
- Scratcher
500+ posts
Official [scratchblocks] Testing Topic 9
(#3624)alsonice blockspoint towards x: () y: ()::motion
(distance to x: () y: ()::sensing)
(if <> then () else ()::control)
return ()::custom cap//only in custom block definitions
(π::operators)//pi
why are there no color inputs like this: [#303030] and menus like [this v]::custom
set (my variable) to []::variables
- 1080GBA
- Scratcher
500+ posts
Official [scratchblocks] Testing Topic 9
//3D blocks
go to x:[] y:[] z:[]::#24D0B3
move [] steps::#24D0B3
point towards x:[] y:[] z:[]::#24D0B3
point in direction [][][]::#24D0B3
(distance from x:[] y:[] z:[] to x:[] y:[] z:[]::#24D0B3)
(x position::#24D0B3)
(y position::#24D0B3)
(z position::#24D0B3)
set size to []::#24D0B3
(size::#24D0B3)
set 3D pen size to []::#24D0B3
Last edited by 1080GBA (Sept. 25, 2024 10:06:45)
- supertecla
- Scratcher
8 posts
Official [scratchblocks] Testing Topic 9
move () steps
play sound [ v] until done
- nam049499reborn
- Scratcher
100 posts
Official [scratchblocks] Testing Topic 9
move () steps
move () steps
move () steps
move () steps
move () steps
move () steps
move () steps
move () steps
move () steps
move () steps
move () steps
move () steps
move () steps
move () steps
move () steps
move () steps
move () steps
move () steps
move () steps
move () steps
move () steps
move () steps
move () steps
move () steps
move () steps
move () steps
move () steps
Last edited by nam049499reborn (Sept. 25, 2024 11:39:12)
- 17Domin0
- Scratcher
100+ posts
Official [scratchblocks] Testing Topic 9
#hacksScratch hacks: {{{{{::hat motion}::hat motion}::hat motion}::motion hat}::motion hat} :: events ring // Am I hacking?move {{{when green flag clicked} :: events hat} :: events hat} steps :: motion stack
- 17Domin0
- Scratcher
100+ posts
Official [scratchblocks] Testing Topic 9
when <[board]=(clear)>::events
turn ccw (stamp) degrees
- 17Domin0
- Scratcher
100+ posts
Official [scratchblocks] Testing Topic 9
Two ways to break Scratch:
1.
1.
when green flag clicked::control2.
stop [all v]
when I start as a clone
forever
create clone of [myself v]
delete this clone
end
Last edited by 17Domin0 (Sept. 25, 2024 14:39:41)
- 17Domin0
- Scratcher
100+ posts
Official [scratchblocks] Testing Topic 9
Do you see how I improved your blocks?when green flag clicked
forever
at the same time{
move (1) steps
play sound [footsteps v]
}::control
end
Last edited by 17Domin0 (Sept. 25, 2024 14:42:16)