Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Official [scratchblocks] Testing Topic 5
- Cordongreen
- Scratcher
1000+ posts
Official [scratchblocks] Testing Topic 5
https://scratch.mit.edu/users/TippyAlarm54609/This forum is for block testing, not telling scratchers to go to your profile Check Out My Profile:
My name is Cordongreen. I'm thinking of making projects and maybe even writing???
when forums entered::#5e02cf hat
always{
if <[post v]is[supposed to show v]::extension> then
load [post v]::#a2cf02
load [signature v]at x:(-90)y:(-20)::#a2cf02
}::#02cf9f
- 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>
My name is Cordongreen. I'm thinking of making projects and maybe even writing???
when forums entered::#5e02cf hat
always{
if <[post v]is[supposed to show v]::extension> then
load [post v]::#a2cf02
load [signature v]at x:(-90)y:(-20)::#a2cf02
}::#02cf9f
- 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)
welcome to my signature
if <key [miggy6695 v] pressed?> then
set pen color to (miggy6695)
stop all sounds and clear sound effects :: sound
end
Miggy6695
- 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)
welcome to my signature
if <key [miggy6695 v] pressed?> then
set pen color to (miggy6695)
stop all sounds and clear sound effects :: sound
end
Miggy6695
- 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)
welcome to my signature
if <key [miggy6695 v] pressed?> then
set pen color to (miggy6695)
stop all sounds and clear sound effects :: sound
end
Miggy6695
- 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)
My name is Cordongreen. I'm thinking of making projects and maybe even writing???
when forums entered::#5e02cf hat
always{
if <[post v]is[supposed to show v]::extension> then
load [post v]::#a2cf02
load [signature v]at x:(-90)y:(-20)::#a2cf02
}::#02cf9f
- 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)
My name is Cordongreen. I'm thinking of making projects and maybe even writing???
when forums entered::#5e02cf hat
always{
if <[post v]is[supposed to show v]::extension> then
load [post v]::#a2cf02
load [signature v]at x:(-90)y:(-20)::#a2cf02
}::#02cf9f
- 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
My name is Cordongreen. I'm thinking of making projects and maybe even writing???
when forums entered::#5e02cf hat
always{
if <[post v]is[supposed to show v]::extension> then
load [post v]::#a2cf02
load [signature v]at x:(-90)y:(-20)::#a2cf02
}::#02cf9f
- 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) {
} ::custom
Last edited by Cordongreen (Aug. 26, 2022 04:37:58)
My name is Cordongreen. I'm thinking of making projects and maybe even writing???
when forums entered::#5e02cf hat
always{
if <[post v]is[supposed to show v]::extension> then
load [post v]::#a2cf02
load [signature v]at x:(-90)y:(-20)::#a2cf02
}::#02cf9f
- Discussion Forums
- » Help with Scripts
- » Official [scratchblocks] Testing Topic 5