Discuss Scratch

WolfPBCRC
Scratcher
26 posts

do it please

you should make an if green flag clicked and allow event blocks in block definitiohns
-ElectronicArts-
Scratcher
1000+ posts

do it please

Is this important in the first place?
To run a project you need to press the greenflag button.
an if green flag boolean? clicking the greenflag will reset the project to the first place so this will be useless.
Walimimi
Scratcher
1000+ posts

do it please

-ElectronicArts- wrote:

Is this important in the first place?
To run a project you need to press the greenflag button.
an if green flag boolean? clicking the greenflag will reset the project to the first place so this will be useless.
Maybe they mean a If message1 received block? Because that could be useful..
medians
Scratcher
1000+ posts

do it please

Uhm, just use the events hat blocks if you want to use it in the project. You don't really need to use a block definition for it. And you can't use hat blocks in them.

Walimimi wrote:

-ElectronicArts- wrote:

Is this important in the first place?
To run a project you need to press the greenflag button.
an if green flag boolean? clicking the greenflag will reset the project to the first place so this will be useless.
Maybe they mean a If message1 received block? Because that could be useful..
They said this though:

WolfPBCRC wrote:

you should make an if green flag clicked

Last edited by medians (April 9, 2023 13:30:10)

wikibro300000
Scratcher
1000+ posts

do it please

Do u mean something like this:
<@greenFlag clicked? :: events>
If u do, this would be use less, u can just use:
when green flag clicked

Last edited by wikibro300000 (April 9, 2023 13:29:31)

Walimimi
Scratcher
1000+ posts

do it please

medians wrote:

Uhm, just use the events hat blocks if you want to use it in the project. You don't really need to use a block definition for it. And you can't use hat blocks in them.

Walimimi wrote:

-ElectronicArts- wrote:

Is this important in the first place?
To run a project you need to press the greenflag button.
an if green flag boolean? clicking the greenflag will reset the project to the first place so this will be useless.
Maybe they mean a If message1 received block? Because that could be useful..
They said this though:

WolfPBCRC wrote:

you should make an if green flag clicked

True, but

WolfPBCRC wrote:

and allow event blocks in block definitiohns
So it might be any event block.
wikibro300000
Scratcher
1000+ posts

do it please

Walimimi wrote:

-ElectronicArts- wrote:

Is this important in the first place?
To run a project you need to press the greenflag button.
an if green flag boolean? clicking the greenflag will reset the project to the first place so this will be useless.
Maybe they mean a If message1 received block? Because that could be useful..
That block is rejected I think
medians
Scratcher
1000+ posts

do it please

Walimimi wrote:

True, but

WolfPBCRC wrote:

and allow event blocks in block definitiohns
So it might be any event block.


You can't put any hat block there, and those are the only non-hat event blocks so far.
Walimimi
Scratcher
1000+ posts

do it please

medians wrote:

Walimimi wrote:

True, but

WolfPBCRC wrote:

and allow event blocks in block definitiohns
So it might be any event block.


You can't put any hat block there, and those are the only non-hat event blocks so far.
I know. You are right!
WolfPBCRC
Scratcher
26 posts

do it please

Walimimi wrote:

-ElectronicArts- wrote:

Is this important in the first place?
To run a project you need to press the greenflag button.
an if green flag boolean? clicking the greenflag will reset the project to the first place so this will be useless.
Maybe they mean a If message1 received block? Because that could be useful..
What i meant was that if that user has clicked the green flag already since after they clicked on the project.
wikibro300000
Scratcher
1000+ posts

do it please

WolfPBCRC wrote:

Walimimi wrote:

-ElectronicArts- wrote:

Is this important in the first place?
To run a project you need to press the greenflag button.
an if green flag boolean? clicking the greenflag will reset the project to the first place so this will be useless.
Maybe they mean a If message1 received block? Because that could be useful..
What i meant was that if that user has clicked the green flag already since after they clicked on the project.
You can just use this:
when green flag clicked
waitwhat2288
Scratcher
100+ posts

do it please

I know that some projects run from the assist of other hat blocks that aren't a “when green flag clicked” but I can't really find this being useful in that many scenarios. It's also a bit ambiguous what this would do, like if the green flag was already clicked or if it was clicked on said frame when the boolean is scanned. Saying that this is pretty easy to replicate via the “when green flag clicked” hat block, I think this would just make things more over-complicated then it should be.

Last edited by waitwhat2288 (April 9, 2023 21:58:35)

unmissable
Scratcher
1000+ posts

do it please

I think we need clarification on what this block is before we discuss it being implemented.
medians
Scratcher
1000+ posts

do it please

WolfPBCRC wrote:

Walimimi wrote:

-ElectronicArts- wrote:

Is this important in the first place?
To run a project you need to press the greenflag button.
an if green flag boolean? clicking the greenflag will reset the project to the first place so this will be useless.
Maybe they mean a If message1 received block? Because that could be useful..
What i meant was that if that user has clicked the green flag already since after they clicked on the project.
Does this include refreshing or if they go back to the page?
wikibro300000
Scratcher
1000+ posts

do it please

unmissable wrote:

I think we need clarification on what this block is before we discuss it being implemented.
I think he means this:
< @greenFlag clicked? :: events>

Last edited by wikibro300000 (April 10, 2023 05:24:56)

unmissable
Scratcher
1000+ posts

do it please

wikibro300000 wrote:

unmissable wrote:

I think we need clarification on what this block is before we discuss it being implemented.
I think he means this:
< @greenFlag clicked? :: events>
Well then that wouldn't work, as the project would be reset.
There are people who'd use it, but a workaround exists (the UTDPs one) and even though it's complicated, it works, so I doubt ST will add this.

Last edited by unmissable (April 10, 2023 20:35:48)

Walimimi
Scratcher
1000+ posts

do it please

wikibro300000 wrote:

unmissable wrote:

I think we need clarification on what this block is before we discuss it being implemented.
I think he means this:
< @greenFlag clicked? :: events>
Or
< [Message1 v] received? :: events>
k7e
Scratcher
1000+ posts

do it please

if @greenFlag clicked then {

} :: control

define custom
when I receive [ v] :: events stack
wikibro300000
Scratcher
1000+ posts

do it please

Walimimi wrote:

wikibro300000 wrote:

unmissable wrote:

I think we need clarification on what this block is before we discuss it being implemented.
I think he means this:
< @greenFlag clicked? :: events>
Or
< [Message1 v] received? :: events>
That block is rejected

Za-Chary wrote:

1.1 page=1#post-634620]“Broadcast received” boolean block
This would allow a project to detect when a broadcast is sent. But, there is a lot of ambiguity on how this would work. Would it return true if the broadcast was fired since the project was created, since the green flag was clicked, or since something else was broadcasted? The workaround is simple: use variables that change when a broadcast is received, then use the “equals” block.

However, the blocks “repeat until broadcast received” and “wait until broadcast received” are NOT rejected; you can discuss them on this topic.

<[message v] received? :: events>

Last edited by wikibro300000 (April 11, 2023 06:12:35)

Powered by DjangoBB