Discuss Scratch

Cub56
Scratcher
1000+ posts

Pause Button

Sorry, but no support. Make a variable
(paused/resumed)

and set it to

set [paused/resumed v] to [resumed ]

when you click the green flag. Then make a pause/resume button sprite with 2 costumes and set it to the other costume each time you click it, then make a script


forever

if <(costume #) = [ 1]> then
set [paused/resumed v] to [resumed ]
else
set [paused/resumed v] to [paused ]
end

end

Then make a script in all of the sprites saying to only do their function if
<(paused/resumed) = [1 ]>


That should work.


Last edited by Cub56 (Sept. 16, 2015 19:26:34)

Cub56
Scratcher
1000+ posts

Pause Button

No offence DaSpudLord, but that quoting is seriously excessive. Please only quote what is neede, you don't have to quote the entire quote inside quote inside quote inside quote inside quote inside quote…
-Cherri-
Scratcher
100+ posts

Pause Button

DaSpudLord wrote:

No support for pause, this will discourage people from programming their own pause buttons. And no support for saving, as it is workaroundable with cloud data, and how would it work, exactly?
Wow. No offense but is that your answer for everything? Anyway…. its just a pause button.
DaSpudLord
Scratcher
1000+ posts

Pause Button

Cub56 wrote:

No offence DaSpudLord, but that quoting is seriously excessive. Please only quote what is neede, you don't have to quote the entire quote inside quote inside quote inside quote inside quote inside quote…
Sometimes i try to snip long quote chains, but when I post from my tablet I usually don't because it's harder.
babblebubble
Scratcher
100+ posts

Pause Button

TheoBCaderos wrote:

There is a green flag and red octagon. Why not add an amber pause button which changes to a blue resume button when clicked? It will temporarily stop all scripts, and when resumed will pick up where you left off.
I totally support this 100%. I love the idea! I am not so sure about the save and load buttons though.

Last edited by babblebubble (Sept. 17, 2015 10:59:14)

pokegirl06
Scratcher
1000+ posts

Pause Button

Yeah! I agree!
Scratchy_the_Caty
Scratcher
36 posts

Pause Button

Support!

People saying that it will discourage people from actually programming it, what if I have something like
glide (20) secs to x: (desired x) y: (desired y)

when green flag clicked
wait until <touching [thing that is touched during the glide v] ?>
script :: grey cap
.

You can't possibly pause in the middle of a glide, but, I don't see any way that the pause button wouldn't stop script #2, but would stop everything else. Then, script #2 never activates, the sprite gets there while the project is paused, and the project doesn't work.

Any way possible to do make something like this would be way too complicated, if even possible, and I doubt that the new coders here who make most of the projects would be able to figure that out. Besides, such complexity just in case someone happens to need to go somewhere in the middle of a project that he can't stop is probably not worth it. Therefore, we need a pause button. Support

The save button, well, semi-support. I am not quite sure I see it being worth time time it will take.
scratchinghead
Scratcher
1000+ posts

Pause Button

Scratchy_the_Caty wrote:

Support!

People saying that it will discourage people from actually programming it, what if I have something like
glide (20) secs to x: (desired x) y: (desired y)

when green flag clicked
wait until <touching [thing that is touched during the glide v] ?>
script :: grey cap
.

You can't possibly pause in the middle of a glide, but, I don't see any way that the pause button wouldn't stop script #2, but would stop everything else. Then, script #2 never activates, the sprite gets there while the project is paused, and the project doesn't work.

Any way possible to do make something like this would be way too complicated, if even possible, and I doubt that the new coders here who make most of the projects would be able to figure that out. Besides, such complexity just in case someone happens to need to go somewhere in the middle of a project that he can't stop is probably not worth it. Therefore, we need a pause button. Support

The save button, well, semi-support. I am not quite sure I see it being worth time time it will take.
Yes, I agree, the pause-resume button is not completely workaroundable.
scratchinghead
Scratcher
1000+ posts

Pause Button

Bump
Zekrom01
Scratcher
1000+ posts

Pause Button

-edit-
Change to semi-support, again.
Although it is against programming it yourself, it is a good feature, but seems hard to add.
purplebook163
Scratcher
500+ posts

Pause Button

Duplicate. Please add your suggestion to the original topic.
sonicfan12p
Scratcher
1000+ posts

Pause Button

That duplicate is rather old.
No necroposting is the rule…
TheoBCaderos
Scratcher
42 posts

Pause Button

It has been nice to hear all of the opinions! After hearing them, I am semi-supporting them both.
TapingAnimations
Scratcher
1000+ posts

Pause Button

BUMP
Before you say I'm Necroposting I did it because there was a dupe and I had to do this…
DaRealCatrina
Scratcher
94 posts

Pause Button

BUMP
trieuminh
Scratcher
100+ posts

Pause Button

Everyone that says that people need to learn to make pause buttons instead of “everything being handed out on a sliver platter”, read #6 of this.

Last edited by trieuminh (Dec. 30, 2020 06:40:37)

Rendangbike2
Scratcher
1000+ posts

Pause Button

This would be super beneficial if you are playing a game and want to take a break. Most people are saying that you should code them yourself, but it's not like they CAN and WANT to do that. If a team of nerds can make a browser extension with the pause button, why not Scratch?

Support.
Greg8128
Scratcher
500+ posts

Pause Button

It would also be useful to have a
pause all ::control
block, which pauses everything when it is run. This is comparable to the breakpoint feature found in many IDEs and would be a very useful feature for debugging fast-running code.
hstarlight
Scratcher
65 posts

Pause Button

Greg8128 wrote:

It would also be useful to have a
pause all ::control
block, which pauses everything when it is run. This is comparable to the breakpoint feature found in many IDEs and would be a very useful feature for debugging fast-running code.

That would be amazing as well.
9gr
Scratcher
1000+ posts

Pause Button

No support, this is workaroundable.

Powered by DjangoBB