Skip to content
 
 

Repository files navigation

lorez

Build Status NPM version Dependency Status devDependency Status

Bitmap rendering system for low-res pixel rendering on big screens.

The canvas rendering ensures up-scaling with 100% crispy pixels while the WebGL renderer runs easily at 60 frames-per-second in high resolutions. This works great on modern mobile devices.

lorez is especially suited for 32x32 pixel micro games on large screens or class 320x240 gaming.

Originally forked from framebufferJS by @noffle

Refactored and expanded in TypeScript with ♥ by @bartvds

Work-in-progress 😎

Demo

Usage examples and demo gallery can be found on bartvds.github.io/lorez

Get the code

npm

The modules are also available as npm package for use with CommonJS enabled build systems like browserify.

⚠️ This is queued for release.

$ npm install lorez

bower

Alternately install via bower ans use a browser global or AMD module

⚠️ This is queued for release.

$ bower install lorez

Development

The project is written in JavaScript using CommonJS module pattern, and build for browsers using grunt and browserify. Development tools run on node.js and are pulled from npm.

The generated bundles support UMD and work as browser global, CommonJS and AMD module. Browserify users can also use the npm package directly.

To regenerate the bundles use the following steps:

  1. Clone the git repos to you local machine.

  2. Make sure you have the global grunt command:

$ npm install grunt-cli -g
  1. Navigate your shell/terminal to the checkout directory.

  2. Install development dependencies from npm:

$ npm install
  1. Rebuild bundles using grunt:
$ grunt build
  1. Watch tasks to auto-build during development:
$ grunt watch
  1. Run a local test server for the demos and tests:
$ grunt server

See the Gruntfile.js and $ grunt --help for additional commands.

Contributions

They are very welcome.

License

Copyright (c) 2014 Bart van der Schoor

Licensed under the MIT license.

Forked from framebufferJS under MIT licence

Copyright (c) 2014 Stephen Whitmore

About

A low-level framebuffer simulator in HTML5 Canvas for making ultra low-res games.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages