when gf clicked forever if<(distance to [target v]) > (3)> point towards [target v] move (3) steps end end
Last edited by MoreGamesNow (2012-03-23 16:57:27)
Offline
To glide to different locations at the same speed brings in some math. Say you are going I glide to a location that is 100 pixels away, and you glide for 2 seconds. The mathematical expression is 100•2, so it's 50 pixels per second. Now say you want to glide 150 pixels at the same speed. You use this equation to find out:
100(2)=150x
I don't know if you know how to solve it, so I'll tell you. You divide by 150 on both sides so now it should look like this:
200/150=x
So once it's solved you will find out that you must glide 1 and 1/3 seconds for it to be the same speed. Hope this helped. This is when that math comes in handy.
Last edited by turkey3 (2012-03-22 17:07:58)
Offline
In addition to my math equation above, it may just be easier to point and move steps.
Offline