Discuss Scratch
- Discussion Forums
- » Suggestions
- » Ability to speed up or slow down scripts or sprites
- megaman100
-
100+ posts
Ability to speed up or slow down scripts or sprites
It would be nice if we could speed up and slow down scripts in sprites.
If you want to know more about adding names to scripts check out my proposal about adding names to scripts here.
set speed of [script 1 v] in [myself v] to [2x v]:: control
set speed of [script 1 v] in [myself v] to [50% v]:: control
If you want to know more about adding names to scripts check out my proposal about adding names to scripts here.
Last edited by megaman100 (Aug. 24, 2018 20:40:44)
- LuckyLucky7
-
1000+ posts
Ability to speed up or slow down scripts or sprites
You could use turbo mode for speeding up scripts, Scratch runs scripts normally by default, but support for slowing down scripts. Slowing them down can be useful for debugging and finding errors in scripts.
- ZappyBarbecue10
-
20 posts
Ability to speed up or slow down scripts or sprites
It would be cooler to make it more specific and go with something like this: It would be nice if we could speed up and slow down scripts in sprites.set speed of [script 1 v] in [myself v] to [2x v]:: control
set speed of [script 1 v] in [myself v] to [50% v]:: control
If you want to know more about adding names to scripts check out my proposal about adding names to scripts here.
set screen refresh speed of [script 1 v] in [myself v] to [30 v] fps:: controlOr at least something similar. It would help in a lot of projects
set screen refresh speed of [script 1 v] in [myself v] to [60 v] fps:: control

- Locomule
-
1000+ posts
Ability to speed up or slow down scripts or sprites
That would be awesome! Here is one of my favorite debugging tools..
I stick those in anywhere I precisely need the project to fully pause (not stop) so I can check variables, sprite positions, etc and find out what is going wrong. These blocks are so handy I always keep a set in my backpack just for debugging.
wait until <key [space] pressed?>
wait until <not <key [ space] pressed?>>
I stick those in anywhere I precisely need the project to fully pause (not stop) so I can check variables, sprite positions, etc and find out what is going wrong. These blocks are so handy I always keep a set in my backpack just for debugging.
Last edited by Locomule (Jan. 10, 2019 17:54:01)
- cannonball84
-
58 posts
Ability to speed up or slow down scripts or sprites
why don u just use this?
wait ((31) / (FPS)) secs
- ResExsention
-
1000+ posts
Ability to speed up or slow down scripts or sprites
why don u just use this?wait ((31) / (FPS)) secs
(FPS)
is not a variable.
- Botcho_Otkho
-
1000+ posts
Ability to speed up or slow down scripts or sprites
Exactly. And also, in normal mode (not in Turbo), the scripts take * time to run, so putting a Wait script just adds more time between scripts, it doesn't slow them down.why don u just use this?wait ((31) / (FPS)) secs(FPS)
is not a variable.
- ZeroFury
-
8 posts
Ability to speed up or slow down scripts or sprites
It would be nice if we could speed up and slow down scripts in sprites.set speed of [script 1 v] in [myself v] to [2x v]:: control
set speed of [script 1 v] in [myself v] to [50% v]:: control
If you want to know more about adding names to scripts check out my proposal about adding names to scripts here.
that would be very good
- dhuls
-
1000+ posts
Ability to speed up or slow down scripts or sprites
This feature is in Scratch Jr but (1 Scratch Jr is for Android and iPad (2 It's made for kids ages 5-7 (3 it's missing variables and (4 the speed up/slow down feature is per sprite. Although you could still use Turbo Mode it breaks scripts (some projects are programmed to stop
when turbo mode is activated) Support, also these blocks could work
note 1: the latter 2 can be replaced with:
when turbo mode is activated) Support, also these blocks could work
Set speed to ()They would be in the Control category
Slow down by ()
Speed up by ()
note 1: the latter 2 can be replaced with:
Change speed by ()note 2: nothing in this post is meant to insult Scratch Jr
- p-p-p-p-p-p-p-p-p-p-
-
1000+ posts
Ability to speed up or slow down scripts or sprites
no support. You can work around it like this:
This is a harder way though
when green flag clickedAnd then keep on adding waits or other times on it. Then, on the other sprite this can work:
say [Hello!] for (foo) secs
wait (foo) secs
when [ space] key pressedetc.
set [ foo] to [5]
This is a harder way though
Last edited by p-p-p-p-p-p-p-p-p-p- (Oct. 8, 2020 12:34:09)
- rontinn
-
85 posts
Ability to speed up or slow down scripts or sprites
You should probably only have the ability to slow down scripts, not speed them upset speed of [script 1 v] in [myself v] to [2x v]:: control
Last edited by rontinn (Nov. 23, 2020 01:44:21)
- lm1996
-
1000+ posts
Ability to speed up or slow down scripts or sprites
If you want to slow them down, use wait blocks.
when this sprite clickedAlso waiting 0 seconds is a real thing.
glide (4) secs to x: (-63) y: (-49)
vs.
glide (8) secs to x: (-63) y: (-49)
when green flag clicked
go to [random position or else v]
go to [random position or else v]
vs.
go to [random position or else v]
wait (0 v) secs
go to [random position or else v]
- chrdagos
-
500+ posts
Ability to speed up or slow down scripts or sprites
support.
it can be of much use for debugging a script. and even though there is a workaround, it would be a pain to use.
although it would make more sense if it was a c-block
it can be of much use for debugging a script. and even though there is a workaround, it would be a pain to use.
although it would make more sense if it was a c-block
- GoogleInScratch
-
1000+ posts
Ability to speed up or slow down scripts or sprites
What does the vs. block do If you want to slow them down, use wait blocks.when this sprite clickedAlso waiting 0 seconds is a real thing.
glide (4) secs to x: (-63) y: (-49)
vs.
glide (8) secs to x: (-63) y: (-49)
when green flag clicked
go to [random position or else v]
go to [random position or else v]
vs.
go to [random position or else v]
wait (0 v) secs
go to [random position or else v]
- Lerconn_Games
-
96 posts
Ability to speed up or slow down scripts or sprites
It's too late, but I think it's just a filler block they used to indicate “whatever blocks are there”, similar to: If you want to slow them down, use wait blocks.
What does the vs. block do... :: grey stack
- Discussion Forums
- » Suggestions
-
» Ability to speed up or slow down scripts or sprites