Discuss Scratch

Shock59
Scratcher
82 posts

New block idea

Hi there! I have some ideas for a new block:
variable?:: variables boolean
This block would have the same value as this:
<(variable:: variables) = [true]>
For the opposite value, the block could be used like this:
<not <variable?:: variables>>
I hope the ST looks into it!

when day begins:: events hat
repeat until <day is over?::sensing>
code:: motion
smile:: looks
groan at annoying comments:: #000000
end
Shock59
Greatness starts here…
E_Equals_EmCeCube3
Scratcher
1000+ posts

New block idea

It looks like your idea has been suggested before in this topic here. Please continue the discussion there so we can keep the suggestions organized and in one place. Thanks!

– signed, E_Equals_EmCeCube3. Have a good day!

Scratcher, aspiring game developer, and enjoyer of (mostly indie) video games (favorite is Stardew Valley)
projects | profile | notebook | past/side account
meoecat
Scratcher
63 posts

New block idea

<[my variable v] true?::variables>

when green flag clicked
hey plumber boy, mustache man, your worst nightmare has arrived::custom
define hey plumber boy, mustache man, your worst nightmare has arrived
go to [Nintendo Corp. v]
go to [truck with Playstation v]
when [Playstation distance (in metres) v] > (5)
turn video [on v]
if <touching [controller? v]> then
play it::control
else
go to [truck with Playstation v]
ResExsention
New to Scratch
1000+ posts

New block idea

Expect no support from me. This will probably just result in confusion between:

if <(foo) = [whatever]> then
. . .
end

and

<variable?>

if you already know how to program in other languages:

#include <iostream>

int main()
{
std::cout << “Confusion between variable? and if variable equals!” << std::endl;
}

Infrequently active.

It feels weird to see how far we've come. I hope you're well, wherever you are!
Shock59
Scratcher
82 posts

New block idea

E_Equals_EmCeCube3 wrote:

It looks like your idea has been suggested before in this topic here. Please continue the discussion there so we can keep the suggestions organized and in one place. Thanks!
Oh! I didn't know.

when day begins:: events hat
repeat until <day is over?::sensing>
code:: motion
smile:: looks
groan at annoying comments:: #000000
end
Shock59
Greatness starts here…

Powered by DjangoBB