Discuss Scratch
- Pianostar4
-
Scratcher
1000+ posts
restart block
There are two ways to do this:
1. Click green flag
2. make a sprite that brodcasts something when you click it and the “When i recieve brodcast” block has the same code as the game part of the “When flag clicked” block.
(gah forgot support) No support.
1. Click green flag
2. make a sprite that brodcasts something when you click it and the “When i recieve brodcast” block has the same code as the game part of the “When flag clicked” block.
(gah forgot support) No support.
Last edited by Pianostar4 (May 5, 2021 21:29:30)
- sonic__fan
-
Scratcher
1000+ posts
restart block
theres the problemHow is it “the problem”?
lets amimate the prossesePlease type something legible.
wow i just realized: this is the guy that didn't understand what a duplicate was and said to keep the convo on his topic
- evangamer_100
-
Scratcher
100+ posts
restart block
what if the green flag is not working
also i do know what a duplicate is but i think anything less then 6 mouth old shulad no longer be considered as a duplicate
also give me a break
just realized i use also 2 times
also i do know what a duplicate is but i think anything less then 6 mouth old shulad no longer be considered as a duplicate
also give me a break
just realized i use also 2 times
Last edited by evangamer_100 (May 5, 2021 21:38:25)
- sonic__fan
-
Scratcher
1000+ posts
restart block
also i do know what a duplicateNow you do.
but i think anything less then 6 mouth old shulad no longer be considered as a duplicateWhat if the topic is still active? And in anyway, that topic is still the original topic, so the new one is still considered a duplicate.
Last edited by sonic__fan (May 5, 2021 21:40:37)
- samq64
-
Scratcher
1000+ posts
restart block
Stop all and click @greenFlag::events capLike that? If so I've seen this suggestion before, but I don't have the link.
- evangamer_100
-
Scratcher
100+ posts
restart block
when (sustain condition is made) restart proget over
- Tronche2Cake
-
Scratcher
100+ posts
restart block
explain 2
when green flag clickedthen run everything you would use green flag for using this broadcast.
broadcast [start project]
You can now use another broadcast to simulate a flag press.
- DarthVader4Life
-
Scratcher
1000+ posts
restart block
Note: I'm not saying that this is rejected, but there may be some relevance in this TOLORS Quote.
1.2 “When stop sign clicked” hat blockIf the intended use is to restart the project after the stop sign was clicked, then this TOLORS quote has much significance, but if that's not the intended use, then never mind, but it may yet hold some significance.
This block would allow users to click the stop sign to run a script. However, the stop sign is designed to stop all the scripts in the project. With this block in place, more scripts will start when you want the project to stop, thus defeating the purpose of the stop sign. This could also be rather confusing for the “stop all” block. Regardless, there is a workaround that uses the “when (timer) > (number)” hat block; one such workaround can be found in this post.
Last edited by DarthVader4Life (May 6, 2021 02:04:56)
- Steve0Greatness
-
Scratcher
1000+ posts
restart block
Note: I'm not saying that this is rejected, but there may be some relevance in this TOLORS Quote.I think they want a block to restart the project from the1.2 “When stop sign clicked” hat blockIf the intended use is to restart the project after the stop sign was clicked, then this TOLORS quote has much significance, but if that's not the intended use, then never mind, but it may yet hold some significance.
This block would allow users to click the stop sign to run a script. However, the stop sign is designed to stop all the scripts in the project. With this block in place, more scripts will start when you want the project to stop, thus defeating the purpose of the stop sign. This could also be rather confusing for the “stop all” block. Regardless, there is a workaround that uses the “when (timer) > (number)” hat block; one such workaround can be found in this post.
when green flag clicked
- plqaokwsijeduhrfyg
-
Scratcher
500+ posts
restart block
So you want a block that reruns all
when @greenflag clickedScripts?
- DarthVader4Life
-
Scratcher
1000+ posts
restart block
But then couldn't you just click the green flag?Note: I'm not saying that this is rejected, but there may be some relevance in this TOLORS Quote.I think they want a block to restart the project from the1.2 “When stop sign clicked” hat blockIf the intended use is to restart the project after the stop sign was clicked, then this TOLORS quote has much significance, but if that's not the intended use, then never mind, but it may yet hold some significance.
This block would allow users to click the stop sign to run a script. However, the stop sign is designed to stop all the scripts in the project. With this block in place, more scripts will start when you want the project to stop, thus defeating the purpose of the stop sign. This could also be rather confusing for the “stop all” block. Regardless, there is a workaround that uses the “when (timer) > (number)” hat block; one such workaround can be found in this post.when green flag clicked
- evangamer_100
-
Scratcher
100+ posts
restart block
but other video games would rerun scripts, plus it would be great for animationBut then couldn't you just click the green flag?Note: I'm not saying that this is rejected, but there may be some relevance in this TOLORS Quote.I think they want a block to restart the project from the1.2 “When stop sign clicked” hat blockIf the intended use is to restart the project after the stop sign was clicked, then this TOLORS quote has much significance, but if that's not the intended use, then never mind, but it may yet hold some significance.
This block would allow users to click the stop sign to run a script. However, the stop sign is designed to stop all the scripts in the project. With this block in place, more scripts will start when you want the project to stop, thus defeating the purpose of the stop sign. This could also be rather confusing for the “stop all” block. Regardless, there is a workaround that uses the “when (timer) > (number)” hat block; one such workaround can be found in this post.when green flag clicked








