Discuss Scratch

newSUPERMARIOTRASH
Scratcher
500+ posts

Official [scratchblocks] Testing Topic 7

lolminecraftnumber wrote:

run {custom{blocks!::operators boolean}::events cap}::custom hat
stop {custom{blocks...::video }::motion reporter}::control cap

ㅤ::#00BBFF boolean //Hi! I am diamond, but not sensing diamond, My color: #00BBFF
ㅤ::#dec976 reporter //bread
(ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ50%::operators)ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ::grey reporter
((50%::operators)50%::grey)
CouldBeGertJohnny
Scratcher
15 posts

Official [scratchblocks] Testing Topic 7

G00mbaLover wrote:

when green flag clicked::#ffbf00
play sound [Meow v]::#cf63cf
clear::#0fbd8c
wait (1) secs::#ffab19
move (10) steps::#4c97ff
ask [????] and wait::#5cb1d6
say [Hello!] for (2) secs::#9966ff
set [Variable v] to [0]::#ff8c1a
add [Thing] to [list v]::#ff661a
operators block::#59c059
custom::#ff6680
comment [Comment]::#fef49c

cool
mcgoomba
Scratcher
1000+ posts

Official [scratchblocks] Testing Topic 7

when what do heee clicked :: hat events
byAdham
Scratcher
100+ posts

Official [scratchblocks] Testing Topic 7

Forum blocks (version 1.0)
Activating Creativity Tier IV ...
Scanning through current information ...

Scanning complete
You may continue
move () posts [forward v] :: motion

move () posts [backward v] :: motion

go to [post v] # () :: motion

go to [page v] # () :: motion

go to random [post v] :: motion

go to random [page v] :: motion

go to topic [topic of choice v] :: motion

go to forum [forum of choice v] :: motion

glide through posts # () to () at a speed of () seconds per post :: motion

glide through pages # () to () at a speed of () seconds per page :: motion

post () :: looks // You need to have a code to post like this, and this will be explained later.

edit post () to () :: looks // You need the codes of your old post and your new one.

read () :: looks // You need the code of the post, which is harder to get, but will also be explained.

quote () in () :: looks // You need the code of the post you want to quote and your post.

when new [post v] :: events hat

when new [page v] :: events hat

when new [topic v] :: events hat

when quoted :: events hat

wait for new [post v] :: control

wait for new [page v] :: control

wait for new [topic v] :: control

while reading post # () {

} :: control // You need a code.

while reading [byAdham v]'s signature {

} :: control

stop [posting v] :: control cap

stop [reading v] :: control cap

stop [posting v] until <> :: control

stop [reading v] until <> :: control

king of page # () :: control // This cannot be used unless already used by somebody else in the same page.

<new [post v]? :: sensing>

<new [page v]? :: sensing>

<new [topic v]? :: sensing>

<end of topic? :: sensing>

(latest quote :: sensing) // You can only use this to find out the latest quote of YOU, not somebody else.

(username of post # () :: sensing)

(current post number :: variables)

(current page number :: variables)

(current topic :: variables)

(post code :: variables) // Finally! To use this, think long and hard of what your post will be. Think long and hard, and then say in your mind, "This post, please." Congratulations! You can use the variable now.

There you go! Version 1.0 of the Forum Blocks. You can copy them, but you must credit my name by writing at the bottom, “Credits to @byAdham”. You'll be reported if you don't. Also, you can still make suggestions.
Note: You can only use one post code per script. You have to make a new one to use a new post code.

Last edited by byAdham (Aug. 24, 2023 14:40:11)

skidhi
Scratcher
100+ posts

Official [scratchblocks] Testing Topic 7

scratchyGabby6 wrote:

some useful blocks!

escape loop:
escape loop::control//breaks out of a loop

example:

forever{
if <mouse down?> then
escape loop::control
end
}@loopArrow::control
move (10) steps

wait for (time) or until <>
wait (1) [secs v] @addInput::control
wait (100) [millisecs v] @addInput::control

wait () [secs v] or until <> @delInput@addInput::control
wait () [secs v] or until <> or <> @delInput@addInput::control
wait () [secs v] or until <> or <> or <>@delInput@addInput::control

repeat for (time)
repeat for (1) [secs v] @addInput {

} :: control loop
repeat for (100) [millisecs v] @addInput {

} :: control loop

repeat for () [secs v] or until <> @delInput@addInput {

} :: control loop

point towards (coordinates)
point towards x: () y: () :: motion

when <> is <true>?
when <> :: events hat
I ALREADY MADE ESCAPE
bittensboy
Scratcher
100+ posts

Official [scratchblocks] Testing Topic 7

stop [all v]::hat
set [my variable v] to (0){
go to x: <say [hello]::looks> y: [apple]
}::variables
when flag clicked::cap

Last edited by bittensboy (Aug. 24, 2023 14:45:46)

G00mbaLover
Scratcher
64 posts

Official [scratchblocks] Testing Topic 7

when green flag clicked
2.0::custom
3.0::#ff6680
2.0::list
3.0::#ff661a
2.0::events
3.0::#ffbf00
2.0::control
3.0::#ffab19
skidhi
Scratcher
100+ posts

Official [scratchblocks] Testing Topic 7

scratch skidhi style:
when touching (drop object :: #aa5500) :: events hat
when touching (object [Sprite2 v] :: #0000ff) :: events hat

if (drop condition :: #aa8800){

} :: control

if ([true v] :: #00ffff){

} :: control

((drop condition :: #008800) nor (drop condition :: #008800) :: operators)
((drop condition :: #008800) nand (drop condition :: #008800) :: operators)
((drop condition :: #008800) xor (drop condition :: #008800) :: operators)
(list [] @delInput @addInput :: list)
(empty list :: list)
set [my variable v] to (empty list :: list)
add [] to (my variable)
((9) :: operators)
([string] :: operators)

broadcast (drop string :: #aa5500)
received (drop string :: #aa5500) :: events hat
hmm? what do you think

Last edited by skidhi (Aug. 24, 2023 15:27:58)

skidhi
Scratcher
100+ posts

Official [scratchblocks] Testing Topic 7

 :: #ff0000 hat
bittensboy
Scratcher
100+ posts

Official [scratchblocks] Testing Topic 7

skidhi wrote:

scratchyGabby6 wrote:

some useful blocks!

escape loop:
escape loop::control//breaks out of a loop

example:

forever{
if <mouse down?> then
escape loop::control
end
}@loopArrow::control
move (10) steps

wait for (time) or until <>
wait (1) [secs v] @addInput::control
wait (100) [millisecs v] @addInput::control

wait () [secs v] or until <> @delInput@addInput::control
wait () [secs v] or until <> or <> @delInput@addInput::control
wait () [secs v] or until <> or <> or <>@delInput@addInput::control

repeat for (time)
repeat for (1) [secs v] @addInput {

} :: control loop
repeat for (100) [millisecs v] @addInput {

} :: control loop

repeat for () [secs v] or until <> @delInput@addInput {

} :: control loop

point towards (coordinates)
point towards x: () y: () :: motion

when <> is <true>?
when <> :: events hat
I ALREADY MADE ESCAPE
NO PENGUINMOD WAS FIRST
ALSO POINT IN DIRECTION OF COORDINATES IS PENGUINMOD
WHEN <> IS PENGUINMOD

Last edited by bittensboy (Aug. 24, 2023 14:55:36)

skidhi
Scratcher
100+ posts

Official [scratchblocks] Testing Topic 7

bittensboy wrote:

skidhi wrote:

scratchyGabby6 wrote:

some useful blocks!

escape loop:
escape loop::control//breaks out of a loop

example:

forever{
if <mouse down?> then
escape loop::control
end
}@loopArrow::control
move (10) steps

wait for (time) or until <>
wait (1) [secs v] @addInput::control
wait (100) [millisecs v] @addInput::control

wait () [secs v] or until <> @delInput@addInput::control
wait () [secs v] or until <> or <> @delInput@addInput::control
wait () [secs v] or until <> or <> or <>@delInput@addInput::control

repeat for (time)
repeat for (1) [secs v] @addInput {

} :: control loop
repeat for (100) [millisecs v] @addInput {

} :: control loop

repeat for () [secs v] or until <> @delInput@addInput {

} :: control loop

point towards (coordinates)
point towards x: () y: () :: motion

when <> is <true>?
when <> :: events hat
I ALREADY MADE ESCAPE
NO PENGUINMOD WAS FIRST
ALSO POINT IN DIRECTION OF COORDINATES IS PENGUINMOD
WHEN <> IS PENGUINMOD
oh
G00mbaLover
Scratcher
64 posts

Official [scratchblocks] Testing Topic 7

when green flag clicked
color[#ff6680]::custom
Indent[#ff0000]::#ff0000
circle(::)::looks
diamond<::>::motion
lump(::)
diamond lump<::>
wait (1) secs::#df0000
say [#af0000] for (e) secs::custom-arg
move ({ring::operators}@addInput:: ring) steps
::
a loop{
(::)
<::>
when gf clicked
@loopArrow@greenFlag@addInput@delInput(::)@turnRight@turnLeft::#ff44f0
stop [#000000]
}::custom
THE END::grey cap
bittensboy
Scratcher
100+ posts

Official [scratchblocks] Testing Topic 7

skidhi wrote:

bittensboy wrote:

skidhi wrote:

scratchyGabby6 wrote:

some useful blocks!

escape loop:
escape loop::control//breaks out of a loop

example:

forever{
if <mouse down?> then
escape loop::control
end
}@loopArrow::control
move (10) steps

wait for (time) or until <>
wait (1) [secs v] @addInput::control
wait (100) [millisecs v] @addInput::control

wait () [secs v] or until <> @delInput@addInput::control
wait () [secs v] or until <> or <> @delInput@addInput::control
wait () [secs v] or until <> or <> or <>@delInput@addInput::control

repeat for (time)
repeat for (1) [secs v] @addInput {

} :: control loop
repeat for (100) [millisecs v] @addInput {

} :: control loop

repeat for () [secs v] or until <> @delInput@addInput {

} :: control loop

point towards (coordinates)
point towards x: () y: () :: motion

when <> is <true>?
when <> :: events hat
I ALREADY MADE ESCAPE
NO PENGUINMOD WAS FIRST
ALSO POINT IN DIRECTION OF COORDINATES IS PENGUINMOD
WHEN <> IS PENGUINMOD
oh
Actually, Scratch Did Make a when <> block, but it was a Vernier Go Direct Force And Acceleration Block.
skidhi
Scratcher
100+ posts

Official [scratchblocks] Testing Topic 7

oh and added new blocks
scratch skidhi style:
when touching (drop object :: #aa5500) :: events hat
when touching (object [Sprite2 v] :: #0000ff) :: events hat

if (drop condition :: #aa8800){

} :: control

if ([true v] :: #00ffff){

} :: control

((drop condition :: #008800) nor (drop condition :: #008800) :: operators)
((drop condition :: #008800) nand (drop condition :: #008800) :: operators)
((drop condition :: #008800) xor (drop condition :: #008800) :: operators)
(list [] @delInput @addInput :: list)
(empty list :: list)
set [my variable v] to (empty list :: list)
add [] to (my variable)
((9) :: operators)
([string] :: operators)

broadcast (drop string :: #aa5500)
received (drop string :: #aa5500) :: events hat
bittensboy
Scratcher
100+ posts

Official [scratchblocks] Testing Topic 7

set label of (() @addInput::ring) to []::events

Last edited by bittensboy (Aug. 24, 2023 15:55:55)

skidhi
Scratcher
100+ posts

Official [scratchblocks] Testing Topic 7

bittensboy wrote:

play note (60) for (0.5) beats
huh?
skidhi
Scratcher
100+ posts

Official [scratchblocks] Testing Topic 7

set label of (() @addInput::ring) to []::events
skidhi
Scratcher
100+ posts

Official [scratchblocks] Testing Topic 7

llll
bittensboy
Scratcher
100+ posts

Official [scratchblocks] Testing Topic 7

skidhi wrote:

bittensboy wrote:

play note (60) for (0.5) beats
huh?

WHAT'S 6x3?!
I DON'T KNOW!!!!!!!!!!!!
okay what's 6+6?
oh 12 easy-
NOW ADD SIX!!!!!!!!!!!!!!!
I DON'T KNOW!!!!!!!!!!!!!
WHAT IS IT?? ……
I TAUGHT YOU THIS WHAT IS 6x3?!?!?!
I DON'T KNOW!!!!!!!
LOOK, IF JOHNNY HAS 6x3 AMOUNTS O DISH SOAP HOW MUCH DISH SOAP WOULD HE HAVE?!?!
HOW MUCH!!!!! HOU MUCH?!? ……………………………………………
1 2 3 4 5 6 7 8 9 10 11 12-
skidhi
Scratcher
100+ posts

Official [scratchblocks] Testing Topic 7

bittensboy wrote:

skidhi wrote:

bittensboy wrote:

play note (60) for (0.5) beats
huh?

WHAT'S 6x3?!
I DON'T KNOW!!!!!!!!!!!!
okay what's 6+6?
oh 12 easy-
NOW ADD SIX!!!!!!!!!!!!!!!
I DON'T KNOW!!!!!!!!!!!!!
WHAT IS IT?? ……
I TAUGHT YOU THIS WHAT IS 6x3?!?!?!
I DON'T KNOW!!!!!!!
LOOK, IF JOHNNY HAS 6x3 AMOUNTS O DISH SOAP HOW MUCH DISH SOAP WOULD HE HAVE?!?!
HOW MUCH!!!!! HOU MUCH?!? ……………………………………………
1 2 3 4 5 6 7 8 9 10 11 12-
 :: #ff0000 hat

Powered by DjangoBB