Discuss Scratch

Xtraaa444
Scratcher
17 posts

Official [scratchblocks] Testing Topic 6

when green flag clicked
say <answer>
if (x position) then
show list [(fard) v]
set instrument to ((pick random (pick random (pick random (volume) to (☁)) to (mouse x)) to (video [47 x griffparchment paper v] on [Statatatat v])) v)
change pen color by ((((volume) - (timer)) / (backdrop name)) + (distance to [(answer) v]))
else
omlette :: cap
end
move (((join (x position) [world]) - (tempo)) * (mouse x)) steps :: cap
define if <(volume) > [you.]> then
pen up
change pen color by <mouse down?>
move (x position) steps
if (length of [(list :: list) v] :: list) then
ask (distance to [loudness v]) and wait
delete this clone
else
4 (ford focus) <eeeeeeEEEEEEE> boop
end
repeat until <project stooped>
turn video [(timer) v]
(video [you v] on [me v])
end
think (timer) for (tempo) secs
else
move (x position) steps
turn cw (y position) degrees
turn ccw (direction) degrees
point in direction ((costume #) v)
point towards [(size) v]
go to x: (backdrop name) y: (backdrop #)
go to [(volume) v]
glide (tempo) secs to x: (distance to [bruh v]) y: (answer)
change x by (mouse x)
set x to (mouse y)
change y by (loudness)
set y to (timer)
if on edge, bounce
set rotation style [fart v]
end

Last edited by Xtraaa444 (Aug. 28, 2022 18:38:10)

codderkid12
Scratcher
100+ posts

Official [scratchblocks] Testing Topic 6

c block loop block{} :: sound

hat block starting block:: hat :: control

cap block ending block :: cap :: events

stack block piece of code :: list

boolean block condition? :: boolean :: motion

reporter block value :: reporter :: operators
SupaYoshiBro
Scratcher
100+ posts

Official [scratchblocks] Testing Topic 6

How to play minecraft
when I receive [Start playing minecraft v]
wait until <world generated? :: sensing> :: control
go to (Tree v) :: motion
Get wood :: events
Craft crafting table and wood pickaxe :: motion
Mine stone and coal with your pickaxe :: events
Make torches :: motion
Make a stone pickaxe :: motion
Mine iron :: events
Make iron pickaxe :: motion
Mine diamonds :: events
Make a diamond pickaxe :: motion
Mine obsidian and make nether portal :: looks
Go into portal :: motion
Kill blazes and endermen :: looks
Make ender eyes with the ender pearls :: motion
Throw ender eyes and find stronghold :: motion
Go to (Stronghold v) :: motion
Fill in portal :: looks
JUMP IN :: motion
Defeat ender dragon :: looks
YOU WON!! :: control :: cap

when I receive [Start playing minecraft v]
forever
if <<hungry? :: sensing> and <player has food? :: sensing> :: operators> then
eat food :: looks
end
end
SupaYoshiBro
Scratcher
100+ posts

Official [scratchblocks] Testing Topic 6

This looks cool right
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Last edited by SupaYoshiBro (Aug. 28, 2022 19:19:28)

Xtraaa444
Scratcher
17 posts

Official [scratchblocks] Testing Topic 6

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<hi>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Last edited by Xtraaa444 (Aug. 28, 2022 19:20:35)

SupaYoshiBro
Scratcher
100+ posts

Official [scratchblocks] Testing Topic 6

When sound (Meow v) played :: hat :: sound

When keys [space v] and [shift v] pressed :: hat :: events

When <[] > [] :: operators> :: hat :: events

([Sprite2 v]s Position log :: sensing) // This is the X position multiplied by the Y position

<key [shift v] pressed? :: sensing> // This would be nice, also when control key, any number key, any letter key, enter, and backspace.

Set (join (variable ) [A] :: operators) to [15] // Bring 'hacked' blocks back Scratch 3.0 ruined it :(
Xtraaa444
Scratcher
17 posts

Official [scratchblocks] Testing Topic 6

it looks like its 3d before it turns into 3.0 blocks

Minecraft code in Scratch obviously because of @SupaYoshiBro

when Minecraft Application clicked :: events :: hat
click singleplayer :: events
when new world clicked :: events :: stack
broadcast [new world v]
stop [this script v]

when I receive [new world v]
set [world creation v] to ((pick random (6) to (10)) + (world creation percent)) :: variables
wait until <<(world creation percent) = [100]> or <[world creation percent] > [99]>>
broadcast [World Start! v]

when I receive [World Start! v]
set [player control? v] to [yes] :: variables
play sound [minemusic v] :: sound
point towards [tree v] :: #7F5020
break tree :: #7F5020
make crafting table :: events
craft [wooden tools v] :: control
point towards [cave v] :: motion
go to [cave v] :: motion
break <<coal> and <stone>> :: #686E71
if <<has crafting table?> and <has wood and stone?>> then :: control
craft [stone tools v] :: #686E71 :: cap
end
point towards [iron ore v] :: #686E71
break <iron ore> :: :: #686E71
if <<has crafting table?> and <has stone?> then :: control
craft furnace :: #686E71 :: cap
end
if <has coal?> then
smelt iron :: #686E71
wait until <iron smelted?> :: control
if <<iron smelted> = [true]>
craft [iron tools v] :: #9a8f80 :: cap
end
broadcast [Dive deeper? v] and wait

when I receive [Dive deeper? v]
ask [Do you want to dive deeper?] and wait
if <(answer) = [yes]> then
broadcast [go deeper v]
else
say [let's leave the cave.] :: cap
end

when I receive [go deeper v]
switch costume to [deeper cave v]
point towards [diamonds v]
go to [diamonds v]
if <<has iron tools?> = [true]>> then
mine diamonds :: #4AB4E8
if <<has crafting table?> and <has diamonds?> then
craft diamond tools :: #4AB4E8 :: cap
end

break time!

ores:

(coal) :: #686E71

(iron) :: #9a8f80

(diamond) :: #4AB4E8

(gold) :: #ffb000

(redstone) :: #b90000

(emerald) :: #7ed321

Last edited by Xtraaa444 (Aug. 28, 2022 20:51:55)

_-BS-ALT-_
Scratcher
500+ posts

Official [scratchblocks] Testing Topic 6

Turbowarp Blocks In Scratch.

is complied? :: boolean sound

is TurboWarp? :: boolean sound

(last key pressed :: turbowarp)

<[ secondary v] mouse button down? :: turbowarp>
SupaYoshiBro
Scratcher
100+ posts

Official [scratchblocks] Testing Topic 6

I hope this c block works
If <> { 
}
else <> {
}
else {
}
end

Last edited by SupaYoshiBro (Aug. 28, 2022 22:45:08)

LD123Rises
Scratcher
100+ posts

Official [scratchblocks] Testing Topic 6

when green flag clicked
set pen color to (color)
set [color v] to (pick random (0) to (16777215))

Last edited by LD123Rises (Aug. 28, 2022 22:48:35)

LD123Rises
Scratcher
100+ posts

Official [scratchblocks] Testing Topic 6

SupaYoshiBro wrote:

When sound (Meow v) played :: hat :: sound

When keys [space v] and [shift v] pressed :: hat :: events

When <[] > [] :: operators> :: hat :: events

([Sprite2 v]s Position log :: sensing) // This is the X position multiplied by the Y position

<key [shift v] pressed? :: sensing> // This would be nice, also when control key, any number key, any letter key, enter, and backspace.

Set (join (variable ) [A] :: operators) to [15] // Bring 'hacked' blocks back Scratch 3.0 ruined it :(
for scratchblock "(s Position log :: sensing)", u can do it with whats currently availible. Like this:
((x position) * (y position))
Cordongreen
Scratcher
1000+ posts

Official [scratchblocks] Testing Topic 6

There is no stack operator block in scratch so i made one
say shuffle of [Hello!]::operators
Cordongreen
Scratcher
1000+ posts

Official [scratchblocks] Testing Topic 6

The scratch website extension
when i get new message::sensing hat

(messages::sensing)

go to [my stuff v] tab::sensing

([shared v] projects::sensing)

<on [discussion forums v]?::sensing>

go to projects scratch.mit.edu/projects/ [5666999]::sensing

(this project name::sensing)

(project ID::sensing)

go to scratch news [3 v]::sensing

(project [blocks v]::sensing)

(REAL mouse x::sensing)

(REAL mouse y::sensing)

create project named [Untitled]::sensing

put blocks {
} in project [727584023] ::sensing

(scratch version::sensing)
Xcvfdd
Scratcher
500+ posts

Official [scratchblocks] Testing Topic 6

when green flag clicked
forever
if <<mouse down?> and <touching [ mouse-pointer] ?>> then
say [Too lazy to add more code]
end
end
KitCODINGKat
Scratcher
26 posts

Official [scratchblocks] Testing Topic 6

Oh my a testing forum!! *must test*
when green flag clicked
forever
play sound [ v]
set volume to (1000000000000000) %
if <(I enjoy Scratch)> then
say [WOOOOO]
end
end
HaydenAgain
Scratcher
100+ posts

Official [scratchblocks] Testing Topic 6

<mouse up? :: sensing>

Last edited by HaydenAgain (Aug. 29, 2022 06:50:08)

PRA43G
Scratcher
78 posts

Official [scratchblocks] Testing Topic 6

UnQuote wrote:

Manny bruh
wat
PRA43G
Scratcher
78 posts

Official [scratchblocks] Testing Topic 6

when Mariokart comes onto Scratch::hat #ff0000
call [Luigi v] and say [hey bruh where is mario btw? bye.]::#ff0000
end call:: #ff0000
[activate v] Mariokart: [MarioKart Live: Home Circuit v]::#ff0000
bye::cap # ff0000

Last edited by PRA43G (Aug. 29, 2022 08:16:15)

Knightbot63
Scratcher
1000+ posts

Official [scratchblocks] Testing Topic 6

Oh wow, new testing topic!

Don't click the green flag block!
Cordongreen
Scratcher
1000+ posts

Official [scratchblocks] Testing Topic 6

when green flag clicked
forever
if <666> then
say [666]
broadcast [666]
report((111) * (6)) ::control

Last edited by Cordongreen (Aug. 29, 2022 12:32:32)

Powered by DjangoBB