PDA

View Full Version : I can't make a damn accelerate and deaccelerate thing


Etou
05-26-2003, 01:16 AM
I can't make it...I tried many ways and I still can't do it. If someone knows an easy and working way please tell me how.

thanks

fgf
05-26-2003, 10:15 AM
first make some thing move by adding a fixed value i.e.

speed=10
thingy._x+=speed

Thats a first order change

acceleration=2
speed+=acceleration
thingy._x+=speed

second order change gives accelation.

fgf

farafiro
05-26-2003, 10:20 AM
see the tut in Bit-101 (http://www.bit-101.com)