Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Official [scratchblocks] Testing Topic 9
- 17Domin0
- Scratcher
100+ posts
Official [scratchblocks] Testing Topic 9
chess(::#ffffff) (::#000000) (::#ffffff) (::#000000) (::#ffffff) (::#000000) (::#ffffff) (::#000000)::grey
(::#000000) (::#ffffff) (::#000000) (::#ffffff) (::#000000) (::#ffffff) (::#000000) (::#ffffff)::grey
(::#ffffff) (::#000000) (::#ffffff) (::#000000) (::#ffffff) (::#000000) (::#ffffff) (::#000000)::grey
(::#000000) (::#ffffff) (::#000000) (::#ffffff) (::#000000) (::#ffffff) (::#000000) (::#ffffff)::grey
(::#ffffff) (::#000000) (::#ffffff) (::#000000) (::#ffffff) (::#000000) (::#ffffff) (::#000000)::grey
(::#000000) (::#ffffff) (::#000000) (::#ffffff) (::#000000) (::#ffffff) (::#000000) (::#ffffff)::grey
(::#ffffff) (::#000000) (::#ffffff) (::#000000) (::#ffffff) (::#000000) (::#ffffff) (::#000000)::grey
(::#000000) (::#ffffff) (::#000000) (::#ffffff) (::#000000) (::#ffffff) (::#000000) (::#ffffff)::grey
Last edited by 17Domin0 (Sept. 3, 2024 17:13:25)
- kouhei-1
- Scratcher
500+ posts
Official [scratchblocks] Testing Topic 9
@greenflag が押されたとき::events hat
- Ollie-Young
- Scratcher
500+ posts
Official [scratchblocks] Testing Topic 9
move () steps
turn cw () degrees
turn ccw () degrees
point in direction ( v)
point towards [ v]
go to x: () y: (0)
go to [ v]
glide () secs to x: (0) y: (0)
change x by ()
set x to ()
change y by ()
set y to ()
if on edge, bounce
set rotation style [ v]
say [] for (2) secs
say []
think [] for (2) secs
think []
show
hide
switch costume to [ v]
next costume
switch backdrop to [ v]
switch backdrop to [ v] and wait
next backdrop
change [ v] effect by (25)
set [ v] effect to (0)
clear graphic effects
change size by ()
set size to () %
go to front
go back () layers
play sound [ v]
play sound [ v] until done
stop all sounds
play drum ( v) for (0.25) beats
rest for () beats
play note ( v) for (0.5) beats
set instrument to ( v)
change volume by ()
set volume to () %
change tempo by ()
set tempo to () bpm
clear
stamp
pen down
pen up
set pen color to [#18096a]
change pen color by ()
set pen color to ()
change pen shade by ()
set pen shade to ()
change pen size by ()
set pen size to ()
when green flag clicked
when [ v] key pressed
when this sprite clicked
when backdrop switches to [ v]
when [ v] > (10)
when I receive [ v]
broadcast [ v]
broadcast [ v] and wait
wait () secs
repeat ()
end
forever
end
if <> then
end
if <> then
else
end
wait until <>
repeat until <>
end
stop [ v]
when I start as a clone
create clone of [ v]
delete this clone
ask [] and wait
turn video [ v]
set video transparency to (
set [ v] to []) %
change [ v] by (0)
show variable [ v]
hide variable [ v]
add [] to [list v]
delete ( v) of [list v]
insert [] at (1 v) of [list v]
replace item ( v) of [list v] with [thing]
show list [ v]
hide list [ v]
define
- thebruce10
- Scratcher
19 posts
Official [scratchblocks] Testing Topic 9
when green flag clicked
clear
move (foo)(foo)(foo) steps
My browser / operating system: Windows NT 10.0, Chrome 128.0.0.0, No Flash version detected
- Ollie-Young
- Scratcher
500+ posts
Official [scratchblocks] Testing Topic 9
when green flag clicked
clear
move (foo)(foo)(foo) steps
My browser / operating system: Windows NT 10.0, Chrome 128.0.0.0, No Flash version detected
Crowdstrike be like {
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
} :: variables
Last edited by Ollie-Young (Sept. 4, 2024 08:09:03)
- AZEEM_AZFAR
- Scratcher
65 posts
Official [scratchblocks] Testing Topic 9
when stop sign clicked
Last edited by AZEEM_AZFAR (Sept. 4, 2024 08:15:33)
- AZEEM_AZFAR
- Scratcher
65 posts
Official [scratchblocks] Testing Topic 9
when green flag clicked
clear
move (foo)(foo)(foo) steps
My browser / operating system: Windows NT 10.0, Chrome 128.0.0.0, No Flash version detectedCrowdstrike be like {
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp[quote=Ollie-Young][quote=thebruce10][scratchblocks]
when green flag clicked
clear
move (foo)(foo)(foo) steps
My browser / operating system: Windows NT 10.0, Chrome 128.0.0.0, No Flash version detected
[/scratchblocks][/quote]
[scratchblocks]
Crowdstrike be like {
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
stamp
} :: variables
- AZEEM_AZFAR
- Scratcher
65 posts
Official [scratchblocks] Testing Topic 9
[quote=Ollie-Young][scratchblocks]
move () steps
turn cw () degrees
turn ccw () degrees
point in direction ( v)
point towards [ v]
go to x: () y: (0)
go to [ v]
glide () secs to x: (0) y: (0)
change x by ()
set x to ()
change y by ()
set y to ()
if on edge, bounce
set rotation style [ v]
say [] for (2) secs
say []
think [] for (2) secs
think []
show
hide
switch costume to [ v]
next costume
switch backdrop to [ v]
switch backdrop to [ v] and wait
next backdrop
change [ v] effect by (25)
set [ v] effect to (0)
clear graphic effects
change size by ()
set size to () %
go to front
go back () layers
play sound [ v]
play sound [ v] until done
stop all sounds
play drum ( v) for (0.25) beats
rest for () beats
play note ( v) for (0.5) beats
set instrument to ( v)
change volume by ()
set volume to () %
change tempo by ()
set tempo to () bpm
clear
stamp
pen down
pen up
set pen color to [#18096a]
change pen color by ()
set pen color to ()
change pen shade by ()
set pen shade to ()
change pen size by ()
set pen size to ()
when green flag clicked
when [ v] key pressed
when this sprite clicked
when backdrop switches to [ v]
when [ v] > (10)
when I receive [ v]
broadcast [ v]
broadcast [ v] and wait
wait () secs
repeat ()
end
forever
end
if <> then
end
if <> then
else
end
wait until <>
repeat until <>
end
stop [ v]
when I start as a clone
create clone of [ v]
delete this clone
ask [] and wait
turn video [ v]
set video transparency to (
set [ v] to []) %
change [ v] by (0)
show variable [ v]
hide variable [ v]
add [] to [list v]
delete ( v) of [list v]
insert [] at (1 v) of [list v]
replace item ( v) of [list v] with [thing]
show list [ v]
hide list [ v]
define
[/scratchblocks][/quote]
scratch :: hat block
Last edited by AZEEM_AZFAR (Sept. 4, 2024 08:20:40)
- AZEEM_AZFAR
- Scratcher
65 posts
Official [scratchblocks] Testing Topic 9
scratch :: hat block :: events
- AZEEM_AZFAR
- Scratcher
65 posts
Official [scratchblocks] Testing Topic 9
when :cool: clicked :: hat block :: events
- vdiaz041
- Scratcher
100+ posts
Official [scratchblocks] Testing Topic 9
All motion blocks in 3.0
move (10) steps
turn cw (15) degrees
turn ccw (15) degrees
go to [random position v]
go to x: (0) y: (0)
glide (1) secs to [random position v]:: motion
glide (1) secs to x: (0) y: (0)
point in direction (90)
point towards [mouse-pointer v]
change x by (10)
set x to (0)
change y by (10)
set y to (0)
if on edge, bounce
set rotation style [left-right v]
(x position)
(y position)
(direction)
Last edited by vdiaz041 (Sept. 4, 2024 12:06:30)
- 17Domin0
- Scratcher
100+ posts
Official [scratchblocks] Testing Topic 9
when green flag clicked
clear
move (foo)(foo)(foo) steps
My browser / operating system: Windows NT 10.0, Chrome 128.0.0.0, No Flash version detectedCrowdstrike be like {
forever
stamp
end
} :: variables
- Saifan2014
- Scratcher
100+ posts
Official [scratchblocks] Testing Topic 9
when green flag clicked(☁ score)
- noah07620
- Scratcher
100+ posts
Official [scratchblocks] Testing Topic 9
3.0 2.0.What All Motion blocks inmove () steps
turn cw () degrees
turn ccw () degrees
go to [ v]
go to x: () y: ()
glide () secs to [ v]:: motion
glide () secs to x: () y: ()
point in direction ()
point towards [ v]
change x by ()
set x to ()
change y by ()
set y to ()
if on edge, bounce
set rotation style [ v]
(x position)
(y position)
(direction)
- Saifan2014
- Scratcher
100+ posts
Official [scratchblocks] Testing Topic 9
when planet [Earth v] exists :: events hat
reject {
if <[broadcast v] recieved? :: events> then
draw cube :: extension
go to [code v] :: control
comment [oops rejected] :: grey
end
} :: control
- vdiaz041
- Scratcher
100+ posts
Official [scratchblocks] Testing Topic 9
All looks blocks in 3.0
say [Hello!] for (2) secs
say [Hello!]
think [Hmm...] for (2) secs
think [Hmm...]
switch costume to [costume1 v]
next costume
switch backdrop to [backdrop1 v]
switch backdrop to [backdrop1 v] and wait
next backdrop
change size by (10)
set size to (100) %
change [color v] effect by (25)
set [color v] effect to (0)
clear graphic effects
show
hide
go to [front v] layer:: looks
go [forward v] (1) layers::looks
(costume [number v] ::looks
(backdrop [number v] ::looks
size
- noah07620
- Scratcher
100+ posts
Official [scratchblocks] Testing Topic 9
Whatwhen planet [Earth] exists :: events hat
reject {
if <[broadcast v] recieved? :: events> then
draw 3d cube :: extension
go to [code v] :: control
comment [oops rejected] :: grey
end
} :: control
- vdiaz041
- Scratcher
100+ posts
Official [scratchblocks] Testing Topic 9
All sound blocks in 3.0
play sound [ v] until done
play sound [ v]
stop all sounds
change [pitch v] effect by (10)::sound
set [pitch v] effect to (100)::sound
clear sound effects::sound
change volume by (-10)
set volume to (100) %
(volume)