plask-stats

0.0.1 • Public • Published

Stats.js for Plask!

Only FPS mode works for now..

Usage

var plask = require('plask');
var stats = require('./stats');

plask.simpleWindow({
    init: function(){
        this.framerate(60);
        this.stats = new stats.Stats(100, 60).open();
    },
    draw: function(){
        this.stats.update();
    }
});

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i plask-stats

      Weekly Downloads

      0

      Version

      0.0.1

      License

      BSD

      Last publish

      Collaborators

      • notlion