Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » The Official Guide to the Scratchblocks Plugin
- CodersAreGoingOnHere
-
Scratcher
100+ posts
The Official Guide to the Scratchblocks Plugin
when video motion > (10) ::cat //3.0 blocks?
- unnor
-
Scratcher
1000+ posts
The Official Guide to the Scratchblocks Plugin
when green flag clicked
forever
Bacon!
end
define Bacon!
switch costume to [Hitbox v]
change y by (-10)
if <touching [Plate v] ?> then
change [☁ score v] by (1)
go to x: (pick random (-240) to (240)) y: (180)
end
if <touching [Table v] ?> then
go to x: (pick random (-240) to (240)) y: (180)
end
switch costume to [Bacon v]
- Create-Scratch101
-
Scratcher
500+ posts
The Official Guide to the Scratchblocks Plugin
Apparently the other 3.0 extensions work too-Yea…this is a block :: ev3Might want to add something about how to do that.
this is another block :: microbit
this is another block :: translate
Last edited by Create-Scratch101 (Nov. 7, 2024 12:32:48)
- han614698
-
Scratcher
1000+ posts
The Official Guide to the Scratchblocks Plugin
could i have some credit, i found out about the selected blocksTo be fair, I found the strikethrough in the wiki article (I have to look who and when it added it) and would’ve found the glow (what it’s called in the source code) about 10 minutes after you. But I’ll give you credit when I get on my computer.
You can now make highlighted and strikethrough blocks.They’re already added. Please let me know with anything else you see that I missed though![scratchblocks]
- strikethrough
+ highlighted
[/scratchblocks]- strikethrough
+ highlighted
Last edited by han614698 (Nov. 7, 2024 12:35:38)
- han614698
-
Scratcher
1000+ posts
The Official Guide to the Scratchblocks Plugin
Section 3.3, third thingApparently the other 3.0 extensions work too-Yea…this is a block :: ev3Might want to add something about how to do that.
this is another block :: microbit
this is another block :: translate
Last edited by han614698 (Nov. 7, 2024 12:37:28)
- Mariolover2024
-
New Scratcher
20 posts
The Official Guide to the Scratchblocks Plugin
Eater
(X_X)
end :: gray
- newSUPERMARIOTRASH
-
Scratcher
500+ posts
The Official Guide to the Scratchblocks Plugin
if <eaten?::gdxfor> then {move forever::motion} ::control - newSUPERMARIOTRASH
-
Scratcher
500+ posts
The Official Guide to the Scratchblocks Plugin
if <eaten?::gdxfor> then {move forever::motion} ::control OOPS WRONG TOPIC- husqwc
-
Scratcher
2 posts
The Official Guide to the Scratchblocks Plugin
could i have some credit, i found out about the selected blocksTo be fair, I found the strikethrough in the wiki article (I have to look who and when it added it) and would’ve found the glow (what it’s called in the source code) about 10 minutes after you. But I’ll give you credit when I get on my computer.You can now make highlighted and strikethrough blocks.They’re already added. Please let me know with anything else you see that I missed though![scratchblocks]
- strikethrough
+ highlighted
[/scratchblocks]- strikethrough
+ highlighted
The + and - features are supposed to be used in Scratch learning material to show the addition and removal of a block from a script, which is why the broken + notation on reporters was never fixed (see GitHub issue #351).
+ mouse x
- husqwc
-
Scratcher
2 posts
The Official Guide to the Scratchblocks Plugin
Also both dropdown examples need fixes; the costume block no longer uses an uninsertable dropdown in Scratch 3.0, and the insertable dropdown has a fake dropdown option (might I suggest switching it with the costume block?)
- han614698
-
Scratcher
1000+ posts
The Official Guide to the Scratchblocks Plugin
Also both dropdown examples need fixes; the costume block no longer uses an uninsertable dropdown in Scratch 3.0, and the insertable dropdown has a fake dropdown option (might I suggest switching it with the costume block?)I didn’t change the costume one because the costume block in the menu still uses an uninsertable dropdown.
- SpyCoderX
-
Scratcher
1000+ posts
The Official Guide to the Scratchblocks Plugin
To display a custom block, you have to type your the normally with “define” in front of it.Is that supposed to be “type your text normally”?
Last edited by SpyCoderX (Nov. 8, 2024 15:41:36)
- han614698
-
Scratcher
1000+ posts
The Official Guide to the Scratchblocks Plugin
ProbablyTo display a custom block, you have to type your the normally with “define” in front of it.Is that supposed to be “type your text normally”?
- DaJoisright
-
Scratcher
100+ posts
The Official Guide to the Scratchblocks Plugin
[quote=abrakaidabra]Wait, you can do cat blocks now?
[scratchblocks]
cat hat :: cat events
say [Yay, cat blocks!] for (2) seconds
ask [Are cat blocks fun?] and wait
if <not <(answer) = [Yes!]>> then
):|
[/scratchblocks][/quote]
[scratchblocks]
cat hat :: when green flag clicked
[/scratchblocks]
- Scratch137
-
Scratcher
1000+ posts
The Official Guide to the Scratchblocks Plugin
I don't know if this is really necessary to include, but there's actually another way to create the “when green flag clicked” block:
when @greenFlag clicked
when @greenFlag clickedCombined with the full syntax, and the existing shorthand variants, this makes five different ways to create the same block.
- han614698
-
Scratcher
1000+ posts
The Official Guide to the Scratchblocks Plugin
I don't know if this is really necessary to include, but there's actually another way to create the “when green flag clicked” block:Honestly all of what I have is a bit much, no one is typing that unicode character.when @greenFlag clickedwhen @greenFlag clickedCombined with the full syntax, and the existing shorthand variants, this makes five different ways to create the same block.
- idkeeeeeerkg4
-
Scratcher
88 posts
The Official Guide to the Scratchblocks Plugin
Red Block :: #FF0000
Yellow Block :: #FFFF00
Placeholder Block :: placeholder
Motion :: motion
Hat Block :: hat
Events Block :: event
Default Custom Block
Blue Block :: #00FF00
Looks Block :: looks
- jmb1293634
-
Scratcher
1000+ posts
The Official Guide to the Scratchblocks Plugin
the colour thing in advanced didn't work
also if you have say a booleen and a colour which one goes first
also if you have say a booleen and a colour which one goes first
Last edited by jmb1293634 (Nov. 13, 2024 17:10:28)
- han614698
-
Scratcher
1000+ posts
The Official Guide to the Scratchblocks Plugin
the colour thing in advanced didn't workit should work - what code did you try
also if you have say a booleen and a colour which one goes first
if doesn’t matter which one goes first
- Discussion Forums
- » Help with Scripts
-
» The Official Guide to the Scratchblocks Plugin











