dthrasher90 Posted March 9, 2017 Report Share Posted March 9, 2017 Is there a way to log sprite coordinates after it moves? Say you have a sprite at (here, here) and it moves to (there, there). Is there some way to get the (there, there) coordinates? Quote Link to comment Share on other sites More sharing options...
ForgeableSum Posted March 9, 2017 Report Share Posted March 9, 2017 just store the coordinates on the sprite object when it moves. sprite.goingToXY = [goingX,goingY]; I recommend reading up on some elementary javascript (storing variables) - it will make your life much easier. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.