Brand new Grunt task - creates each core library as its own file and a combined phaser.js.

New build script now cleanly splits Phaser, Pixi and p2 so they are each UMD wrapped and each available in the global scope (now more requireJS friendly!).
phaser-no-libs.js allows you to use your own version of p2.js or pixi.js with Phaser. Warning: This is totally unsupported. If you hit bugs, you fix them yourself.
Fixed silly instanceof bug in game objects (sorry guys).
This commit is contained in:
photonstorm
2014-02-28 09:30:53 +00:00
parent 4562939e4e
commit 8662cd2fd4
34 changed files with 28254 additions and 12603 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
{
"name": "Phaser",
"version": "2.0.0",
"release": "Aes Sedai",
"description": "A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers.",
"author": "Richard Davey",
"logo": "https://raw.github.com/photonstorm/phaser/master/phaser-logo-small.png",
@@ -30,7 +31,7 @@
"grunt-contrib-connect": "~0.5.0",
"grunt-contrib-copy": "~0.4.1",
"grunt-contrib-clean": "~0.5.0",
"grunt-contrib-uglify": "~0.2.4",
"grunt-contrib-uglify": "~0.3.3",
"lodash": "~2.2.1"
}
}