Do new blocks in the scratchblocks language based on this: Hi Lists::list…
- User
Do new blocks in the scratchblocks language based on this: Hi Lists::list Variables::variables Controls::control Start stuff::events Adding::operators [QWERTYUIOP v] turns to (0)::extension Boolean time AhahaHAAHh::variables::sensing I love to move::motion Looks [Hello!] (costume1 v) (size::looks)::looks Speak::sound HELLO::custom Obsolete::obsolete Last thing::grey abc:: looks say [I'm not a Motion block!]:: motion eat (pen color:: pen):: control if <touching (mouse pointer v)?:: list> then die:: grey end abc:: events hat def:: motion stack ghi:: pen reporter jkl:: operators boolean
Hi there::looks hat mnop@addInput { qrstuv { destroy {move (3829) steps and wait::motion ring}::events }wxyz{ say { say ((1) + (1)) and stop loop::looks cap }@loopArrow::looks }::motion }::grey cap
speak (Hello I am a banger <wait, you're not a variable [yes v]::variables> [#d7a936]::variables)::tts when @greenFlag clicked::events hat repeat (1000){ glide (1) [millisecs v] to (edges v)::motion }then repeat (5){ say [Fin] for (1) seconds::looks say [ished!] for (1) seconds::looks }@loopArrow::control wait until <touching color (#d7a0b0)?>::control
run ({create clone:: control} @addInput:: grey ring):: control
<() @addInput:: grey ring>
say (http:// [snap.berkeley.edu]:: sensing)
((6) × (7):: operators)
(join [hello ] [world] @delInput @addInput:: operators)
script variables ((foo):: grey) ((bar):: grey) @delInput @addInput:: grey
warp { move (10) steps } :: grey
report [Done!]:: control cap
(<> @addInput) // without even the:: grey ring
- Assistant
Certainly! Here is the Scratchblocks code with the new blocks based on the given language:
Hi::grey cap Lists::list Variables::variables Controls::control Start stuff::events Adding::operators [QWERTYUIOP v] turns to (0)::extension Boolean time <AhahaHAAHh::variables>::sensing I love to move::motion Looks [Hello!] (costume1 v) (size::looks)::looks Speak::sound HELLO::custom Obsolete::obsolete Last thing::grey abc::looks say [I'm not a Motion block!]::motion eat (pen color::pen)::control if <touching (mouse pointer v)?::list> then die::grey end abc::events hat def::motion stack ghi::pen reporter jkl::operators boolean Hi there::looks hat mnop@addInput { qrstuv { destroy {move (3829) steps and wait::motion ring}::events }wxyz{ say { say ((1) + (1)) and stop loop::looks cap }@loopArrow::looks }::motion }::grey cap speak (Hello I am a banger <wait, you're not a variable [yes v]::variables> [#d7a936]::variables)::tts when @greenFlag clicked::events hat repeat (1000){ glide (1) [millisecs v] to (edges v)::motion }then repeat (5){ say [Fin] for (1) seconds::looks say [ished!] for (1) seconds::looks }@loopArrow::control wait until <touching color (#d7a0b0)?>::control run ({create clone::control} @addInput::grey ring)::control <() @addInput::grey ring> say (http:// [snap.berkeley.edu]::sensing) ((6) × (7)::operators) (join [hello ] [world] @delInput @addInput::operators) script variables ((foo)::grey) ((bar)::grey) @delInput @addInput::grey warp { move (10) steps }::grey report [Done!]::control cap (<> @addInput) // without even the::grey ring - User
Now generate completely new ones
- Assistant
Here are some new blocks in the Scratchblocks language:
Greet::custom Numbers::variables Navigation::control Begin Journey::events Math Operations::operators [Customization v] allows (0)::extension Boolean Statement <Check This Out!::variables>::sensing Animate::motion Visual Effects [New Look] (style::looks)::looks Sound Effects::sound Special Function::custom Outdated::obsolete Final Message::grey xyz::looks talk [I'm a new block!]::motion perform (drawing action::pen)::control if <detect collision (obstacle v)?::list> then vanish::grey end xyz::events hat abc::motion stack defg::pen reporter hijk::operators boolean Greetings::looks hat block@addInput { section1 { destroy {move (500) steps and wait::motion ring}::events }section2{ say { say ((2) + (2)) then stop loop::looks cap }@loopArrow::looks }::motion }::grey cap speak (Good day! <are you a fan [yes v]::variables> [#123456]::variables)::tts when @startButton clicked::events hat repeat (10){ glide (2) [seconds v] to (destination v)::motion }then repeat (3){ say [Bye] for (2) seconds::looks say [Now!] for (2) seconds::looks }@loopArrow::control pause until <reaching target (area v)?>::control execute ({generate clone::control} @addInput::grey ring)::control <() @addInput::grey ring> say (https:// [scratch.mit.edu]::sensing) ((8) ÷ (2)::operators) (merge [good ] [world] @delInput @addInput::operators) define custom ((x)::grey) ((y)::grey) @delInput @addInput::grey jump { move (25) steps }::grey report [Success!]::control cap (<> @addInput) // excluding the::grey ringThese new blocks are just examples and can be customized further as needed.