MouseCaneta Posted January 5, 2018 Share Posted January 5, 2018 Is there a simple way to show fps in PIXI.js? Quote Link to comment Share on other sites More sharing options...
xerver Posted January 6, 2018 Share Posted January 6, 2018 Time your animation loop and display it anyway you want. stats.js is good for this. Quote Link to comment Share on other sites More sharing options...
labrat.mobi Posted January 6, 2018 Share Posted January 6, 2018 Also another option, Chrome dev tools has in-built FPS display. More details here, https://developer.chrome.com/devtools/docs/rendering-settings Unfortunately this is Chrome only feature. Don't know if Firefox has it. Quote Link to comment Share on other sites More sharing options...
MouseCaneta Posted January 9, 2018 Author Share Posted January 9, 2018 I ended up finding that every ticker in PIXI has a "FPS" read-only property that was what I was looking for. Quote Link to comment Share on other sites More sharing options...
Jakub M Posted December 19, 2019 Share Posted December 19, 2019 You could share with us what the property is. This is a first result for googling "pixi fps" Quote Link to comment Share on other sites More sharing options...
jonforum Posted December 19, 2019 Share Posted December 19, 2019 (edited) 2 hours ago, Jakub M said: You could share with us what the property is. This is a first result for googling "pixi fps" hi to show fps on screens, you can enable from most dev tool. Or in case you dev on framework like nwjs or electron without sdk, you should able to add flags like this "chromium-args": "--show-fps-counter", If you want look FPS at PIXI console.log(PIXI.ticker.shared.FPS) Hope this will help you. Edited December 19, 2019 by jonforum 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.