Discuss Scratch

chriscreators14
Scratcher
500+ posts

A "Restart" -block

firedrake969_test wrote:

DotDash wrote:

mitchboy wrote:

Uh, I can see a problem with this:

when gf clicked
forever
restart [this script v]
define crash
crash

This gets the same results.
And broadcasting recursively. And

When [timer v] > (0)
play sound [annoying sound v]
but it was still added

Support.

KingOfAwesome58219 wrote:

Support. The workarounds are quite simple though -
- Have the user click the green flag.
- Replace all When Flag Clicked with a broadcast, then broadcast that whenever you want to restart.
now we have 99 broadcasts in your newest project and the new broadcast is 100th

Diamond_Projects wrote:

when green flag clicked
forever

reset timer
end


when [timer v] > (0.2)
restart :: control cap
What if someone does that?
It's the same as when stop sign clicked restart.
Report it.

OmnipotentPotato wrote:

It would be nice to have a block that's like restart from label A or something like that. What it would do is bring the script back to where the block “Label A” is at. So, two blocks would be added:

Goto label [(label id)]
and
Label [(label id)]

The latter would just be ignored when running a script until it gets the first command, and then the script would jump backwards to the latter block. If there is no block with that id in the script, the goto block would just be ignored. They have blocks like these on the TI-BASIC programming language and they are beyond useful.
What if somebody puts a goto after a label? No support, it is workaroundable using custom blocks and messages, or using the upcoming Restart blocks (for this reason, support)

See that line over there? Everything below it is my signature. You can advertise here.
Ctrl+Alt+Down or thing0 do NOT ask to scroll

Chris's Signature Tips
Issue 1: How to get your studios popular

For one, you'd likely need translations. That would be easier for everyone who doesn't speak English.
Another thing is the Propose Studios to be Featured topic in the Show and Tell forum.
J4ol
Scratcher
100+ posts

A "Restart" -block

100% Want, Could Be Good For Loading Systems

Hello There
OnTheCode99
Scratcher
500+ posts

A "Restart" -block

What about a repeat block?

(foo)
medians
Scratcher
1000+ posts

A "Restart" -block

OnTheCode99 wrote:

What about a repeat block?
What would the repeat block do? You could just restart it a certain number of times if you mean repeating the project (x) times.

Medians bamboozled by 3.0 (version 3.0): https://scratch.mit.edu/projects/979822351/
hi875230163394: You're similar to valve in that you both hate a certain number…
Scratch 0.x, 1.x, 2.x, 3.x and LogoBlocks Archives
Bamboozlement: https://scratch.mit.edu/studios/33739789
Years on internet: 15 (soon 16)
medians: Oh god not this utc - 12 thing again..
Fun_Cupcake_i81: What, were you expecting not to see the utc - 12 thing again? THE UTC - 12 THIGN ALWAYS RETURNS. ALWAYS.
medians: I knew it would happen. I was the one who started it last year.
Fun_Cupcake_i81: Well then if you didn't want it back maybe you need to time travel to last year and fix that

Oh wait if you could time travel I think we all know exactly when you would go-
user1: That picture is from 2.0. Now he’s at my house and is my pet.
user2: But this is medians we're talking about, so “from 2.0” can mean the same thing as “from five seconds ago”.

Detect Scratch version here
My other accounts: @selfexplanatory @modesties @chaircard @fireflyhero @dividendyield @colloids @radians @skeuamorphism @dihectogon @anglebisector @aau- @EditBlockColors @AdamantOrb @MoongeistBeam @festively @Ampharos_ @straightforwardness
i trolled redcat LOL





if you see this
{what method did you use::control hat
answer on profile ::motion
} ::operators
;
slushiies-
Scratcher
55 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
according to the scratch forum search, this is a duplicate. please refrain from posting duplicates, for info on how to find whether your idea is a duplicate or not, visit this forum post

UM
The_Game_
Scratcher
1000+ posts

A "Restart" -block

slushiies- wrote:

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
according to the scratch forum search, this is a duplicate. please refrain from posting duplicates, for info on how to find whether your idea is a duplicate or not, visit this forum post
Where exactly is the dupe?

Last edited by The_Game_ (June 16, 2023 00:50:10)


Neco-Arc is my spirit animal
I'm transfem, and by god I am PROUD!!!
Cool Roleplay Thing
Nyx is in your floorboards.
Happy Pride!
I am a GameMaker dev who used to use Scratch. I'm still on here but won’t be making large projects.
I am going to forever be remembered as a cat boy on the forums aren’t I?

Here is art things




 [img]https://u.cubeupload.com/The_Game_/NymphConfused.png[/img] 
 [img]https://u.cubeupload.com/The_Game_/NymphHappy.png[/img] 
 [img]https://u.cubeupload.com/The_Game_/Character.png[/img] 

;
medians
Scratcher
1000+ posts

A "Restart" -block

slushiies- wrote:

according to the scratch forum search, this is a duplicate. please refrain from posting duplicates, for info on how to find whether your idea is a duplicate or not, visit this forum post
Can you link to the original topic then? Also, they made this nearly 10 years ago (that makes me feel old to say since 2013 does not feel like that long ago).. it was made before that topic even existed, so I doubt they would really need this now.
Also, I think you mean ocular because the forum search for Scratch was removed in 2016.

Medians bamboozled by 3.0 (version 3.0): https://scratch.mit.edu/projects/979822351/
hi875230163394: You're similar to valve in that you both hate a certain number…
Scratch 0.x, 1.x, 2.x, 3.x and LogoBlocks Archives
Bamboozlement: https://scratch.mit.edu/studios/33739789
Years on internet: 15 (soon 16)
medians: Oh god not this utc - 12 thing again..
Fun_Cupcake_i81: What, were you expecting not to see the utc - 12 thing again? THE UTC - 12 THIGN ALWAYS RETURNS. ALWAYS.
medians: I knew it would happen. I was the one who started it last year.
Fun_Cupcake_i81: Well then if you didn't want it back maybe you need to time travel to last year and fix that

Oh wait if you could time travel I think we all know exactly when you would go-
user1: That picture is from 2.0. Now he’s at my house and is my pet.
user2: But this is medians we're talking about, so “from 2.0” can mean the same thing as “from five seconds ago”.

Detect Scratch version here
My other accounts: @selfexplanatory @modesties @chaircard @fireflyhero @dividendyield @colloids @radians @skeuamorphism @dihectogon @anglebisector @aau- @EditBlockColors @AdamantOrb @MoongeistBeam @festively @Ampharos_ @straightforwardness
i trolled redcat LOL





if you see this
{what method did you use::control hat
answer on profile ::motion
} ::operators
;
slushiies-
Scratcher
55 posts

A "Restart" -block

medians wrote:

slushiies- wrote:

according to the scratch forum search, this is a duplicate. please refrain from posting duplicates, for info on how to find whether your idea is a duplicate or not, visit this forum post
Can you link to the original topic then? Also, they made this nearly 10 years ago (that makes me feel old to say since 2013 does not feel like that long ago).. it was made before that topic even existed, so I doubt they would really need this now.
Also, I think you mean ocular because the forum search for Scratch was removed in 2016.
ohhh it said that it was a new post?

UM
The_Game_
Scratcher
1000+ posts

A "Restart" -block

slushiies- wrote:

medians wrote:

slushiies- wrote:

according to the scratch forum search, this is a duplicate. please refrain from posting duplicates, for info on how to find whether your idea is a duplicate or not, visit this forum post
Can you link to the original topic then? Also, they made this nearly 10 years ago (that makes me feel old to say since 2013 does not feel like that long ago).. it was made before that topic even existed, so I doubt they would really need this now.
Also, I think you mean ocular because the forum search for Scratch was removed in 2016.
ohhh it said that it was a new post?
Scratch just says whether something has new posts in it, not if the topic is new.

Neco-Arc is my spirit animal
I'm transfem, and by god I am PROUD!!!
Cool Roleplay Thing
Nyx is in your floorboards.
Happy Pride!
I am a GameMaker dev who used to use Scratch. I'm still on here but won’t be making large projects.
I am going to forever be remembered as a cat boy on the forums aren’t I?

Here is art things




 [img]https://u.cubeupload.com/The_Game_/NymphConfused.png[/img] 
 [img]https://u.cubeupload.com/The_Game_/NymphHappy.png[/img] 
 [img]https://u.cubeupload.com/The_Game_/Character.png[/img] 

;
VedanshS933
Scratcher
1000+ posts

A "Restart" -block

bump - this will be a cap block

Last edited by VedanshS933 (June 22, 2023 12:52:47)




Home OS 3.0 Coming Soon!
https://scratch.mit.edu/projects/880616996/

Post Count - 2000+!
1. Suggestions 1100+ (first time hitting 1000 on a subforum!)
2. Questions about Scratch 250+
3. Advanced Topics 230+
4. New Scratchers 100+
5. Show & Tell 80+
6. Bugs and Glitches 70+

redesigning the signature
medians
Scratcher
1000+ posts

A "Restart" -block

Bringing this topic up:
restart :: control cap

Medians bamboozled by 3.0 (version 3.0): https://scratch.mit.edu/projects/979822351/
hi875230163394: You're similar to valve in that you both hate a certain number…
Scratch 0.x, 1.x, 2.x, 3.x and LogoBlocks Archives
Bamboozlement: https://scratch.mit.edu/studios/33739789
Years on internet: 15 (soon 16)
medians: Oh god not this utc - 12 thing again..
Fun_Cupcake_i81: What, were you expecting not to see the utc - 12 thing again? THE UTC - 12 THIGN ALWAYS RETURNS. ALWAYS.
medians: I knew it would happen. I was the one who started it last year.
Fun_Cupcake_i81: Well then if you didn't want it back maybe you need to time travel to last year and fix that

Oh wait if you could time travel I think we all know exactly when you would go-
user1: That picture is from 2.0. Now he’s at my house and is my pet.
user2: But this is medians we're talking about, so “from 2.0” can mean the same thing as “from five seconds ago”.

Detect Scratch version here
My other accounts: @selfexplanatory @modesties @chaircard @fireflyhero @dividendyield @colloids @radians @skeuamorphism @dihectogon @anglebisector @aau- @EditBlockColors @AdamantOrb @MoongeistBeam @festively @Ampharos_ @straightforwardness
i trolled redcat LOL





if you see this
{what method did you use::control hat
answer on profile ::motion
} ::operators
;
ninjahanzo
Scratcher
500+ posts

A "Restart" -block

bius
bump



Make pixel art | C.A. 2 Proposal | 500th post | AY: me and medians 2nd scratch bdays
Be high contrast
____________________________________________________________________________________________________________________
anti-kumquat chip 5000 v2.5.60
siggy protectors hosted here
GlitchyDaCuber
Scratcher
60 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
Support

ai em veri cul person

oh also, please play mother, earthbound, undertale and baba is you, you wont regret it

Cool website (Not rickroll btw)
Rocketpowered12
Scratcher
95 posts

A "Restart" -block

stop [all v] and restart :: control cap // same options as the "Stop" block

The Cycle to Scratch

when green flag clicked
forever
Inspire
Think
Create
Share
end
AllenderaGames
Scratcher
100+ posts

A "Restart" -block

I think the restart block should look like this

restart ( )::control
with also
restart [all]::control

restart [script v]::control

restart [other sprites]::control

set restart to ( v) times::control
or also as:
( v) restart to ( v) ( v)::control
which one do you prefer?
sorry I forgot including this:
restart ( )::control

Last edited by AllenderaGames (Oct. 18, 2023 02:32:10)


Hello! We need many followers in our studio for to them to see our cool games! link: https://scratch.mit.edu/studios/33929181
when green flag clicked
represent (Scratch v) as ( fun! v)::control
imagine (creativity v) and code ( free! v)::control

this is Angelina (:A) she protects my post by evil, new and rare species: the Tapiocans!::variables
thedogcoder440
Scratcher
100+ posts

A "Restart" -block

BIG WORKAROUND!!


make broadcast block
broadcast [Reset v]

also replace all
when green flag clicked

with
when I receive [Reset v]

and the only when green flag clicked block is used here:
when green flag clicked
broadcast [Reset v]

Ocular(find dupes)

my other signature was eaten because it had too many characters in it… SOOoooo
goodbye

nahh, anyways: Game creator, Forums, Finds dupes in the most annoying way possible

LANGUAGES:
Scratch|Python|English|Italian

siggys be longer :(
Gamer_Logan819
Scratcher
1000+ posts

A "Restart" -block

Bump because dupe

The forum boogeymen are out to get you

cactus-cacti
Scratcher
100+ posts

A "Restart" -block

Bump!

This would be very helpful because it would be quite handy in a project I'm working on.

BionicBoy554
Scratcher
1000+ posts

A "Restart" -block

Elaborate: does this restart act as a green flag block or reset the project to when you first started it?

I specialize in animating fight collabs. I've entered the ‘decent’ stage.

A couple of studios I’m in:

A kumquat ate my productivity.
Unithlees3
Scratcher
1000+ posts

A "Restart" -block

Here's a workaround:
when green flag clicked
broadcast (green flag v)
when I receive [green flag v] // replace all "when green flag clicked" with this except for the first one

broadcast (green flag v) // restarts every script
// if you want to only do a certain script, just use a repeat block and set the repeat value to 2.

this is a signature, it goes beneath my posts and a link here isn't considered advertising

meh youtube channel is here

Powered by DjangoBB