File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -54,6 +54,19 @@ module.exports = {
5454 dest : '<%= compile_dir %>/phaser-no-physics.js'
5555 } ,
5656
57+ // Phaser with just P2 physics included. Does include Pixi.
58+ phaserP2Physics : {
59+ options : {
60+ banner : '<%= banner %>'
61+ } ,
62+ src : [
63+ '<%= compile_dir %>/pixi.js' ,
64+ require ( '../manifests/phaser-nophysics' ) ,
65+ '<%= compile_dir %>/p2.js'
66+ ] ,
67+ dest : '<%= compile_dir %>/phaser-p2-physics.js'
68+ } ,
69+
5770 // One ring to rule them all
5871 standalone : {
5972 options : {
Original file line number Diff line number Diff line change @@ -56,6 +56,14 @@ module.exports = {
5656 dest : '<%= compile_dir %>/phaser-no-physics.min.js'
5757 } ,
5858
59+ phaserP2Physics : {
60+ options : {
61+ banner : '/* Phaser (P2) v<%= package.version %> - http://phaser.io - @photonstorm - (c) 2014 Photon Storm Ltd. */\n'
62+ } ,
63+ src : [ '<%= concat.phaserP2Physics.dest %>' ] ,
64+ dest : '<%= compile_dir %>/phaser-p2-physics.min.js'
65+ } ,
66+
5967 standalone : {
6068 options : {
6169 sourceMap : true ,
You can’t perform that action at this time.
0 commit comments