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 😎
Usage examples and demo gallery can be found on bartvds.github.io/lorez
The modules are also available as npm package for use with CommonJS enabled build systems like browserify.
$ npm install lorezAlternately install via bower ans use a browser global or AMD module
$ bower install lorezThe 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:
-
Clone the git repos to you local machine.
-
Make sure you have the global grunt command:
$ npm install grunt-cli -g-
Navigate your shell/terminal to the checkout directory.
-
Install development dependencies from npm:
$ npm install- Rebuild bundles using grunt:
$ grunt buildWatch tasks to auto-build during development:
$ grunt watch- Run a local test server for the demos and tests:
$ grunt serverSee the Gruntfile.js and $ grunt --help for additional commands.
They are very welcome.
Copyright (c) 2014 Bart van der Schoor
Licensed under the MIT license.
Forked from framebufferJS under MIT licence
Copyright (c) 2014 Stephen Whitmore