Novices Plagiarizing Mozart

properjs-blit

0.2.0 • Public • Published

Blit

A simple gamecycle engine.

Installation

npm install properjs-blit --save-dev

Usage

var Blit = require( "properjs-blit" );
 
var blit = new Blit({
    // Default is 60
    fps: 60,
    
    // Default is true
    paused: true,
    
    // Handle blits
    blit: function ( f ) {
        // Do stuff here
        // f === current frame number
    }
    
}).start();
 
// Or you can chain the blits
var blit = new Blit().blit(function ( f ) {
    // Do stuff here
    // f === current frame number
 
}).start();
 
// Also
blit.pause();
blit.play();
blit.stop();

install

npm i properjs-blit

Downloadsweekly downloads

2

version

0.2.0

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability