Jump to content

FPS Read


lenlac
 Share

Recommended Posts

Hello I am trying to check my fps.

 

I have the game state in a seperate file:

 

and in that file i have the function:

 

the bodyInfo shows up find but the fps does not update it just shows --

 

Ty in advance.

    render: function() {       // game.debug.body(player);   this.game.debug.bodyInfo(this.player, 32, 200);   this.game.debug.text(this.game.time.fps || '--', 2, 14, "#00ff00");},
Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...