Discuss Scratch

Giant_Sheep_333
Scratcher
15 posts

Drawing Custom Scratch Blocks For Anyone

Sorry, this message was an accident

Last edited by Giant_Sheep_333 (Aug. 16, 2022 19:26:21)

unicorn_queen_1
Scratcher
25 posts

Drawing Custom Scratch Blocks For Anyone

ooooohh
send [ message ] to [ username ] :: control

sends a message to the mailbox of the username

Last edited by unicorn_queen_1 (Aug. 16, 2022 19:29:40)

_-BS-ALT-_
Scratcher
500+ posts

Drawing Custom Scratch Blocks For Anyone

when <i think to become famous on scratch> :: events
set [followers v] to [1000]
Poohbear2812
Scratcher
2 posts

Drawing Custom Scratch Blocks For Anyone

} :: #93FFE8
emmabean1133
Scratcher
13 posts

Drawing Custom Scratch Blocks For Anyone

when green flag clicked
start recording
_-BS-ALT-_
Scratcher
500+ posts

Drawing Custom Scratch Blocks For Anyone

(length of sound [pop v])
Poohbear2812
Scratcher
2 posts

Drawing Custom Scratch Blocks For Anyone

how do u make it a block
melvic13
Scratcher
84 posts

Drawing Custom Scratch Blocks For Anyone

set length to () width ():: motion block
change length to () width ():: motion block
length position:: motion reporter
width position:: motion reporter

IDK on how to make comments on blocks but the definition is pretty obvious
_-BS-ALT-_
Scratcher
500+ posts

Drawing Custom Scratch Blocks For Anyone

hint: [click the blue thing and type something after that]

Last edited by _-BS-ALT-_ (Aug. 16, 2022 19:35:19)

MasterCoder10100111
Scratcher
100+ posts

Drawing Custom Scratch Blocks For Anyone

when you wake up :: hat block :: events
play dogtarune :: sensing

Last edited by MasterCoder10100111 (Aug. 16, 2022 19:36:12)

Poofplays2020
Scratcher
35 posts

Drawing Custom Scratch Blocks For Anyone

Yin-_-Yang wrote:

abcde1234qwe wrote:

Waaaaaa…..I’m a little baby
K….

My editing skills lol
muppetboy14
Scratcher
100+ posts

Drawing Custom Scratch Blocks For Anyone

stop [Turn a custom block into a variable v] variable []
muppetboy14
Scratcher
100+ posts

Drawing Custom Scratch Blocks For Anyone

when this boolean is true, <> run script :: hat block :: sensing

Last edited by muppetboy14 (Aug. 16, 2022 19:45:35)

The_WimpyKid
Scratcher
6 posts

Drawing Custom Scratch Blocks For Anyone


if sprite clicked then < >

< if mouse-pointer touching [ v] ?>

Last edited by The_WimpyKid (Aug. 16, 2022 19:59:37)

Ash8055
Scratcher
19 posts

Drawing Custom Scratch Blocks For Anyone

create clone of [myself v] (10) times::control
jaycool112233
Scratcher
100+ posts

Drawing Custom Scratch Blocks For Anyone

emmabean1133 wrote:

when green flag clicked
start recording
Giant_Sheep_333
Scratcher
15 posts

Drawing Custom Scratch Blocks For Anyone

last message for [Sprite2 v] :: events reporter
This reporter is set to the most recent message received, so you don't have to use the “when I receive” hat block. You can set it to any sprite.
effect [dissolve v] :: looks stack
This block is for animated effects such as portal(as if you were being sucked into a portal) or shrink(as if you shrunk to nothing)
create list [list] :: list stack
This block creates lists(pretty obvious). This block could be used to create unlimited multiplayer data, along with a create variable block. In other words, you could use it to have no limit to the amount of players in one game.
jump [50] pixels :: motion stack
A realistic jump with correct physics! I noticed they have this in Scratch Junior but not in 3.0.
if collision with [anything v]{

}end :: sensing
Checks if colliding with anything, or a specific sprite. If true, it runs the code.

Last edited by Giant_Sheep_333 (Aug. 16, 2022 20:12:10)

Raton_thecoder
Scratcher
74 posts

Drawing Custom Scratch Blocks For Anyone

abcde1234qwe wrote:

I am drawing custom Scratch Blocks in my project.

Request Format:
(scratch block(s) goes here)

Request Example:
when green flag clicked
go to x: (0) y: (0)
show

Request Requirements:
1) - Request must follow the Request Format.
2) - Blocks cannot go offscreen (inside Scratch Discuss).
3) - Maximum block amount is 5. Scripts of any kind may not exceed this limit.
4) - Blocks cannot break any of the Scratch Rules, such as being inappropriate or being rude to others.

Notes:
To see your block, go here -> Project.
I will message you on your profile when your Custom Scratchblock is done.

If you make multiple requests, your requests will NOT get accepted. This place is not for scratchblock testing.

The Scratch Blocks you create does not have to be real Scratch Blocks.
Example:
go to x: (0) y: (0) z: (0)::motion
clear [selected pen stroke v]::pen

If your custom block has been created and you want to request another one, it is possible to request block for deletion. Please give an explanation of why you would like to delete your block.

Block Deletion Format:
I would like to delete my block(s) because . . .

If you do not know how to create a Custom block, here are some tips to help.

Making the blocks a different color

To make a block a different color, you can add 2 double colons and add the block type or hex code. There are 11 block types in the Scratch Forums. Motion, looks, sound, pen, events, control, sensing, operators, variables, list, and more blocks.

If you do not know about hex codes, you may check out this link: https://www.computerhope.com/htmcolor.htm


block :: motion

block :: #0000FF


block :: motion // A block that's the color of a motion block.

block :: #0000FF // A dark blue block.


Making the blocks a different shape

To make blocks a different shape, you can add the words “hat”, “cap”, “reporter”, and “boolean”.


hat block :: hat

cap block :: cap

reporter block :: reporter

boolean block :: boolean


hat block :: hat // Hat block.

cap block :: cap // Cap block.

reporter block :: reporter // Reporter block.

boolean block :: boolean // Boolean block.

If you'd like to make a “C” or “wrap” block, you'll need to add a curly bracket.


c or wrap block {

}


c or wrap block {

} // A Wrap or C block!

It is also possible to add a different color and shape at once.


sensing hat block :: sensing hat

blue cap block :: #0000FF cap

c or wrap block {

} :: control


sensing hat block :: sensing hat // A hat block that is the color of a Sensing block!

blue cap block :: #0000FF cap // A blue cap block!

control c or wrap block {

} :: control // A wrap or C block that's the color of a Control block!

Adding Blocks Inside Another Block

If you are adding another block inside a block, there are a few different things you'll need to do.
  • To make a regular block, just type any string that doesn't include the characters "“, ”<“, ”>“, ”{“, ”}“, ”(“, and ”)" inside the Scratchblocks tag.

block // Just a normal block. It's default color is red.

  • To make a reporter block inside another block, use the parenthesis, or “(” and “)”.

block (reporter)//Reporter blocks that aren't Scratch reporter blocks automatically turn to variable blocks.

  • To make a boolean block inside another block, use the less than and greater than signs, or “<” and “>”.

block <boolean> // A boolean block inside another block.

  • To add an input inside another block, use the brackets, or “]” and “[”. I had to put the brackets backwards due to a Scratch forum thing.

block [input] // This is an input where you can type anything inside the editor.

If you'd like to make a dropdown menu instead of an input, add a space then a v at the end of the input.

block [input v] // This creates a dropdown menu just by adding a space and a v like " v".


Colors can also be added to these blocks. The colors just need to be in between the characters. If it's just an input, it will always become white, no matter what. If it's a dropdown menu, it will automatically become slightly darker than the main block that's holding it. Also, blocks inside a block can be a different color than the main block that contains it.

Note: It isn't possible to wrap text around brackets for some reason. So instead of “(bracket) Hello! (bracket)”, it will just look like “Hello!”. So everytime you see (bracket), just take note that (bracket) is replacing the bracket.


Shout (bracket) Hello! (bracket) :: #0099FF
Block <Boolean :: #FF5555> :: #000000


Shout [Hello!] :: #0099FF // It is impossible to change the color of the input.
Block <Boolean :: #FF5555> :: #000000 // A different colored boolean inside a different colored block.

To add a color to an input like the blocks in Sensing, you'll just need to put the hex code inside the input. This time, make sure there are no double colons.

block (bracket) #FFFFFF (bracket)

block [#FF3399] :: sensing // The input is now a different color.
A nice block would be this:
detect if <>{

}::control
or
detect if <>{

} else{

}::control
Bassically, it continues checking if something (the boolean) happens, but unlike a forever loop with an if in it, it only runs the script once (not at once)

Last edited by Raton_thecoder (Aug. 16, 2022 20:19:07)

2uberTimeUltimate
Scratcher
1 post

Drawing Custom Scratch Blocks For Anyone

How to make custom block?

Smithjones2177
Scratcher
20 posts

Drawing Custom Scratch Blocks For Anyone

when green flag clicked
create 3d scene ::#bb00ff
set view to [first person v] :: #bb00ff
create skybox with texture [Day1 v] ::#bb00ff
set physics to [true v] ::#bb00ff
forever
do camera mouse controls ::#bb00ff

when [spacebar v] pressed :: hat #bb00ff
jump :: #bb00ff

when [w v] pressed :: hat #bb00ff
move forward :: #bb00ff

when [s v] pressed :: hat #bb00ff
move backward :: #bb00ff

when [a v] pressed :: hat #bb00ff
turn left :: #bb00ff

when [d v] pressed :: hat #bb00ff
turn right :: #bb00ff

when [left control v] pressed :: hat #bb00ff
crouch ::#bb00ff

I'm still working on this so it is not done

Powered by DjangoBB