Added phaser build and hellophaser sample

This commit is contained in:
2014-06-09 21:32:48 -07:00
parent 49f23abbe8
commit 48b5c5714a
856 changed files with 954584 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
(function () {
'use strict';
requirejs.config({
baseUrl: "src/",
paths: {
phaser: 'libs/phaser/phaser.min',
},
shim: {
'phaser': {
exports: 'Phaser'
}
}
});
require(['phaser', 'game'], function (Phaser, Game) {
var game = new Game();
game.start();
});
}());