Jams Debugger - Add Metrics to FPS window.
Ability to add metrics to the FPS window via F2 to help with plugin development and testing.
Parameters (Can set page to 0 or 1)
Default Metrics:
Example add new metrics:
Github Download
Ability to add metrics to the FPS window via F2 to help with plugin development and testing.
Parameters (Can set page to 0 or 1)
Default Metrics:
- FPS - Frames Per Second
- Player Position - (x,y) positions
- Console Peek - shows the last message in the console window.
Example add new metrics:
JavaScript:
var _updateFrameCount = SceneManager.updateFrameCount;
SceneManager.updateFrameCount = function() {
if ($gamePlayer) {
if(this._PosEvent == undefined){this._PosEvent = new Jams_PlayerPosEvent("playerPos")};
this._PosEvent.update ({"x": $gamePlayer.x, "y": $gamePlayer.y});
}
_updateFrameCount();
};
Github Download