Discuss Scratch

Xcvfdd
Scratcher
500+ posts

Official [scratchblocks] Testing Topic 6

NeithersGoodLife wrote:

when green flag clicked
if <<[message]=[studio activity]>> then
RAGE
end
when green flag clicked
if <[message] = [from project]> then
Happy :)
end
Yay king of page.

Last edited by Xcvfdd (Jan. 5, 2023 01:17:44)

SunnySmallCrisps
Scratcher
3 posts

Official [scratchblocks] Testing Topic 6

when green flag clicked
forever
if <John die> then
go to [ John bodyv]
play sound [ rage quit ] until done

end
end
jjxiaomi
Scratcher
89 posts

Official [scratchblocks] Testing Topic 6

go eat sour takis :: hat
RedReadyOPERA
Scratcher
100+ posts

Official [scratchblocks] Testing Topic 6

Xcvfdd wrote:

(#5101)

NeithersGoodLife wrote:

when green flag clicked
if <<[message]=[studio activity]>> then
RAGE
end
when green flag clicked
if <[message] = [from project]> then
Happy :)
end
Yay king of page.
same
cosmo250
Scratcher
100+ posts

Official [scratchblocks] Testing Topic 6

Wow, a Scratch Blocks testing forum!?
when green flag clicked
forever
say [Wow! This is amazing!]
end
fffggheeegehd
Scratcher
100+ posts

Official [scratchblocks] Testing Topic 6

define run JS code [code]
run (JavaScript function @addInput (code)::operators)::control
say (join (code) [has been executed] @delInput@addInput ::operators)
malikthepro
Scratcher
14 posts

Official [scratchblocks] Testing Topic 6

ok
so you can make a game or you can make people say stuff
here is an example:
when green flag clicked
say [i am back and i am going to eat your toes]

oh and if you want to make a game use these scripts:

when green flag clicked
forever
change x by (foo)
if <key [left arrow] pressed?> then
change [foo] by (-1)

if <key [right arrow] pressed?> then
change [foo] by (-1)


end
end
end
hope this helped :)

Last edited by malikthepro (Jan. 5, 2023 19:56:24)

apanageotes
Scratcher
88 posts

Official [scratchblocks] Testing Topic 6

medians wrote:

when distance < () ::pen hat
when brightness < () ::pen hat
How do I fix this??
Code:
when distance < () ::pen hat
when brightness < () ::pen hat
when distance \< () ::pen hat
when brightness \< () ::pen hat

Code:
when distance \< () ::pen hat
when brightness \< () ::pen hat
malikthepro
Scratcher
14 posts

Official [scratchblocks] Testing Topic 6


dude you're so smart



when green flag clicked
repeat (9)
turn cw (5) degrees
repeat (9)
turn cw (-5) degrees




end
medians
Scratcher
1000+ posts

Official [scratchblocks] Testing Topic 6

apanageotes wrote:

medians wrote:

when distance < () ::pen hat
when brightness < () ::pen hat
How do I fix this??
Code:
when distance < () ::pen hat
when brightness < () ::pen hat
when distance \< () ::pen hat
when brightness \< () ::pen hat

Code:
when distance \< () ::pen hat
when brightness \< () ::pen hat
I solved this a while ago... ::pen
ljsdhojfkjhkjfkjfsd
Scratcher
5 posts

Official [scratchblocks] Testing Topic 6

when green flag clicked
say [Testing testing... Is this thing working????]
set x to (pick random (-135) to (135))
set [text] to [gibberish.]
think [text] for (2) secs
Jpizza115
Scratcher
100+ posts

Official [scratchblocks] Testing Topic 6

when New Years  happens:: #00ffff hat
make (username) make a project about New Years:: #000000
crash Scratch:: #123456 cap
Jpizza115
Scratcher
100+ posts

Official [scratchblocks] Testing Topic 6

SunnySmallCrisps wrote:

when green flag clicked
forever
if <John die> then
go to [ John bodyv]
play sound [ rage quit ] until done

end
end
uh i fixed it:
when green flag clicked
forever
if <John die> then
go to [John body v]
play sound [rage quit v] until done

end
end
Jpizza115
Scratcher
100+ posts

Official [scratchblocks] Testing Topic 6

Griffpatch's biggest block of code in “Fish not included…. yet”:
define Cloud Tick
Process Cloud [1] (join [=] (☁ CLOUD1))::custom
Process Cloud [2] (join [=] (☁ CLOUD2))::custom
Process Cloud [3] (join [=] (☁ CLOUD3))::custom
Process Cloud [4] (join [=] (☁ CLOUD4))::custom
Process Cloud [5] (join [=] (☁ CLOUD5))::custom
Process Cloud [6] (join [=] (☁ CLOUD6))::custom
Process Cloud [7] (join [=] (☁ CLOUD7))::custom
Process Cloud [8] (join [=] (☁ CLOUD8))::custom
Process Cloud [9] (join [=] (☁ CLOUD9))::custom
if <(timer) \< (next post)> then
stop [this script v]
end
set [next post v] to ((timer) + (pick random (0.4) to (0.5)))
if <(length of [RECORD v]::data) \< [1]> then
stop [this script v]
end
Encode Player::custom
set [_i v] to (pick random (1) to (length of [Cloud Data v]::data))
if <(_i) \< [5]> then
if <(_i) \< [3]> then
if <(_i) \< [2]> then
set [☁ CLOUD1 v] to (parseStr)
else
set [☁ CLOUD2 v] to (parseStr)
end
else
if <(_i) \< [4]> then
set [☁ CLOUD3 v] to (parseStr)
else
set [☁ CLOUD4 v] to (parseStr)
end
end
else
if <(_i) \< [7]> then
if <(_i) \< [6]> then
set [☁ CLOUD5 v] to (parseStr)
else
set [☁ CLOUD6 v] to (parseStr)
end
else
if <(_i) \< [8]> then
set [☁ CLOUD7 v] to (parseStr)
else
if <(_i) \< [9]> then
set [☁ CLOUD8 v] to (parseStr)
else
set [☁ CLOUD9 v] to (parseStr)
end
end
end
end
if <not <(☁ version) = (gameversion)>> then
if <not <[PLAYER NAMES v] contains [griffpatch]?::data>> then
if <not <(username) = [griffpatch]>> then
set [gameversion v] to [STOP]
broadcast [Please Reload v]
end
end
end

Last edited by Jpizza115 (Jan. 6, 2023 00:42:24)

CrazyBird3029
Scratcher
100+ posts

Official [scratchblocks] Testing Topic 6

say [what?] for (2) secs[scratchblocks]
define argosy media
move (14) steps
switch costume to [tree v]
[/scratchblocks]
FoxJP
Scratcher
100+ posts

Official [scratchblocks] Testing Topic 6

あっししs
jjxiaomi
Scratcher
89 posts

Official [scratchblocks] Testing Topic 6

hey guys {

}else
jjxiaomi
Scratcher
89 posts

Official [scratchblocks] Testing Topic 6

<when @GreenFlag clicked?>
jjxiaomi
Scratcher
89 posts

Official [scratchblocks] Testing Topic 6

Here are the blocks:
when @StopSign clicked :: events
({reverse v} text []) :: operators
jjxiaomi
Scratcher
89 posts

Official [scratchblocks] Testing Topic 6

define say: [text] for (timer) seconds
set [letter v] to (0)
set [speech v] to ()
repeat (length of [text]
change [letter v] by (1)
say (join [speech] (letter [letter] of [text])
set [speech v] to ((letter [letter] of [text])
start sound [voice v]
}

Powered by DjangoBB