I want to stop my sprite moving along a path when a specific distance from the end is reached (i.e. 300px from end point). Is this possible?
Develop games in your browser. Powerful, performant & highly capable.
Compare two values:
Thanks Katala, this worked great.