Discuss Scratch

megaman100
Scratcher
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.

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
Scratcher
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.

I have about 2750 posts, 65 shared projects, 150 total created/followed topics, and 120 followers.
ZappyBarbecue10
Scratcher
19 posts

Ability to speed up or slow down scripts or sprites

megaman100 wrote:

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.
It would be cooler to make it more specific and go with something like this:
set screen refresh speed of [script 1 v] in [myself v] to [30 v] fps:: control

set screen refresh speed of [script 1 v] in [myself v] to [60 v] fps:: control
Or at least something similar. It would help in a lot of projects
Locomule
Scratcher
1000+ posts

Ability to speed up or slow down scripts or sprites

That would be awesome! Here is one of my favorite debugging tools..

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)


happy happy joy joy
cannonball84
Scratcher
58 posts

Ability to speed up or slow down scripts or sprites

why don u just use this?
wait ((31) / (FPS)) secs

;
ResExsention
New to Scratch
1000+ posts

Ability to speed up or slow down scripts or sprites

cannonball84 wrote:

why don u just use this?
wait ((31) / (FPS)) secs

(FPS)

is not a variable.

Hi, I'm ResExsention, that New Scratcher who refuses to promote themself! I really do look forward to getting to know you!

If you see "[DATA EXPUNGED]", you'll know it was deleted by me. It's a lot easier.
Botcho_Otkho
Scratcher
1000+ posts

Ability to speed up or slow down scripts or sprites

ResExsention wrote:

cannonball84 wrote:

why don u just use this?
wait ((31) / (FPS)) secs

(FPS)

is not a variable.
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.

This is a signature, meaning this automatically appears under my posts. (This is for people who may be confused about this)
Freddie Mercury lover <3 <3 <3 - Wiki editor - Catholic - Forum Helper - Italian - 14 years old - Sagittarius - I use Windows 7 Ultimate and Google Chrome - Guitar, Stranger Things <3 <3 - I often forget things :P
ZeroFury
New to Scratch
8 posts

Ability to speed up or slow down scripts or sprites

megaman100 wrote:

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
Scratcher
60 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
Set speed to ()
Slow down by ()
Speed up by ()
They would be in the Control category
note 1: the latter 2 can be replaced with:
Change speed by ()
note 2: nothing in this post is meant to insult Scratch Jr

Cartoon Network is just Teen Titans Go which is bad. Go watch Nickelodeon instead
My 50th Post!!!

Powered by DjangoBB

Standard | Mobile