This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2010-03-15 19:28:24

Wicon
Scratcher
Registered: 2010-02-24
Posts: 5

Glide to

like go to, but glide, to. GLIDE to mouse pointer. GLIDE to sprite1<go to[
but instead GLide 2.

Offline

 

#2 2010-03-15 19:29:34

Wicon
Scratcher
Registered: 2010-02-24
Posts: 5

Re: Glide to

Should be 3d scratch.

Offline

 

#3 2010-03-15 19:30:55

Ace-of-Spades
Scratcher
Registered: 2010-01-08
Posts: 1000+

Re: Glide to

There already is something like that. You can set in how many seconds it takes for a sprite to Go to something, and that's basically gliding.


11110010100011010100011010101000100011011011001010111100101000110101000110101010001000110110110010101111001010001101010001101010100010001101101100101011110010100011010100011010101000100011011011001010
110101010010001010101010101010101010101010100110101010010101010010101001101011010101010010101010101

Offline

 

#4 2010-03-15 19:36:32

climber59
Scratcher
Registered: 2009-12-15
Posts: 100+

Re: Glide to

Just use the {x/y position} of {sprite 1} with glide.


Check out my projects if you have a chance.

Offline

 

#5 2010-03-15 20:45:12

Chrischb
Scratcher
Registered: 2008-07-24
Posts: 1000+

Re: Glide to

Use the glide block, but set the values to the X and Y of the target.


I fall: It's a tragedy. You fall: It's comedy.
Hmph enjoy your fall - I get a lovely spring... without pans of new leaves.

Offline

 

#6 2010-03-15 21:07:43

Ace-of-Spades
Scratcher
Registered: 2010-01-08
Posts: 1000+

Re: Glide to

You can also use 'x/y of mouse' or 'x/y of SpriteX' as your x and y locations for the target zone of the gliding sprite.


11110010100011010100011010101000100011011011001010111100101000110101000110101010001000110110110010101111001010001101010001101010100010001101101100101011110010100011010100011010101000100011011011001010
110101010010001010101010101010101010101010100110101010010101010010101001101011010101010010101010101

Offline

 

#7 2010-03-15 21:08:58

Chrischb
Scratcher
Registered: 2008-07-24
Posts: 1000+

Re: Glide to

For the mouse, you could just use (mouse X) and (mouse Y).  tongue


I fall: It's a tragedy. You fall: It's comedy.
Hmph enjoy your fall - I get a lovely spring... without pans of new leaves.

Offline

 

Board footer