Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » The Official Guide to the Scratchblocks Plugin
- han614698
-
1000+ posts
The Official Guide to the Scratchblocks Plugin
(#102)You do cat blocks like this:
Wait, you can do cat blocks now?cat hat :: cat hat
say [Yay, cat blocks!] for (2) seconds
ask [Are cat blocks fun?] and wait
if <not <(answer) = [Yes!]>> then
:mad:
cat hat :: cat
saying “:: cat hat” cancels them both out, as cat blocks default to hat.
- abrakaidabra
-
100+ posts
The Official Guide to the Scratchblocks Plugin
Ah, ok thanks(#102)You do cat blocks like this:
Wait, you can do cat blocks now?cat hat :: cat hat
say [Yay, cat blocks!] for (2) seconds
ask [Are cat blocks fun?] and wait
if <not <(answer) = [Yes!]>> then
:mad:cat hat :: cat
saying “:: cat hat” cancels them both out, as cat blocks default to hat.
- starlightsparker
-
1000+ posts
The Official Guide to the Scratchblocks Plugin
You can now make highlighted and strikethrough blocks.
[scratchblocks]
- strikethrough
+ highlighted
[/scratchblocks]
- strikethrough
+ highlighted
Last edited by starlightsparker (Nov. 7, 2024 05:56:45)
- 8to16
-
1000+ posts
The Official Guide to the Scratchblocks Plugin
could i have some credit, i found out about the selected blocks
- CodersAreGoingOnHere
-
100+ posts
The Official Guide to the Scratchblocks Plugin
when video motion > (10) ::cat //3.0 blocks?
- unnor
-
500+ 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
-
500+ posts
The Official Guide to the Scratchblocks Plugin
Yea… Apparently the other 3.0 extensions work too-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
-
1000+ posts
The Official Guide to the Scratchblocks Plugin
To 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. could i have some credit, i found out about the selected blocks
They’re already added. Please let me know with anything else you see that I missed though! You can now make highlighted and strikethrough blocks.[scratchblocks]
- strikethrough
+ highlighted
[/scratchblocks]- strikethrough
+ highlighted
Last edited by han614698 (Nov. 7, 2024 12:35:38)
- han614698
-
1000+ posts
The Official Guide to the Scratchblocks Plugin
Section 3.3, third thingYea… Apparently the other 3.0 extensions work too-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
-
16 posts
The Official Guide to the Scratchblocks Plugin
Eater
(X_X)
end :: gray
- newSUPERMARIOTRASH
-
500+ posts
The Official Guide to the Scratchblocks Plugin
if <eaten?::gdxfor> then {move forever::motion} ::control
- newSUPERMARIOTRASH
-
500+ posts
The Official Guide to the Scratchblocks Plugin
OOPS WRONG TOPICif <eaten?::gdxfor> then {move forever::motion} ::control
- husqwc
-
2 posts
The Official Guide to the Scratchblocks Plugin
To 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. could i have some credit, i found out about the selected blocksThey’re already added. Please let me know with anything else you see that I missed though! You can now make highlighted and strikethrough blocks.[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
-
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
-
1000+ posts
The Official Guide to the Scratchblocks Plugin
I didn’t change the costume one because the costume block in the menu still uses an uninsertable dropdown. 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?)
- SpyCoderX
-
1000+ posts
The Official Guide to the Scratchblocks Plugin
type your the normally with “define” in front of it.Is that supposed to be “type your text normally”? To display a custom block, you have to
Last edited by SpyCoderX (Nov. 8, 2024 15:41:36)
- han614698
-
1000+ posts
The Official Guide to the Scratchblocks Plugin
Probablytype your the normally with “define” in front of it.Is that supposed to be “type your text normally”? To display a custom block, you have to
- DaJoisright
-
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
-
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.
- Discussion Forums
- » Help with Scripts
-
» The Official Guide to the Scratchblocks Plugin