Discuss Scratch

Forum_Helper1
New to Scratch
500+ posts

A guide to [Scratchblocks] and other BBCode help

bigpuppy wrote:

bigpuppy wrote:

@AdrianaMan8 -
Please use this topic to test out the [scratchblocks] tag. Thanks!

wolfec0 wrote:

when green flag clicked
if <mouse down?> then

play drum (3 v) for (0.2) beats
end

Warning: Complicated, and mind blowing.
Zeno's Paradox: I can prove you can't get anywhere. Before you get from where you are to where you wish to go, you first have to go halfway to the endpoint. From there, you go half of the remaining way. And halfway, on and on, but you can never reach your goal, because there will always be the smallest fraction of space you haven't gone through.
I can also prove you can't move. Similar to the above, I will use the same principals to prove you can't move. We already know that to get to your destination, you must first go halfway. In addition, before you get to the halfway point, you must first go halfway to the halfway point. And then before you get there, you must first go halfway. And on and on, you get smaller and smaller fractions of space you must first travel to. You can never move away from where you are.
Go here for more paradoxes!! Wow, this is a long sig. Bring the semicolon back to life! I'm a New Scratcher with 500+ posts!
whitelily1196
Scratcher
100+ posts

A guide to [Scratchblocks] and other BBCode help

ultimateboy144 wrote:

making an extended C Block uses the following examples
1.
if <> then {

} else {

} or otherwise {

}::control//Fixed

if <> then

else

or otherwise :: control celse

end

thats 1

2.

repeat () {

} then repeat () {

}::control//Fixed

repeat ()

then repeat () :: control celse

end

those are the two examples. If you understand the code, then try it for your self (if you want to)


Click above
whitelily1196
Scratcher
100+ posts

A guide to [Scratchblocks] and other BBCode help

InsaniacGuru77 wrote:

excelguru wrote:

Blocks new to BYOB 3.0:

run ({} @addInput) :: control // runs the blocks in it

launch ({} @addInput) :: control // runs the blocks in it simultaneously to the script
call (() @addInput) :: control reporter // allows the user to call a variable that is a reporter
report [] :: control cap // for custom reporters and Booleans, it tells what to report
stop block :: control cap // stops a custom block without reporting anything
debug :: control // an experimental block
debug () :: control reporter // ''
true :: operators boolean // reports true
false :: operators boolean // reports false
ascii code of [] :: operators reporter // reports the ascii code of a character
ascii () as letter :: operators reporter // reports the character for an ascii code
is [] a [number v] ? :: operators boolean // dropdown also contains text, boolean, list, command, reporter, and predicate; reports whether the input is of that
// data type (yes, BYOB has more data types than scratch)
(the script ({} @addInput)::operators) // returns the script inside. It is supposed to be a hybrid c-reporter thing, but scratchblocks doesn't support that type of block.
the () block :: operators reporter // works like [the script] but with a reporter/predicate block.
script variables (a) @addInput :: grey // this block creates variables that can only be used in the script. It is a variable block, but it is gray.

(list [] @delInput @addInput :: list) // it reports a list with that name.
[ v] as text :: list reporter // in BYOB, lists do not normally report as text, but as list monitors do. This converts a list to text.
copy of () :: list reporter // if a variable is set to a list, it updates with the list. Here is how to avoid that.

Blocks new to BYOB 3.1:

object [ v] :: sensing reporter // reports a sprite, a list of all sprites, or the stage
attribute [ v] :: sensing reporter // reports an attribute of the sprite
[ v] of [ v] :: sensing reporter // now you can drag any sprite to the right and any sprite to the left
clone :: operators reporter // reports a clone of the sprite
is [] a [ v] :: operators boolean // now has object in the menu of types
delete [ v] :: operators // deletes the object, attribute, or variable

Blocks new to snap 4.0

warp {} :: grey // it is a control block, but it is gray. It runs everything in it at once

Some of the blocks seem meaningless, but that is because of BYOB's expanded data types.
I've always wanted a block that says,

repeat until <I receive [] :: events boolean>

end


Click above
CAPHE10
Scratcher
100+ posts

A guide to [Scratchblocks] and other BBCode help

[scratchblocks]
yourtext
[/scratchblocks
whitelily1196
Scratcher
100+ posts

A guide to [Scratchblocks] and other BBCode help

theonlygusti wrote:

You can aslo do this:
[[]scratchblocks]
[[]/scratchblocks]
To show the square brackets. It looks like:

[scratchblocks]
[/scratchblocks]

And this guide isn't really about tricks, I'd say learning how to do this:
when gf clicked :: operators hat
if :: sound cstart
this (block :: sensing stack) is a [block v] :: custom-arg cstart
these {
amazing (skills :: pen hat) :: extension stack
are what I call tricks :: motion cend cap
and <you should :: custom reporter> :: custom-arg celse
teach [people v] :: variables stack
how to do this :: sensing stack
because :: custom-arg celse
only these (turn cw (20) degrees :: motion hat) :: grey stack
} are true tricks :: motion

is all that qualifies as [scratchblocks] “tricks”, the rest is self explanatory.
˙pǝxᴉℲ


Click above
Unicorndaisy
Scratcher
4 posts

A guide to [Scratchblocks] and other BBCode help

omg
whitelily1196
Scratcher
100+ posts

A guide to [Scratchblocks] and other BBCode help

AdrianaMan8 wrote:

new block type:<Extra :: #ddddde>

forever if <> then{
}:: #ddddde cap

forever if <> then{
}else {
} :: #ddddde cap

forever if <> then{
}else {
}and {
}even{
}or{
} :: #ddddde cap

never {
} :: #ddddde cap

defining varible [ v] :: #ddddde hat

defining list [ v] :: #ddddde hat

shout [ v] :: #ddddde

when someone shouts [ v] :: #ddddde hat

<shouting [ v] :: #ddddde>

while <> {
} :: #ddddde

sing [instrument1 v] [instrument2 v] [instrument3 v] [instrument4 v] :: #ddddde

play sounds (1) to (10) all at once :: #ddddde

[say v] [input] for () secs :: #ddddde

[think v] [input] for () secs :: #ddddde

[yell v] [input] for () secs :: #ddddde

[sing v] [input] for () secs :: #ddddde

[whisper v] [input] for () secs :: #ddddde

jump () high :: #ddddde

(-() :: #ddddde)

turn [var v] from [reporter v] to [boolean v] and output: <your var :: variables> (normal var) :: #ddddde

turn [var v] from [reporter v] to [boolean v] and output: <your var :: variables> (normal var) ({your new block var :: variables} :: #000000 ring) :: #ddddde

send [] :: #ddddde

when i recive [] :: #ddddde hat

make block ({} :: #000000 ring) into a [hat v] block :: #ddddde

make block ({} :: #000000 ring) into a [cap v] block :: #ddddde

make block ({}:: #000000 ring) into a [command c shape v] block :: #ddddde

make block {:: #000000} into a [boolean v] block :: #ddddde

make block {:: #000000} into a [reporter v] block :: #ddddde

(output :: #ddddde)

dispense [output v] into sprite [sprite2 v] :: #ddddde

create [block v] [blocks name] :: #ddddde

create [boolean v] [blocks name] :: #ddddde

create [reporter v] [blocks name] :: #ddddde

create [c shape v] [blocks name] :: #ddddde

create [hat v] [blocks name] :: #ddddde

create [cap v] [blocks name] :: #ddddde

add [stack v] block sprite with text [] :: #ddddde

add [reporter v] block sprite with text [] :: #ddddde

add [boolean v] block sprite with text [] :: #ddddde

add [c shape v] block sprite with text [] :: #ddddde

add [hat v] block sprite with text [] :: #ddddde

add [cap v] block sprite with text [] :: #ddddde

create [type v] var [] :: #ddddde

make sprite[ v] do{
} :: #ddddde cap


Click above
YubNubEwok
Scratcher
1000+ posts

A guide to [Scratchblocks] and other BBCode help

whitelily1196 wrote:

AdrianaMan8 wrote:

-snip-
Please don't quote long posts just to say nothing.

@AdrianaMan8: Please don't excessively blockspam

@OP: Amazing guide! Great job!

Hello! I'mYubNubEwok!
YubNubEwok | Star Wars Nerd | Marvel Fan | Hunger Games Fan | #1 Wisconsin cheese Fan | Female | Christian | Webkinz user/collector | 2000+ posts | Philippians 4:13, Colossians 3:23 |
-Stuff to check out-
TheJediMasters
Ⓒⓡⓔⓐⓣⓘⓥⓔ Bᴜᴍᴘs
Right now I challenge you to: go to my profile, follow me, and check out my featured project (it's important!)

;
tejassamurai
Scratcher
44 posts

A guide to [Scratchblocks] and other BBCode help

trgjhn
tgfhyjfg
gtfhbdf
hi
fgtcf
hbt
fgytjngyuhf
hfyj
bye
[scratchblocks]
[\scratchblock]

Hi! I'm Wolf! Founder of Wolfgang Productions!
when I receive [Game published!]
go to [itch.io]
think [This is an awesome game I should buy it!]
Buy it!
PrincessFlowerTV
Scratcher
1000+ posts

A guide to [Scratchblocks] and other BBCode help

tejassamurai wrote:

trgjhn
tgfhyjfg
gtfhbdf
hi
fgtcf
hbt
fgytjngyuhf
hfyj
bye
Hi! Please go here to test out scratchblocks.

Last edited by PrincessFlowerTV (Feb. 25, 2018 13:10:28)


Got to be good looking cause he's so hard to see -The Beatles

(Thank you @just-there from The Profile Picture Shop for the banner ^^)





Nothing's down here, sorry to disappoint you.






JK. there may be something down there…









Maybe not, tho.











You're determined, aren't you?













Talar du Svenska? Om inte, det ar fin.





















Just stop it, will ya?

































Fine, you win.




Take a rice cake. *yeets you a rice cake*
Say “Thanks for that rice cake, Kewpie!” if you made it this far.
-BestScratcherEVER-
Scratcher
80 posts

A guide to [Scratchblocks] and other BBCode help

Fun With Scratchblocks:

when (time = 7:30 :: operators) :: events
get up :: control
eat breakfast
get dressed :: sensing
go to my computer :: sound
Scratch On! :: variables

Hello! :: hat block
It's me! :: looks
It's a cool life! :: list
Bruh. I'm gonna make a project. :: grey
when project shared :: hat block :: motion
wait (10) secs
if <[views of project] = [0]> then
set [face v] to [:(]
repeat until <project gets views :: operators>
play sound [Sad Violin v] until done
end
set [face v] to [:D]
PARTY!!!!! :: pen

end

Last edited by -BestScratcherEVER- (March 24, 2018 16:29:46)

neeb132
Scratcher
500+ posts

A guide to [Scratchblocks] and other BBCode help

-BestScratcherEVER- wrote:

Fun With Scratchblocks:

when (time = 7:30 :: operators) :: events
get up :: control
eat breakfast
get dressed :: sensing
go to my computer :: sound
Scratch On! :: variables

Hello! :: hat block
It's me! :: looks
It's a cool life! :: list
Bruh. I'm gonna make a project. :: grey
when project shared :: hat block :: motion
wait (10) secs
if <[views of project] = [0]> then
set [face v] to [:(]
repeat until <project gets views :: operators>
play sound [Sad Violin v] until done
end
set [face v] to [:D]
PARTY!!!!! :: pen

end
Hey, please go here to test out scratchblocks.

Last edited by neeb132 (March 24, 2018 22:03:32)

YubNubEwok
Scratcher
1000+ posts

A guide to [Scratchblocks] and other BBCode help

-BestScratcherEVER- wrote:

Fun With Scratchblocks:

when (time = 7:30 :: operators) :: events
get up :: control
eat breakfast
get dressed :: sensing
go to my computer :: sound
Scratch On! :: variables

Hello! :: hat block
It's me! :: looks
It's a cool life! :: list
Bruh. I'm gonna make a project. :: grey
when project shared :: hat block :: motion
wait (10) secs
if <[views of project] = [0]> then
set [face v] to [:(]
repeat until <project gets views :: operators>
play sound [Sad Violin v] until done
end
set [face v] to [:D]
PARTY!!!!! :: pen

end
This is not the place to test out Scratchblocks, it would be best to try it out here

Hello! I'mYubNubEwok!
YubNubEwok | Star Wars Nerd | Marvel Fan | Hunger Games Fan | #1 Wisconsin cheese Fan | Female | Christian | Webkinz user/collector | 2000+ posts | Philippians 4:13, Colossians 3:23 |
-Stuff to check out-
TheJediMasters
Ⓒⓡⓔⓐⓣⓘⓥⓔ Bᴜᴍᴘs
Right now I challenge you to: go to my profile, follow me, and check out my featured project (it's important!)

;
aceacerockscool
Scratcher
11 posts

A guide to [Scratchblocks] and other BBCode help

repeat <forever>
say (this is amazing)
end
[scratchblocks]
aceacerockscool
Scratcher
11 posts

A guide to [Scratchblocks] and other BBCode help

<either [] or []>

I always wanted it...

Last edited by aceacerockscool (April 3, 2018 11:38:28)

aceacerockscool
Scratcher
11 posts

A guide to [Scratchblocks] and other BBCode help

when I receive [bordom v]
broadcast [I'm bored!!! v] and wait
if <really bored = [true v]?> then
do {
start [scratch v]
turn [life v] around
set [looks v] to [cool]
be yourself
define change
} in life

Last edited by aceacerockscool (April 3, 2018 11:57:48)

aceacerockscool
Scratcher
11 posts

A guide to [Scratchblocks] and other BBCode help

({
})

Last edited by aceacerockscool (April 3, 2018 12:03:12)

aceacerockscool
Scratcher
11 posts

A guide to [Scratchblocks] and other BBCode help

add variable [var]
delete variable [var]
add list [list]
delete list [list]
<var [] exists?>
<list [] exists?>
report the script {
} with inputs (#1) (#2)[-> v]

Last edited by aceacerockscool (April 3, 2018 12:08:38)

YubNubEwok
Scratcher
1000+ posts

A guide to [Scratchblocks] and other BBCode help

aceacerockscool wrote:

repeat <forever>
say (this is amazing)
end
[scratchblocks][/quote]
[quote=aceacerockscool][scratchblocks]
<either [] or []>

I always wanted it...

[/quote]
[quote=aceacerockscool][scratchblocks]
when I receive [bordom v]
broadcast [I'm bored!!! v] and wait
if <really bored = [true v]?> then
do {
start [scratch v]
turn [life v] around
set [looks v] to [cool]
be yourself
define change
} in life
[/scratchblocks][/quote]
[quote=aceacerockscool][scratchblocks]
({
})
[/quote]
[quote=aceacerockscool][scratchblocks]
add variable [var]
delete variable [var]
add list [list]
delete list [list]
<var [] exists?>
<list [] exists?>
report the script {
} with inputs (#1) (#2)[-> v]






[/quote]
Please don't blockspam. If you'd like to test out the Scratchblocks feature, then please do it on [url=https://scratch.mit.edu/discuss/topic/273387/]this topic.[/url]

Hello! I'mYubNubEwok!
YubNubEwok | Star Wars Nerd | Marvel Fan | Hunger Games Fan | #1 Wisconsin cheese Fan | Female | Christian | Webkinz user/collector | 2000+ posts | Philippians 4:13, Colossians 3:23 |
-Stuff to check out-
TheJediMasters
Ⓒⓡⓔⓐⓣⓘⓥⓔ Bᴜᴍᴘs
Right now I challenge you to: go to my profile, follow me, and check out my featured project (it's important!)

;
Scratch---Cat
Scratcher
1000+ posts

A guide to [Scratchblocks] and other BBCode help

[scratchblocks]
This is a biscuit.
I have curly hair.
I have big blue eyes and a small nose.
  • This
    is
    a
    list
and
  1. This
    is
    a
    numbered
    list
// /* This is a comment */

// this is a orange circle

( :: variables )

// this is a green rhombus
< :: operators >

// this is a brown rectangle
( :: list ) :: list ring

// this is a blue curved rectangle
rectangle :: motion

// this is also a curved rectangle, but it's broken
rectangle :: looks cap

// this is a yellow hat
When l starts as a clone :: hat control

// this is a red mouth that eats oranges
A big mouth {
( :: variables )
} :: loop cap

// this is a double mouth
if <> then {
} else {
} end if :: cap control
This @greenFlag is a green flag :: sound hat

This is ( a curved rectangle :: sensing stack ) :: motion

define This is a ( dark ) ( blue ) hat
set pen shade to ( dark )
set pen color to ( blue ) :: cap

This is a [ light ] [ yellow ] hat // without any labels

This is a white circle () :: extension

This is an ( oval v) :: grey

This is a white square [] :: custom
While this is a yellow square [#ffff00] :: custom-arg

This is a hexagon <> :: pen

This is a [ triangle v] :: looks

@delInput These are triangles @addInput :: #888888

This is a block in color 123456 :: #123456

This is a piece of chocolate :: #886422

// this is a rewind button
( :: loop grey )

// this is a cloud button
( ☁️ :: grey)

This is a ( define this is a ( ...

// This is a cone

((((( :: variables )))))

// This is a pyramid

<<<<< :: operators >>>>>
Do you have any more tricks?
Yes 
Please click quote
[/scratchblocks]

Sorry. My signature crashed.

Download Scratch 2.0 | Check your messages | Check my messages
_____________________________________________________________________________________________________

If you want to subscribe to this forum topic, please click the
{} Follow Discussion :: ring sensing
button below this forum post! Thanks!

Powered by DjangoBB