I want the sprite to move straight toward the player instead of moving to the position the player was at about 1 sec ago. How can I get this to work?
Develop games in your browser. Powerful, performant & highly capable.
If there are no obstacles involved you could just rotate the sprite towards the target and move it forwards constantly.