Discuss Scratch

FlidaisLaurium
New Scratcher
3 posts

How Long (Timewise) Is The Step Block

Hey all,

I'm using scratch for a project and was wondering if anyone knew what way the step block works, as in if I compare “move 10 steps” to move “move 30 steps”, does the sprite fulfill the command in the same amount of time for each regardless of amount of steps?

If so, how long does it take to complete one move block?

If not, what is the step rate e.g. 5 steps per second etc.?

Thanks so much for your time!
Flowermanvista
Scratcher
1000+ posts

How Long (Timewise) Is The Step Block

The block runs at the same speed regardless of how many “steps” (essentially, what this means is that the sprite will move that many pixels in whatever direction it's pointing) - the time taken is one frame. AFAIK, it will run 30 times a second (once each frame) when placed in a loop, or as fast as possible during turbo mode.
FlidaisLaurium
New Scratcher
3 posts

How Long (Timewise) Is The Step Block

Flowermanvista wrote:

The block runs at the same speed regardless of how many “steps” (essentially, what this means is that the sprite will move that many pixels in whatever direction it's pointing) - the time taken is one frame. AFAIK, it will run 30 times a second (once each frame) when placed in a loop, or as fast as possible during turbo mode.


So then say if I did 10 steps and set it to repeat indefinitely, am I right in saying that it will move 300 steps per second?
Flowermanvista
Scratcher
1000+ posts

How Long (Timewise) Is The Step Block

FlidaisLaurium wrote:

Flowermanvista wrote:

The block runs at the same speed regardless of how many “steps” (essentially, what this means is that the sprite will move that many pixels in whatever direction it's pointing) - the time taken is one frame. AFAIK, it will run 30 times a second (once each frame) when placed in a loop, or as fast as possible during turbo mode.


So then say if I did 10 steps and set it to repeat indefinitely, am I right in saying that it will move 300 steps per second?
If turbo mode is off, then yes.
Arceu
Scratcher
500+ posts

How Long (Timewise) Is The Step Block

FlidaisLaurium wrote:

Flowermanvista wrote:

The block runs at the same speed regardless of how many “steps” (essentially, what this means is that the sprite will move that many pixels in whatever direction it's pointing) - the time taken is one frame. AFAIK, it will run 30 times a second (once each frame) when placed in a loop, or as fast as possible during turbo mode.


So then say if I did 10 steps and set it to repeat indefinitely, am I right in saying that it will move 300 steps per second?
Yep.
FlidaisLaurium
New Scratcher
3 posts

How Long (Timewise) Is The Step Block

Grand, thanks so much guys!:-)
HTEoriginal
Scratcher
51 posts

How Long (Timewise) Is The Step Block

This works with other blocks such as the
 pen down 
block.

Last edited by HTEoriginal (Dec. 29, 2020 11:36:29)

Powered by DjangoBB