Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » What FPS does Scratch run at without turbo mode?
- Tymewalk
-
1000+ posts
What FPS does Scratch run at without turbo mode?
I'm trying to make a Scratch animation of a YouTube video, like this one here.
In those videos, there is no wait () secs block - it simply uses a repeat loop.
How many frames per second does it run at? 30?
In those videos, there is no wait () secs block - it simply uses a repeat loop.
How many frames per second does it run at? 30?
Last edited by Tymewalk (Sept. 6, 2016 14:50:39)
- BookOwl
-
1000+ posts
What FPS does Scratch run at without turbo mode?
Yes, it runs at 30 FPS without turbo mode.
Either that, or it just uses unicorns.
Either that, or it just uses unicorns.

- Tymewalk
-
1000+ posts
What FPS does Scratch run at without turbo mode?
Exactly. Luckily avconv supports the –unicorn flag Yes, it runs at 30 FPS without turbo mode.
Either that, or it just uses unicorns.
Thanks though.

- CodeLegend
-
500+ posts
What FPS does Scratch run at without turbo mode?
Scratch 3.0 might use 60… I'm not sure how that'll affect existing projects.
- Tymewalk
-
1000+ posts
What FPS does Scratch run at without turbo mode?
Old projects use 30 FPS, like 1.4 projects say “bytes” instead of “assets”. Scratch 3.0 might use 60… I'm not sure how that'll affect existing projects.
- MathWizz
-
100+ posts
What FPS does Scratch run at without turbo mode?
That sentence is very confusing to me. Mind clarifying?Old projects use 30 FPS, like 1.4 projects say “bytes” instead of “assets”. Scratch 3.0 might use 60… I'm not sure how that'll affect existing projects.

BTW, Scratch 1.4 runs at 40 fps, not that that is particularly relevant nowadays.
Last edited by MathWizz (Sept. 6, 2016 23:15:49)
- PullJosh
-
1000+ posts
What FPS does Scratch run at without turbo mode?
On the loading screen of newer projects, it will say “X of X assets loaded”, whereas older projects will say “X of X bytes loaded” (or something to that effect).That sentence is very confusing to me. Mind clarifying? Old projects use 30 FPS, like 1.4 projects say “bytes” instead of “assets”.
- Jonathan50
-
1000+ posts
What FPS does Scratch run at without turbo mode?
Scratch 2.0 uses 30fps, even with turbo mode/run without screen refresh (which just makes the project yield less).
- liam48D
-
1000+ posts
What FPS does Scratch run at without turbo mode?
Today I learned. That's pretty interesting! BTW, Scratch 1.4 runs at 40 fps, not that that is particularly relevant nowadays.
- CodeLegend
-
500+ posts
What FPS does Scratch run at without turbo mode?
Does anyone know the exact details of how the framerate is throttled?
For instance:
Does each block just have a binary tag telling if it requires a screen update, and then at the end of each C-block it updates if one was requested (or it's been >1/30 seconds)?
EDIT: So I'm basically asking, does it work like this?

For instance:
forever
change [var v] by (1) //runs at an unlimited fps
end
//but
forever
turn cw (15) degrees //runs at 30 fps
end
Does each block just have a binary tag telling if it requires a screen update, and then at the end of each C-block it updates if one was requested (or it's been >1/30 seconds)?
EDIT: So I'm basically asking, does it work like this?
when interpreter reaches the end of a C-block or script::events hatI like scratchblocks
if <<(time since last refresh::control) > ((1) / (30))> or <<a refresh was requested::control> and <not <turbo mode::control>>>> then
refresh the screen::control
end

Last edited by CodeLegend (Sept. 7, 2016 01:19:14)
- MathWizz
-
100+ posts
What FPS does Scratch run at without turbo mode?
But what does that have to do with the framerate of the project? All projects loaded in the flash player run at the same FPS.On the loading screen of newer projects, it will say “X of X assets loaded”, whereas older projects will say “X of X bytes loaded” (or something to that effect).That sentence is very confusing to me. Mind clarifying? Old projects use 30 FPS, like 1.4 projects say “bytes” instead of “assets”.
- MathWizz
-
100+ posts
What FPS does Scratch run at without turbo mode?
That's basically it. If nothing in a loop causes a screen change, then it runs until the next frame. Does each block just have a binary tag telling if it requires a screen update, and then at the end of each C-block it updates if one was requested (or it's been >1/30 seconds)?
- CodeLegend
-
500+ posts
What FPS does Scratch run at without turbo mode?
Same.But what does that have to do with the framerate of the project? All projects loaded in the flash player run at the same FPS.On the loading screen of newer projects, it will say “X of X assets loaded”, whereas older projects will say “X of X bytes loaded” (or something to that effect).That sentence is very confusing to me. Mind clarifying? Old projects use 30 FPS, like 1.4 projects say “bytes” instead of “assets”.
1.x projects load in bytes (it's loading the .sb file).
2.0 projects load in assets (it loads the project.json, then all the other assets).
That's an indicator for which version is in use, but it has nothing to do with this? Unless you meant to say 40, like MathWizz did afterwards.
- NickyNouse
-
1000+ posts
What FPS does Scratch run at without turbo mode?
they're saying that 1.4 and 2.0 projects are already loaded differently, so there's no reason that 3.0 and 2.0 projects can't run at different framerates.Same.But what does that have to do with the framerate of the project? All projects loaded in the flash player run at the same FPS.On the loading screen of newer projects, it will say “X of X assets loaded”, whereas older projects will say “X of X bytes loaded” (or something to that effect).That sentence is very confusing to me. Mind clarifying? Old projects use 30 FPS, like 1.4 projects say “bytes” instead of “assets”.
1.x projects load in bytes (it's loading the .sb file).
2.0 projects load in assets (it loads the project.json, then all the other assets).
That's an indicator for which version is in use, but it has nothing to do with this? Unless you meant to say 40, like MathWizz did afterwards.
Personally, I don't think just automatically running older projects at the slower framerate will be good for compatibility (what happens when you remix a 2.0 project that's built for 30 fps?) so I hope they'll take a good look at how to handle this issue
- Tymewalk
-
1000+ posts
What FPS does Scratch run at without turbo mode?
Maybe it warns you and defaults to 30 FPS mode?they're saying that 1.4 and 2.0 projects are already loaded differently, so there's no reason that 3.0 and 2.0 projects can't run at different framerates.Same.But what does that have to do with the framerate of the project? All projects loaded in the flash player run at the same FPS.On the loading screen of newer projects, it will say “X of X assets loaded”, whereas older projects will say “X of X bytes loaded” (or something to that effect).That sentence is very confusing to me. Mind clarifying? Old projects use 30 FPS, like 1.4 projects say “bytes” instead of “assets”.
1.x projects load in bytes (it's loading the .sb file).
2.0 projects load in assets (it loads the project.json, then all the other assets).
That's an indicator for which version is in use, but it has nothing to do with this? Unless you meant to say 40, like MathWizz did afterwards.
Personally, I don't think just automatically running older projects at the slower framerate will be good for compatibility (what happens when you remix a 2.0 project that's built for 30 fps?) so I hope they'll take a good look at how to handle this issue
“The project you're remixing is built to run at 30 FPS. This usually doesn't cause problems, but just in case, we've set it to 30 FPS for you. You can change this in Settings -> FPS Rate -> 60 (high).”
- DadOfMrLog
-
1000+ posts
What FPS does Scratch run at without turbo mode?
Yes… Does anyone know the exact details of how the framerate is throttled?
I go through it in this post.
Essentially, your idea is correct *except* that it only allows the refresh once *all* currently running scripts reach a yield point (i.e. end of pass through a loop, or script ended, or reached a “wait” of some form) *and* if at least *one* of them executed a block which (potentially) made a change on-screen (e.g. motion, looks, pen, etc. – though it does sensibly take into account if the sprite is hidden, in which case looks blocks (and maybe motion blocks if pen up?) will have no effect…)
Last edited by DadOfMrLog (Sept. 7, 2016 15:37:29)
- NoMod-Programming
-
1000+ posts
What FPS does Scratch run at without turbo mode?
Sorry to bump this, but how do you test that? Also, is there any difference in framerate between modern squeak versions (like 5.0) and the version used by “classic” 1.4?That sentence is very confusing to me. Mind clarifying?Old projects use 30 FPS, like 1.4 projects say “bytes” instead of “assets”. Scratch 3.0 might use 60… I'm not sure how that'll affect existing projects.
BTW, Scratch 1.4 runs at 40 fps, not that that is particularly relevant nowadays.
- MathWizz
-
100+ posts
What FPS does Scratch run at without turbo mode?
Pretty simple to set up a frame rate coutner in Scratch to test it: [H]ow do you test that?https://scratch.mit.edu/discuss/topic/18037/?page=1
Also, is there any difference in framerate between modern squeak versions (like 5.0) and the version used by “classic” 1.4?The environment Scratch is programmed in has nothing to do with the framerate projects run at. The designers of Scratch 1.x just decided to use the arbitrary framerate of 40.
- wiseguy2011
-
21 posts
What FPS does Scratch run at without turbo mode?
30 fps but if you're on turbo mode then 88800 fps (lol i don't know)
- Socialix
-
1000+ posts
What FPS does Scratch run at without turbo mode?
dont necropost 30 fps but if you're on turbo mode then 88800 fps (lol i don't know)
- Discussion Forums
- » Advanced Topics
-
» What FPS does Scratch run at without turbo mode?