Discuss Scratch

Create-Scratch101
Scratcher
500+ posts

The Official Guide to the Scratchblocks Plugin

Mazeman4 wrote:

Hey is it possible to add comments to a define block?

//I want to add this
define to this
define but it gives me //this?
HUh…

Last edited by Create-Scratch101 (Nov. 7, 2024 14:02:02)

eliottdu20
Scratcher
6 posts

The Official Guide to the Scratchblocks Plugin

when green flag clicked
forever
if <> then
<key v] pressed?> v] pressed?>
en
end
BigNate469
Scratcher
1000+ posts

The Official Guide to the Scratchblocks Plugin

eliottdu20 wrote:

when green flag clicked
forever
if <> then
<key v] pressed?> v] pressed?>
en
end
Please don't test out the [scratchblocks] plugin here; do it the Offical [scratchblocks] Testimg Topic
not going to link it because it changes often and it's stickied.
yeahiexist1
Scratcher
48 posts

The Official Guide to the Scratchblocks Plugin

when green flag clicked
if <()= ()> then

(foo)(foo)
end
SquirrelPawRocks
Scratcher
3 posts

The Official Guide to the Scratchblocks Plugin

Earlier this chat, somebody talked about displaying scratch blocks in text. I want to try that.

Define say (text)
Set (Speech v) to ( )
Set (Counter v) to (1)
Repeat (length of (text))
Set (Speech v) to (join (Speech) (letter (Counter) of (text)))
Say (Speech) for seconds
Change (Counter v) by 1
Say (text) for (1) second

Copy the code if you want

I know I did some of it wrong, but, who cares?
Create-Scratch101
Scratcher
500+ posts

The Official Guide to the Scratchblocks Plugin

yeahiexist1 wrote:

when green flag clicked
if <()= ()> then

(foo)(foo)
end

Please don’t test
 here
65444321
Scratcher
6 posts

The Official Guide to the Scratchblocks Plugin

Hello! my name is (username)

Last edited by 65444321 (June 13, 2024 00:12:28)

DarthTater85
Scratcher
25 posts

The Official Guide to the Scratchblocks Plugin

when green flag clicked
Hello! my name is(username)
Supernova SUS
SaberDragon73
Scratcher
59 posts

The Official Guide to the Scratchblocks Plugin

when green flag clicked::cap
SaberDragon73
Scratcher
59 posts

The Official Guide to the Scratchblocks Plugin

when green flag clicked
wait (2) secs
say (join (username) [!])
SaberDragon73
Scratcher
59 posts

The Official Guide to the Scratchblocks Plugin

Mouse trail:

when green flag clicked
forever
create clone of [myself v]
end

when I start as a clone
repeat (30)
change [ghost v] effect by (5)
change size by (-5)
end
delete this clone
Create-Scratch101
Scratcher
500+ posts

The Official Guide to the Scratchblocks Plugin

Mazeman4 wrote:

*snip*

eliottdu20 wrote:

*snip*

yeahiexist1 wrote:

*snip*

SquirrelPawRocks wrote:

*snip*

65444321 wrote:

*snip*

OopsterAlt wrote:

*snip*

DarthTater85 wrote:

*snip*


Please do not test Scratchblocks Here!!! Test it here. - Don’t be off topic as well.

Last edited by Create-Scratch101 (June 14, 2024 13:10:14)

horizontal_shading
Scratcher
1000+ posts

The Official Guide to the Scratchblocks Plugin

han614698 wrote:

Section 3 - Advanced Syntax
SUBSECTION ONE - DVELOPING NEW BLOCKS
You spelt the word “Developing” wrong. Please fix it!
Create-Scratch101
Scratcher
500+ posts

The Official Guide to the Scratchblocks Plugin

horizontal_shading wrote:

han614698 wrote:

You spelt the word “Developing” wrong. Please fix it!

Dude, you could ask more polite
han614698
Scratcher
1000+ posts

The Official Guide to the Scratchblocks Plugin

Mazeman4 wrote:

Hey is it possible to add comments to a define block?

//I want to add this
define to this
define but it gives me //this?
Unfortunately it is not.

horizontal_shading wrote:

han614698 wrote:

Section 3 - Advanced Syntax
SUBSECTION ONE - DVELOPING NEW BLOCKS
You spelt the word “Developing” wrong. Please fix it!
Fixing.
23mConnor
Scratcher
25 posts

The Official Guide to the Scratchblocks Plugin

Dagriffpatchfan wrote:

Hi
Why the advertising?
Create-Scratch101
Scratcher
500+ posts

The Official Guide to the Scratchblocks Plugin

23mConnor wrote:

Dagriffpatchfan wrote:

Hi
Why the advertising?
What do you you mean by that?
leog20162
Scratcher
82 posts

The Official Guide to the Scratchblocks Plugin

move () steps
turn cw () degrees
turn ccw () degrees
point in direction ( v)
point towards
go to x: () y: (0)
go to
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
change effect by (25)
set effect to (0)
clear graphic effects
change size by ()
set size to () %
go to front
go back () layers
(costume #)
(size)
(backdrop name)
play sound
play sound 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 (volume) %
change tempo by ()
set tempo to () bpm
clear
stamp
pen down
pen up
set pen color to
change pen color by ()
set pen color to ()
change pen shade by ()
set pen shade to ()
change pen size by ()
when green flag clicked
when key pressed
when this sprite clicked
when backdrop switches to
when > (10)
when I receive
broadcast
broadcast and wait
wait () secs
repeat ()

end
forever

end
if <> then

end
if <> then

else

end
wait until <>
repeat until <>

end
stop
when I start as a clone
create clone of
<touching ?>
<touching color ?>
<color is touching ?>
(distance to )
ask and wait
(answer)
<key pressed?>
<mouse down?>
(mouse x)
(mouse y)
(loudness)
(video on )
turn video
set video transparency to () %
(timer)
reset timer
( of )
(current )
(() + (0))
(() - (0))
(() * (0))
(() / (0))
(() - (0))
(pick random () to (10))
< < >
< = >
< > >
<<> and <>>
<<> or <>>
<not <>>
(join )
(letter () of )
(length of )
(() mod (0))
(round ())
(foo)
(☁ score)
set to
change by (0)
show variable
hide variable
(list :: list)
add to
  • delete ( v) of insert at (1 v) of replace item ( v) of with
    (item ( v) of :: list)
    (length of :: list)
    < contains ?>
    show list
    hide list
    custom loop {
    end
    custom event :: hat
    custom end :: cap
    <custom boolean>
    block{in{block
leog20162
Scratcher
82 posts

The Official Guide to the Scratchblocks Plugin

//motion

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]

//looks

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

(costume #)

(size)

(backdrop name)

//sound

play sound [ v]

play sound [ v] until done

change volume by ()

set volume to () %

(volume)

stop all sounds

//music

play drum ( v) for (0.25) beats

rest for () beats

play note ( v) for (0.5) beats

change tempo by ()

set tempo to () bpm

set instrument to ( v)

//pen

clear

stamp

pen down

pen up

set pen color to [#c4296b]

change pen color by ()

set pen color to ()

change pen shade by ()

set pen shade to ()

change pen size by ()

//events

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

//control

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]

//sensing

<touching [ v] ?>

<touching color [#9f7427] ?>

<color [#719e16] is touching [#d34608] ?>

(distance to [ v])

ask [] and wait

(answer)

<key [ v] pressed?>

<mouse down?>

(mouse x)

(mouse y)

(loudness)

(video [ v] on [Stage v])

turn video [ v]

set video transparency to () %

(timer)

reset timer

([ v] of [Sprite1 v])

(current [ v])

//operators

(() + (0))

(() - (0))

(() * (0))

(() / (0))

(() - (0))

(pick random () to (10))

<[] < []>

<[] = []>

<[] > []>

<<> and <>>

<<> or <>>

<not <>>

(join [] [world])

(letter () of [world])

(length of [])

(() mod (0))

(round ())

//variables

(foo)

(☁ score)

set [ v] to []

change [ v] by (0)

show variable [ v]

hide variable [ v]

//lists

(list :: list)

add [] to [list v]

delete ( v) of [list v]

insert [] at (1 v) of [list v]

replace item ( v) of [list v] with [thing]

(item ( v) of [list v] :: list)

(length of [ v] :: list)

<[ v] contains [thing] ?>

show list [ v]

hide list [ v]

//Leog20162 Blocks

when user favorited :: hat :: #0DC0F4

when user liked :: hat :: #0DC0F4

<user liked?> :: #0DC0F4

<user favorited?> :: #0DC0F4

Last edited by leog20162 (July 15, 2024 05:49:08)

Flo_KUTZ
Scratcher
13 posts

The Official Guide to the Scratchblocks Plugin

I fixed the errors myself and completed the project, so I don't need any more help. Could I instead get some feedback? Please write improvement suggestions in the comments below the project.
https://scratch-mit-edu.ezproxyberklee.flo.org/projects/1047015135/fullscreen/
(One-time encryption/decryption project)

Powered by DjangoBB