Discuss Scratch

ilikecamperz
Scratcher
41 posts

Pausing

The “Red Stop Sign” is to stop but why restart the hole “Project?” Its just rong there's no “Pause Button?”
Blazingwave
Scratcher
1000+ posts

Pausing

ilikecamperz wrote:

The “Red Stop Sign” is to stop but why restart the hole “Project?” Its just rong there's no “Pause Button?”
This should topic go in Suggestions or Questions about Scratch
dusty22
Scratcher
100+ posts

Pausing

Yeah if we could have a pause Control block that would freeze any executing scripts without ending/stopping them outright would be awesome.
kayybee
Scratcher
1000+ posts

Pausing

The problem is that this could ruin a bunch of time based games. If someone had a timed quiz, the player could just pause the quiz and think about the answer, essentially ruining the timer's role.

A pause block might be nice so you can add in your own pause button/pause key, but a pause button next to the green flag would probably not work.
joshuaho
Scratcher
1000+ posts

Pausing

Blazingwave wrote:

ilikecamperz wrote:

The “Red Stop Sign” is to stop but why restart the hole “Project?” Its just rong there's no “Pause Button?”
This should topic go in Suggestions or Questions about Scratch
The topic has been moved.
savaka
Scratcher
1000+ posts

Pausing

This would not completely work, because pausing all the scripts would make it so you couldn't resume, because the resuming script would be paused. How about a “can be paused?” checkbox on every hat?
TiberiumFusion
Scratcher
31 posts

Pausing

savaka wrote:

This would not completely work, because pausing all the scripts would make it so you couldn't resume, because the resuming script would be paused. How about a “can be paused?” checkbox on every hat?

BYOB has a pause function implemented that pauses and resumes the entire project perfectly. Pausing a script would not mean stopping it, just suspending it temporarily. A simple pause could be created by adding subcode to hat blocks that would record whatever block was being executed when the project was paused. On calling the ‘resume’ function by clicking the pause button again, the hat block would restart at whatever block was being executed. A more advanced pause function might use the same block handler/listener, but have more subcode to record the progress of the current block when ‘pause’ was called (clicking the button). For example, if a 'Glide Seconds to X Y' was paused while being executed, the subcode would record the time elapsed while gliding, and then glide the full time minus the recorded time.

See my example here: http://scratch.mit.edu/projects/11506159/
PJ9
Scratcher
100+ posts

Pausing

Pausing… Pausing something would stop any sound or animation then replay it when PAUSE was clicked again! Awesome idea!
savaka
Scratcher
1000+ posts

Pausing

TiberiumFusion wrote:

savaka wrote:

This would not completely work, because pausing all the scripts would make it so you couldn't resume, because the resuming script would be paused. How about a “can be paused?” checkbox on every hat?

BYOB has a pause function implemented that pauses and resumes the entire project perfectly. Pausing a script would not mean stopping it, just suspending it temporarily. A simple pause could be created by adding subcode to hat blocks that would record whatever block was being executed when the project was paused. On calling the ‘resume’ function by clicking the pause button again, the hat block would restart at whatever block was being executed. A more advanced pause function might use the same block handler/listener, but have more subcode to record the progress of the current block when ‘pause’ was called (clicking the button). For example, if a 'Glide Seconds to X Y' was paused while being executed, the subcode would record the time elapsed while gliding, and then glide the full time minus the recorded time.

See my example here: http://scratch.mit.edu/projects/11506159/
I'm talking about a block, not a built-in button.
ImagineIt
Scratcher
1000+ posts

Pausing

kayybee wrote:

The problem is that this could ruin a bunch of time based games. If someone had a timed quiz, the player could just pause the quiz and think about the answer, essentially ruining the timer's role.

A pause block might be nice so you can add in your own pause button/pause key, but a pause button next to the green flag would probably not work.
Who cares about people cheating on games? It doesn't ruin your experience. If they want to cheat, that's their problem.

And plus, what if you want to pause in projects that didn't add pausing?
PJ9
Scratcher
100+ posts

Pausing

kayybee wrote:

The problem is that this could ruin a bunch of time based games. If someone had a timed quiz, the player could just pause the quiz and think about the answer, essentially ruining the timer's role.

A pause block might be nice so you can add in your own pause button/pause key, but a pause button next to the green flag would probably not work.
Sometimes, pausing works! Doing this gives “Break Moments” when playing with a party during a video game.
dusty22
Scratcher
100+ posts

Pausing

savaka wrote:

TiberiumFusion wrote:

savaka wrote:

This would not completely work, because pausing all the scripts would make it so you couldn't resume, because the resuming script would be paused. How about a “can be paused?” checkbox on every hat?

BYOB has a pause function implemented that pauses and resumes the entire project perfectly. Pausing a script would not mean stopping it, just suspending it temporarily. A simple pause could be created by adding subcode to hat blocks that would record whatever block was being executed when the project was paused. On calling the ‘resume’ function by clicking the pause button again, the hat block would restart at whatever block was being executed. A more advanced pause function might use the same block handler/listener, but have more subcode to record the progress of the current block when ‘pause’ was called (clicking the button). For example, if a 'Glide Seconds to X Y' was paused while being executed, the subcode would record the time elapsed while gliding, and then glide the full time minus the recorded time.

See my example here: http://scratch.mit.edu/projects/11506159/
I'm talking about a block, not a built-in button.

Why not both? If BYOB can do it, Scratch can do it. It'd be nice to have it in block form though because then you could code the pause button into your script.

This is something that needs to be added because there is no reliable work-around for this. Even with the best programming some projects would have to completely re-tool themselves and then some to have some sort of pause function.
sonicgames20
Scratcher
44 posts

Pausing

SUPPORT!
aidenradioman
New Scratcher
1 post

Pausing

a game with a pause button would be nice
ev3commander
Scratcher
500+ posts

Pausing

Work around
Pause button:
when this sprite clicked
if <(pause) = [Yup]> then
set [pause v] to [Nope ]
broadcast [Pause v]
else
set [pause v] to [Yup]
broadcast [UnPause v]

end
Other:
when I receive [Pause v]
wait until <(pause) = [ Nope]>
Programmer1121
Scratcher
1000+ posts

Pausing

With a PAUSE button full length movies would be possible
DaSpudLord
Scratcher
1000+ posts

Pausing

No support- learn to code it yourself.
sonicfan12p
Scratcher
1000+ posts

Pausing

Major necropost. The topic is 2 years old.
octad
Scratcher
59 posts

Pausing

sonicfan12p wrote:

Major necropost. The topic is 2 years old.
The OP is. The bumper came from a duplicate- therefore it's not a necro
stickfiregames
Scratcher
1000+ posts

Pausing

Support for a button, maybe it should cover up the screen so you can't cheat on certain games. No support for a pause block because it wouldn't work - how would the resume block run when all the scripts are paused.

Powered by DjangoBB