rcz Posted October 28, 2013 Share Posted October 28, 2013 Is this implemented in Pixi.js?If not, how do I make it possible? Quote Link to comment Share on other sites More sharing options...
xerver Posted October 28, 2013 Share Posted October 28, 2013 You are the one that handles frame timing, so just measure the time.var lastTime = Date.now(), timeSinceLastFrame = 0;function animate() { var now = Date.now(); timeSinceLastFrame = now - lastTime; lastTime = now;}animate(); 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.