-
Notifications
You must be signed in to change notification settings - Fork 0
Chmood/ImpactJS-HQX-plugin
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is an impactJS plugin. "Impact is a JavaScript Game Engine that allows you to develop stunning HTML5 Games for desktop and mobile browsers." More infos at http://impactjs.com/ It uses HQX (2, 3 or 4x) pixel upscaling method, instead of native nearest neighbor interpolation. What it does is basically wrapping the hqx javascript port (https://github.com/phoboslab/js-hqx) into a impactjs plugin, by injecting a new ig.Image.resize() function. Usage : 1./ Simply require the plugin in main.js (or whatever main js file) ig.module( 'game.main' ) .requires( 'impact.game', 'plugins.hqx' /*...*/ ) /*../ 2./ Init your game with a scale factor of 2, 3 or 4. ig.main( '#canvas', MyGame, 60, 240, 160, 4 );
About
Uses HQX (2, 3 or 4x) pixel upscaling method, instead of impactJs native, nearest neighbor interpolation.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published