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.
Burn_Quartz
Scratcher
42 posts

A "Restart" -block

support! this would be super useful!

set [ double clicked? v] to [0]

when green flag clicked
change [ double clicked? v] by (1)
if <(double clicked?) = [1]> then
restart [ all v]::#ffab19
end
Fihmchangeh
Scratcher
1 post

A "Restart" -block

I want yo to show how to do it
medians
Scratcher
1000+ posts

A "Restart" -block

Some mockups:
restart [this script v]::cap control

restart [project v]::cap control

restart [other scripts in this sprite v]::stack control

restart [other sprites v]::stack control

restart [all in this sprite v]::cap control
da-ultimate-creater
Scratcher
100+ posts

A "Restart" -block

Support. This will be really useful, and will also help beginners easily restart a project without having to manually click the green flag every time. Although there is a workaround, I think this would be much easier and simpler.

Maybe the block could be a bit more specific, like
 stop all and restart::control cap
tagrim123
Scratcher
500+ posts

A "Restart" -block

SuperNicky wrote:

Um whats wrong with clicking the green flag


(excess characters removed by moderator - please don't spam)
This is for convenience, like binding a key to a menu that's shown at the start. This is a wild moderation note.

Powered by DjangoBB