I need a way to see how many frames it will take a sprite to reach a point on the screen. The sprite has a varaible that decreases every frame equal to the speed the sprite is travelling. So the sprite will keep moving towards the point until the variable is negative. What would I use to get the amount of frames the sprite will need to keep moving to reach the point?
Thanks.
Thanks.