mtburdon Posted July 19, 2014 Share Posted July 19, 2014 Hi all, Quick question, I'm sure I've seen this in the examples but can't seem to be able to find it.How do you show the current FPS when debugging? Cheers. Link to comment Share on other sites More sharing options...
lewster32 Posted July 19, 2014 Share Posted July 19, 2014 See this example: http://jsfiddle.net/lewster32/3Sx5h/ The key is game.time.advancedTiming without which the game.time.fps value will not be set. msqar 1 Link to comment Share on other sites More sharing options...
mtburdon Posted July 19, 2014 Author Share Posted July 19, 2014 Perfect, thanks! Link to comment Share on other sites More sharing options...
jjwallace Posted March 1, 2016 Share Posted March 1, 2016 That does not work. is there a simple this.debug.fps; Link to comment Share on other sites More sharing options...
fillmoreb Posted March 1, 2016 Share Posted March 1, 2016 Here's an updated fiddle, showing that a combination of game.time.advancedTiming = true; and game.debug.text(game.time.fps, x, y, color) will successfully display the FPS. https://jsfiddle.net/bjrnw06c/2/ Lypzis, jamespierce and ITpaolo 3 Link to comment Share on other sites More sharing options...
samme Posted September 16, 2017 Share Posted September 16, 2017 Taz 1 Link to comment Share on other sites More sharing options...
Recommended Posts