Quantcast
Channel: Answers by "2d4Games"
Viewing all articles
Browse latest Browse all 24

Answer by 2d4Games

$
0
0
At line 18 you're setting the timeStamp to be 2 seconds in the future, and at line 25 you're making the if statement not get triggered until those 2 seconds pass. From what I see, after you click, your ship would stop having its position transformed, and then start again after 2 seconds. What is the timeStamp meant to be doing, by the way?

Viewing all articles
Browse latest Browse all 24

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>