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();
    }
});

Readme

Keywords

none

Package Sidebar

Install

npm i plask-stats

Weekly Downloads

1

Version

0.0.1

License

BSD

Last publish

Collaborators

  • notlion