Currently, sprite movement is based on a hardcoded timer that starts when movement starts and ends at a predetermined time. This causes the sprite to pause before moving again if the player moves multiple times in a row.
Instead, run the movement animation until the token has reached the specified position. Once all movement has stopped, then the animation can stop.
Context
Currently, sprite movement is based on a hardcoded timer that starts when movement starts and ends at a predetermined time. This causes the sprite to pause before moving again if the player moves multiple times in a row.
Instead, run the movement animation until the token has reached the specified position. Once all movement has stopped, then the animation can stop.