Discuss Scratch

kentkoide
Scratcher
100+ posts

What Does The Glide Block Do?

The Glide Block Is One Of The Most Used Blocks In Scratch
But What Is The Purpose Of It
glide (seconds) secs to x: (x) y: (y)
moistery
Scratcher
100+ posts

What Does The Glide Block Do?

it moves sprites in a fluid manner
CatsUnited
Scratcher
1000+ posts

What Does The Glide Block Do?

The block allows you to move a sprite (or clone of a sprite) from the position it's currently at to the specified x and y coordinates in the amount of time you give. While it's an easy way to get a sprite to move across the screen in a period of time:
- The sprite's velocity remains constant so you can't get those effects where the sprite speeds up then slows down.
- If you have any scripts further down in the block stack, they have to wait for the glide block to finish sending the sprite to it's destination.
Barthdry
Scratcher
500+ posts

What Does The Glide Block Do?

It helps you to give smooth movement unlike go to which directly transfers to a particular place.
Than Explaining it you try it and you will notice what it does
go to x: () y: (0)
glide () secs to x: (0) y: (0)
and that variable sets how much time and position to move from or use

Last edited by Barthdry (Nov. 1, 2020 12:01:49)

LankyBox01
Scratcher
1000+ posts

What Does The Glide Block Do?

Barthdry wrote:

It helps you to give smooth movement unlike go to which directly transfers to a particular place.
Huh?
when green flag clicked
forever
point towards [ v]
move ((distance to [ v]) / (10)) steps
end

Anyways, the glide block is supposed to make sprites move from one point to another, so you don't have to do these wierd scripts:
when green flag clicked
repeat <<(x position) = []> and <(y position) = []>>
move () steps
turn cw ([ v] of (x position) ::operators) degrees
end
kentkoide
Scratcher
100+ posts

What Does The Glide Block Do?

But The Glide To Random Position And Glide To x y Are Very Different!
glide () secs to random position
glide () secs to x: () y: ()
leahcimto
Scratcher
1000+ posts

What Does The Glide Block Do?

kentkoide wrote:

But The Glide To Random Position And Glide To x y Are Very Different!
glide () secs to random position
glide () secs to x: () y: ()
Yes, the glide to random position glides to a random position while glide to x() y() helps you do it to a specific location.
kentkoide
Scratcher
100+ posts

What Does The Glide Block Do?

now i know it
when [ discuss glide] key pressed
set [ what does the glide block do?] to [i know]
when backdrop switches to [ glide block]
set pen color to [Now I Know What Does The Glide Block Do]
bwsscratchclub
Scratcher
1 post

What Does The Glide Block Do?

why doesn't you use a glide block in scratch

block, because it makes the move very fast and unnatural
IAmANewbieTrustMe
Scratcher
100+ posts

What Does The Glide Block Do?

bwsscratchclub wrote:

why doesn't you use a glide block in scratch

block, because it makes the move very fast and unnatural

hey, um, you're necroposting
necroposting is posting on a old thread if you didnt know

gonna report this to be closed..

Powered by DjangoBB