Discuss Scratch
- GLC_QWERTY
- New to Scratch
1 post
A "Restart" -block
it would really be good to get a reset command so i could reset my score
- Maltion
- Scratcher
70 posts
A "Restart" -block
Support. Make go to menu buttons will be more easy to do.
@Maltion (Maltion Studios)
The worst Scratcher of all time!
- k7e
- Scratcher
1000+ posts
A "Restart" -block
bump as someone made a similitude of this
restart @greenFlag :: control // bump
@mythoslore was so much more obvious than @spookily
- RoUgH_kids
- Scratcher
27 posts
A "Restart" -block
Hey
We have astop []But what you gonna do if you just want to shut all scripts down and restart the game?
You can't just usestop [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
We have the “If Flag Clicked” Block. You can just click flag to restart the game… Unless you mean if the sprite senses somethings and the game would restart. If you mean the second option, then you can just do a simple code of resetting the sprites loctaion, you can reset the bacdrops, other sprites, variables etc. etc. Hope that helps!
I left Scratch. No longer active
- k7e
- Scratcher
1000+ posts
A "Restart" -block
edit: idk
Last edited by k7e (May 31, 2023 04:42:04)
@mythoslore was so much more obvious than @spookily
- gdfsgdfsgdfg
- Scratcher
1000+ posts
A "Restart" -block
RestartIt would be so cool !
Congrats you revived an old post
1000th post also use -forbidden- or highlight and ctrl (optional on some browsers) + shift + down arrow for more of my siggy
I gotta go touch sum grass
If it causes issues make it optional - gdfsgdfsgdfg
Do some research before replying to my posts - gdfsgdfsgdfg
curse you 60 sec rule
glory to Gdfsg Land
gdfsgdfsgdfg returns
Ocular(don’t look at my old posts plz)
PostPercent
kumquats? nah
my siggy is built with titani- *gets eaten*
A new game that no one asked for:
https://scratch.mit.edu/projects/1035251507/
Are you sleeping you tall cat (project):
https://scratch.mit.edu/projects/1002042247/
The only suggestions I fully support are:
https://scratch.mit.edu/projects/924995948/
Don’t force me to get proof
get it yourself
my favorite topic is this (due to comedic purposes):
https://scratch.mit.edu/discuss/topic/709979/
my favorite post is this (it’s deleted but I got it from ocular):
https://ocular.jeffalo.net/post/7517300
Grand borrowing cars IV intro and loading (template):
https://scratch.mit.edu/projects/972295666/
Guess the game by its mission name:
https://scratch.mit.edu/discuss/topic/750145/
GBC (GTA) topic:
https://scratch.mit.edu/discuss/topic/751981/
BF (Battlefield) topic:
https://scratch.mit.edu/discuss/topic/753243/
still don’t have the popularity lol (atleast I reached 100 followers)
Skill issue
reject
Embrace :)
Help I ran out of ideas
- k7e
- Scratcher
1000+ posts
A "Restart" -block
bump duplicate
@mythoslore was so much more obvious than @spookily
- medians
- Scratcher
1000+ posts
A "Restart" -block
Bringing this up LOL.
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
- ARandomNumberIs7482
- Scratcher
1000+ posts
A "Restart" -block
This it would really be good to get a reset command so i could reset my score
set [foo v] to [0]
“Medians NOT bamboozled by Scratch 3.0!?”: https://scratch.mit.edu/discuss/topic/679077/?page=6#post-7299950
- medians
- Scratcher
1000+ posts
A "Restart" -block
Or what ever value you want to set it to.This it would really be good to get a reset command so i could reset my scoreset [foo v] to [0]
Anyway, this has been said before, but:
when green flag clickedThen you can do this at some point:
broadcast [reset v]
when I receive [reset v]
if <[1] = [1]> then
delete this clone
end
set [lives v] to [3]
delete (all v) of [items purchased v]
delete (all v) of [clone x v]
... ::variables
... ::list
...
broadcast [reset v]
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
- ExcitedDuckVienna
- Scratcher
63 posts
A "Restart" -block
like this?
restart:: control cap
"I code in Scratch and Python."
-Me
Be high con-CHOMP!
Sadly, the rest of my signature was eaten by an Evil Kumquat.
;
Not this part
- k7e
- Scratcher
1000+ posts
A "Restart" -block
duplicate found
@mythoslore was so much more obvious than @spookily
- ARandomNumberIs7482
- Scratcher
1000+ posts
A "Restart" -block
Or what ever value you want to set it to.This it would really be good to get a reset command so i could reset my scoreset [foo v] to [0]
Anyway, this has been said before, but:when green flag clickedThen you can do this at some point:
broadcast [reset v]
when I receive [reset v]
if <[1] = [1]> then
delete this clone
end
set [lives v] to [3]
delete (all v) of [items purchased v] // this an rpg clicker game or somethin?
delete (all v) of [clone x v]
... ::variables
... ::list
...broadcast [reset v]
“Medians NOT bamboozled by Scratch 3.0!?”: https://scratch.mit.edu/discuss/topic/679077/?page=6#post-7299950
- -TwentyFour-
- Scratcher
500+ posts
A "Restart" -block
How the block works? What's even the present workaround?
- chriscreators14
- Scratcher
500+ posts
A "Restart" -block
Me too, for making gamesAnd broadcasting recursively. AndUh, I can see a problem with this:when gf clicked
forever
restart [this script v]define crash
crash
This gets the same results.When [timer v] > (0)but it was still added
play sound [annoying sound v]
Support.
See that line over there? Everything below it is my signature. You can advertise here.
Ctrl+Alt+Down or thingo do NOT ask to scroll
(/) // This is Kumqa, who sends evil kumquats back to their camp.
<[<>]::sound> // This is Orba, who dizzies enemies by rotating.
[hi] \/\/ This is Glitchya, who glitches thingos. // Oh, I fixed the comment bug now.
block haven {block gun (ammo::grey) (ammo::grey)::sensing} <true :: operators> // This is Signa, which makes letter guns.
define block haven (block thingo) <auto fire?>
forever
if <enemies? :: sensing> then
if <not <auto fire?>> then
if <key [space v] pressed> then
set [fire? v] to <true :: operators>
else
set [fire? v] to <true :: operators>
end
else
set [fire? v] to <true :: operators>
end
else
set [fire? v] to <false :: operators>
end
if <fire? :: variables> then
repeat (10)
create clone of [signa blocks]
end
broadcast (fire signa blocks v)
end
- chriscreators14
- Scratcher
500+ posts
A "Restart" -block
It restarts a script. How the block works? What's even the present workaround?
Present workaround?:
when green flag clicked
broadcast [restart green flag v]
when I receive [restart green flag v]
…
define restart
broadcast [restart green flag v]
See that line over there? Everything below it is my signature. You can advertise here.
Ctrl+Alt+Down or thingo do NOT ask to scroll
(/) // This is Kumqa, who sends evil kumquats back to their camp.
<[<>]::sound> // This is Orba, who dizzies enemies by rotating.
[hi] \/\/ This is Glitchya, who glitches thingos. // Oh, I fixed the comment bug now.
block haven {block gun (ammo::grey) (ammo::grey)::sensing} <true :: operators> // This is Signa, which makes letter guns.
define block haven (block thingo) <auto fire?>
forever
if <enemies? :: sensing> then
if <not <auto fire?>> then
if <key [space v] pressed> then
set [fire? v] to <true :: operators>
else
set [fire? v] to <true :: operators>
end
else
set [fire? v] to <true :: operators>
end
else
set [fire? v] to <false :: operators>
end
if <fire? :: variables> then
repeat (10)
create clone of [signa blocks]
end
broadcast (fire signa blocks v)
end
- TheEpikGamer211
- Scratcher
1000+ posts
A "Restart" -block
Support. it may be useful. So, it can do this
when green flag clicked
turn ccw (12) degrees
turn ccw (12) degrees
turn cw (12) degrees
turn cw (12) degrees
restart [this script v] :: control
Last edited by TheEpikGamer211 (June 13, 2023 14:58:46)
Epik gamer 211. Proud inventor of GTTSTES.
im workng on
sc (then SBOX)
GTTSTES 1.3
when (::ff0000) horribly misclicked and pressed @greenFlag instead.:: hat :: events
Summon Evil Kumquats using (((((((((((((:D):: motion):: motion):: motion):: motion):: motion):: motion):: motion):: motion):: motion):: motion):: motion :: motion)
- medians
- Scratcher
1000+ posts
A "Restart" -block
It's meant to be an example LOL
Using broadcasts and resetting everything in the broadcast. How the block works? What's even the present workaround?
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