discourse /
discourse
A platform for community discussion. Free, open, simple.
Loading repository data…
wise9 / repository
A simple JavaScript framework for creating games and apps
This is a repository for development. Refer to uei/enchant.js-builds to download pre-built files.
MIT License
<script src='./enchant.js'></script>
<script>
enchant();
window.onload = function(){
var game = new Game(320, 320);
var label = new Label('Hello, enchant.js!');
game.rootScene.addChild(label);
game.start();
}
</script>
More examples and references: GitHub Repository
Source code is divided into class files (dev/src/*.js). These files include multi-language comments. You can build enchant.js with 'grunt' command from these files. If you want to send a pull request or join development enchant.js, please edit files under dev/src, use this build tool and commit the built work tree.
To setup grunt.js (build tool for node.js) as an npm package, type:
npm install -g grunt-cli
npm install
You additionally need phantomjs to run qunit test in grunt.js.
grunt do default tasks (jshint concat uglify qunit exec:lang)grunt watch watch dev/src/*.js and exec grunt concat uglify lang when something is modifiedgrunt jshint check sourcecode in dev/classes/*.js with jshintgrunt concat generate dev/enchant.js from dev/classes/*.jsgrunt uglify generate enchant.min.js from dev/enchant.jsgrunt exec:lang generate enchant.js (English comment only) from dev/enchant.jsgrunt qunit do qunit tests with phantomjs (headless browser)grunt mocha do mocha tests with phantomjs (headless browser)If you wish to send your codes to github repos, don't forget to run grunt command before you commit your change!
If you found issues or improved codes, please write issues or send a pull request to wise9/enchant.js:develop.
Selected from shared topics, language and repository description—not editorial ratings.
discourse /
A platform for community discussion. Free, open, simple.
hexojs /
A fast, simple & powerful blog framework, powered by Node.js.
sampotts /
A simple HTML5, YouTube and Vimeo player
BabylonJS /
Babylon.js is a powerful, beautiful, simple, and open game and rendering engine packed into a friendly JavaScript framework.
localForage /
💾 Offline storage, improved. Wraps IndexedDB, WebSQL, or localStorage using a simple but powerful API.
js-cookie /
A simple, lightweight JavaScript API for handling cookies, client-side.