Discuss Scratch

han614698
Scratcher
1000+ posts

The Official Guide to the Scratchblocks Plugin

abrakaidabra wrote:

(#102)
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:
You do cat blocks like this:

cat hat :: cat

saying “:: cat hat” cancels them both out, as cat blocks default to hat.
abrakaidabra
Scratcher
100+ posts

The Official Guide to the Scratchblocks Plugin

han614698 wrote:

abrakaidabra wrote:

(#102)
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:
You do cat blocks like this:

cat hat :: cat

saying “:: cat hat” cancels them both out, as cat blocks default to hat.
Ah, ok thanks
starlightsparker
Scratcher
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
Scratcher
1000+ posts

The Official Guide to the Scratchblocks Plugin

could i have some credit, i found out about the selected blocks
CodersAreGoingOnHere
Scratcher
100+ posts

The Official Guide to the Scratchblocks Plugin

when video motion > (10) ::cat //3.0 blocks?
unnor
Scratcher
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
Scratcher
500+ posts

The Official Guide to the Scratchblocks Plugin

BigNate469 wrote:

Apparently the other 3.0 extensions work too-
this is a block :: ev3
this is another block :: microbit
this is another block :: translate
Might want to add something about how to do that.
Yea…

Last edited by Create-Scratch101 (Nov. 7, 2024 12:32:48)

han614698
Scratcher
1000+ posts

The Official Guide to the Scratchblocks Plugin

8to16 wrote:

could i have some credit, i found out about the selected blocks
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.

starlightsparker wrote:

You can now make highlighted and strikethrough blocks.
[scratchblocks]
- strikethrough
+ highlighted
[/scratchblocks]
- strikethrough
+ highlighted
They’re already added. Please let me know with anything else you see that I missed though!

Last edited by han614698 (Nov. 7, 2024 12:35:38)

han614698
Scratcher
1000+ posts

The Official Guide to the Scratchblocks Plugin

Create-Scratch101 wrote:

BigNate469 wrote:

Apparently the other 3.0 extensions work too-
this is a block :: ev3
this is another block :: microbit
this is another block :: translate
Might want to add something about how to do that.
Yea…
Section 3.3, third thing

Last edited by han614698 (Nov. 7, 2024 12:37:28)

Mariolover2024
New Scratcher
16 posts

The Official Guide to the Scratchblocks Plugin

Eater
(X_X)
end :: gray
han614698
Scratcher
1000+ posts

The Official Guide to the Scratchblocks Plugin

Mariolover2024 wrote:

(#112)
Eater{
(X_X)
}:: grey
Here. I fixed it for you.
[scratchblocks]
Eater{
(X_X)
}:: grey
[/scratchblocks]
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

newSUPERMARIOTRASH wrote:

if <eaten?::gdxfor> then {move forever::motion} ::control 
OOPS WRONG TOPIC
husqwc
Scratcher
2 posts

The Official Guide to the Scratchblocks Plugin

han614698 wrote:

8to16 wrote:

could i have some credit, i found out about the selected blocks
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.

starlightsparker wrote:

You can now make highlighted and strikethrough blocks.
[scratchblocks]
- strikethrough
+ highlighted
[/scratchblocks]
- strikethrough
+ highlighted
They’re already added. Please let me know with anything else you see that I missed though!

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

husqwc wrote:

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

han614698 wrote:

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

SpyCoderX wrote:

han614698 wrote:

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”?
Probably
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 clicked
Combined with the full syntax, and the existing shorthand variants, this makes five different ways to create the same block.

Powered by DjangoBB