Maybe there is a right way to smoothly slow the object?
<img src="http://s15.postimage.org/odzzexzbf/123.png" border="0" />
.capx
sendspace.com/file/6utq4k
hmmm
Global number distance= 0 Global number maxDist = 100 Global number minDist = 5 Every Ticks -> set distance to distance(Sprite.X,Sprite.Y,Target.X,Target.Y) -> Set Bullet speed to lerp(0,100,Clamp((distance-minDist)/(maxDist-minDist),0,1))
Develop games in your browser. Powerful, performant & highly capable.
Thanks.