Discuss Scratch

Quantum1993
Scratcher
500+ posts

A "Restart" -block

PH-zero wrote:

Hey

We have a
stop []
But what you gonna do if you just want to shut all scripts down and restart the game?
You can't just use
stop [all]
because (logically) you can't put another block under this block.

So you need to mess around with messages.

this block would be easy to understand and i think it wouldn't be too
hard to implement it.

restart
Semi-support, because this has a workaround using broadcasts, but would make it more simple.
lgrov44
Scratcher
500+ posts

A "Restart" -block

No support, I just don't feel the need to do this. The workaround seems simple enough and I am alrighty too used to the old-fashioned way, not that it shouldn't get updated but that I like this way.
chriscreators14
Scratcher
500+ posts

A "Restart" -block

DotDash wrote:

(#2)

PH-zero wrote:

Hey

We have a
stop []
But what you gonna do if you just want to shut all scripts down and restart the game?
You can't just use
stop [all]
because (logically) you can't put another block under this block.

So you need to mess around with messages.

this block would be easy to understand and i think it wouldn't be too
hard to implement it.

restart
Maybe a drop-down?
Options:

restart [this script v]

restart [all v]

restart [other scripts in this sprite v]

restart [other sprites v]
restart [all v] :: control // this script, all, other scripts in this sprite
restart [all v] and stop :: control cap
click green flag :: events
click green flag and stop :: events cap
-OctoSquid-
Scratcher
100+ posts

A "Restart" -block

Support, this could be used to automate those “double click green flag” projects which would be really convenient.

Powered by DjangoBB