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

#1 2010-10-11 10:16:04

Puprup
Scratcher
Registered: 2010-08-01
Posts: 27

The girl who could fly

I'm serious, it's NOT finished.

[blocks]
<when green flag clicked>
<forever>
<glide( 1 )secs to x sad  <mouse x> )y sad  <mouse y>
<end>
[/blocks]

Offline

 

#2 2010-10-29 16:11:09

ChefAwesome
New Scratcher
Registered: 2010-10-29
Posts: 1

Re: The girl who could fly

That is gliding, which is not exactly what I wanted. In my game I wanted people to have to control the character, by flying it places. Thanks though.

Offline

 

#3 2010-10-29 16:18:40

Kileymeister
Scratcher
Registered: 2008-04-17
Posts: 1000+

Re: The girl who could fly

If you want it a bit smoother, I suggest this:
http://i51.tinypic.com/mcug00.gif
It makes the sprite accelerate or decelerate depending on how far it is from the mouse.

If you want it to go faster, make the last number smaller (don't use 0).  If you want it slower, make the last number larger.

Last edited by Kileymeister (2010-10-29 16:18:53)


I'm back, and showcasing two new* projects!  Click left or right on the image below to see!
http://img109.imageshack.us/img109/7905/part1l.pnghttp://img859.imageshack.us/img859/6417/part2bf.png

Offline

 

#4 2010-10-29 16:20:16

littletonkslover
Scratcher
Registered: 2008-12-12
Posts: 1000+

Re: The girl who could fly

Lolicant understand.


http://www.coxlab.org/images/rat_banner.jpg
That's the dark nature of capitalism. ~ Wonder Showzen

Offline

 

Board footer