Discuss Scratch
- Discussion Forums
- » Suggestions
- » "Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
- cooldude-222
-
Scratcher
100+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
Ok i guess i understand. Thanks anyway@xxRedTheCoderxxThat was my logic, but people wanted it to change as it may be confusing to some new to coding and technology.
can you make the block run while running it just sounds better and you don't to code you run code.Also, this block would need a new name, as it might confuse people who are new to technology and don't know that “run” means something other than making the Scratch Cat run across the screen.Maybe “do while doing” would be better?And I think “do while” sounds less weird than “run while”.
- coder_isaiyah11
-
Scratcher
100+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
||||||||||||||||||||||||||||||||||||
|
|(E)
|While doing
|
||||||||||||||||||||||||||||||||||
|
|(E)
|
|
|||||||||||||||||||||||||||||||||||
|
|(E)
|While doing
|
||||||||||||||||||||||||||||||||||
|
|(E)
|
|
|||||||||||||||||||||||||||||||||||
Last edited by coder_isaiyah11 (Sept. 1, 2020 05:14:40)
- ilovericebubbles
-
Scratcher
100+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
Support!
Yes, there ARE workarounds (using the broadcast and two receivers and setting local variables and such and such) but they are very complicated.
There are so many ways to use this block, and it makes sense as Scratch already supports multithreading (two when flag clicks and such and such).
It makes more sense than an async or similar block, and would still make sense for new users.
Yes, there ARE workarounds (using the broadcast and two receivers and setting local variables and such and such) but they are very complicated.
There are so many ways to use this block, and it makes sense as Scratch already supports multithreading (two when flag clicks and such and such).
It makes more sense than an async or similar block, and would still make sense for new users.
- BasisEssence779
-
Scratcher
100+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
SUPPORT!!! I don't like be obliged to make two scripts. Mostly I don't like having to make two custom blocks just for one missing block.
Last edited by BasisEssence779 (Sept. 1, 2020 11:05:50)
- lovecodeabc
-
Scratcher
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
define func1See
forever
move (20) steps
broadcast [m1 v]
end
when I receive [m1 v]
do something
when green flag clicked
func1
Last edited by lovecodeabc (Sept. 9, 2020 16:35:25)
- cooldude-222
-
Scratcher
100+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
Did You read the op the point is to not need to use broad casts in custom blocksdefine func1See
forever
move (20) steps
broadcast [m1 v]
end
when I receive [m1 v]
do something
when green flag clicked
func1
- lovecodeabc
-
Scratcher
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
Yes but until this is implemented we can do this At LeastDid You read the op the point is to not need to use broad casts in custom blocksdefine func1See
forever
move (20) steps
broadcast [m1 v]
end
when I receive [m1 v]
do something
when green flag clicked
func1
Btw the OP is good but we’ll have to wait for implementation.
- xXRedTheCoderXx
-
Scratcher
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
Yes but until this is implemented we can do this At LeastI don't think you fully understand this suggestion - that workaround doesn't completely work.
Btw the OP is good but we’ll have to wait for implementation.
Also please read this:
if you make 2 different custom blocks,No…
and do this:when green flag clickedit would work like this script, right?
custom block 1 :: custom
custom block 2 :: custom
Custom blocks run code underneath them when the custom block is done running.
And with forever loops, that would be never.
The only possible workaround is incredibly complicated and requires a list for every single argument of every single custom block.
This block's main use is to make custom blocks able to run multiple scripts.
And, as you may know, custom blocks are different from broadcasts because with custom blocks you can add boolean inputs and string inputs. You could only use those inputs when you define the custom block.
So, basically broadcasts can't carry over what you input in the custom block unless you use variables or something but like bruh.
Having to make a variable for every single argument in your custom block is beyond tedious and isn't ideal. Having so many variables could cause your variable list to clutter up.So, basically broadcasts can't carry over what you input in the custom block unless you use variables or something but like bruh.As a person who hasn't used custom blocks in a while, why would using variables be an issue?
Also, using variables means that you can only run a custom block when it isn't already running, otherwise your variables will change from the other custom block of the same type running, and you'd be left scratching your head wondering why your game doesn't work.
It's hard to put into words, at least for me, but trust me, using variables restricts you, which could lead to the breaking of your game, as well as clutters your variable list making your game as a whole just that bit more unorganized.
- arvepro3579
-
Scratcher
100+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
This isn't useful, you can just replace it.
- xXRedTheCoderXx
-
Scratcher
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
This isn't useful, you can just replace it.Read. The. Entire. OP. Please.
if you make 2 different custom blocks,No…
and do this:when green flag clickedit would work like this script, right?
custom block 1 :: custom
custom block 2 :: custom
Custom blocks run code underneath them when the custom block is done running.
And with forever loops, that would be never.
The only possible workaround is incredibly complicated and requires a list for every single argument of every single custom block.
This block's main use is to make custom blocks able to run multiple scripts.
And, as you may know, custom blocks are different from broadcasts because with custom blocks you can add boolean inputs and string inputs. You could only use those inputs when you define the custom block.
So, basically broadcasts can't carry over what you input in the custom block unless you use variables or something but like bruh.
Having to make a variable for every single argument in your custom block is beyond tedious and isn't ideal. Having so many variables could cause your variable list to clutter up.So, basically broadcasts can't carry over what you input in the custom block unless you use variables or something but like bruh.As a person who hasn't used custom blocks in a while, why would using variables be an issue?
Also, using variables means that you can only run a custom block when it isn't already running, otherwise your variables will change from the other custom block of the same type running, and you'd be left scratching your head wondering why your game doesn't work.
It's hard to put into words, at least for me, but trust me, using variables restricts you, which could lead to the breaking of your game, as well as clutters your variable list making your game as a whole just that bit more unorganized.
- lapisi
-
Scratcher
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
This isn't useful, you can just replace it.what do you mean by replace?
- rdococ
-
Scratcher
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
I'd love to see something like this. Currently, the only workarounds are broadcasts and clones, both of which are limited in various ways. With broadcasts, only one instance of a script can run at a time, and with clones, you can't access sprite-local variables, and there's a limit on how many things you can run at once.
- cooldude-222
-
Scratcher
100+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
@xxRedTheCoderxx I recommend that you add read the entire op to the title
- xXRedTheCoderXx
-
Scratcher
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
@xxRedTheCoderxx I recommend that you add read the entire op to the titleGood idea, thanks.

- ipaddude
-
Scratcher
100+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
support
tho like
workarounds mentioned in earlier posts
tho like
workarounds mentioned in earlier posts
- lovecodeabc
-
Scratcher
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
when green flag clickedhttps://scratch.mit.edu/projects/424934761/
f
when green flag clicked
c
define f
...
define c
...
That’s what I mean.
Last edited by lovecodeabc (Sept. 12, 2020 12:37:42)
- j3r0_plays
-
Scratcher
100+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
Oh and also i (A strong resistor(Xd) of this idea) just want to point out that this would make scratch soo much laggier… I mean it wouldnt be hard to abuse this to crash scratch….
- xXRedTheCoderXx
-
Scratcher
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
Oh and also i (A strong resistor(Xd) of this idea) just want to point out that this would make scratch soo much laggier… I mean it wouldnt be hard to abuse this to crash scratch….Bruh, how!? Literally everything you can do with this block to cause lag you can already do in Scratch. And, how many times do I have to say this block doesn't cause any extra lag? ;-;
Huh? I still don't know what you're trying to say. Maybe explain better by using more than 4 words.when green flag clickedhttps://scratch.mit.edu/projects/424934761/
f
when green flag clicked
c
define f
...
define c
...
That’s what I mean.
supportBruh. Quote one and I will tell you how it doesn't work, or only works on condition.
tho like
workarounds mentioned in earlier posts
- MrFluffyPenguins
-
Scratcher
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
everyone's just saying that there's workarounds and it can be abused for lag without reading the entire op
this is nothing out of the ordinary for the suggestions forum to be honest
this is nothing out of the ordinary for the suggestions forum to be honest
- cooldude-222
-
Scratcher
100+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
my gosh now people won't even read the titlewhen green flag clickedhttps://scratch.mit.edu/projects/424934761/
f
when green flag clicked
c
define f
...
define c
...
That’s what I mean.
