Following code

hey, in my game i want the _parent movie clip to follow the fish movie clip. i used this code i made… but the following is realy jerky and dosnt look nice. are there any other ways of doing it so that the closer you get the faster the follower accelerates towards you?

disx = Math.abs(_parent._x - _root.fish._x)
 disy = Math.abs(_parent._y - _root.fish._y)
 if(_parent._x > _root.fish._x){_parent._x -= _root.speed/disx}
 if(_parent._x < _root.fish._x){_parent._x += _root.speed/disx}
 if(_parent._y < _root.fish._y){_parent._y += _root.speed/disy}
 if(_parent._y > _root.fish._y){_parent._y -= _root.speed/disy}

If games like usfine sell buy wow goldQuake and Doom defined action gaming in the gaming world, Need for Speed was the definition of racing games. Need For Speed, [url=http://www.usfine.com/Maple-Story-PowerLeveling-c-98.html]maple story power levelingor NFS for short has been around since almost the beginning of when computer gaming gained importance. [url=http://www.usfine.com/runescape-powerleveling-c-90.html]runescape power levelingNeed For Speed is [url=http://www.usfine.com/runescape-powerleveling-c-90.html]runescape powerleveling a racing game in which the player chooses cars and then races on various tracks. It was and is highly playable due to the simplicity of controls and existence of a thin progressive knack in the game. [url=http://www.usfine.com/runescape-powerleveling-c-90.html]runescape

there are various examples and tuts on this issue I suggest you search the forum and google the web

Maybe some trig will help you find something more to your liking.

Also take a look at Hooke’s law, which is an elasticity formula.

hookes law… i think i learnt that in school… i cant remember thanks ill look into it