Skip to content

Commit bf0bd96

Browse files
committed
Updated readme and build scripts.
1 parent 9013107 commit bf0bd96

4 files changed

Lines changed: 9 additions & 2 deletions

File tree

Gruntfile.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ module.exports = function (grunt) {
4949
'bitmaptext': { 'description': 'BitmapText Game Object', 'optional': true, 'stub': false },
5050
'retrofont': { 'description': 'Retro Fonts Game Object', 'optional': true, 'stub': false },
5151
'rope': { 'description': 'Rope and Strip Game Object', 'optional': true, 'stub': false },
52-
'tilesprite': { 'description': 'Tile Sprite Game Object', 'optional': true, 'stub': false },
52+
'tilesprite': { 'description': 'Tile Sprite Game Object', 'optional': true, 'stub': true },
5353
'system': { 'description': 'System Classes', 'optional': false, 'stub': false },
5454
'math': { 'description': 'Math, QuadTree and RND', 'optional': false, 'stub': false },
5555
'net': { 'description': 'Network Class', 'optional': true, 'stub': true },
@@ -62,6 +62,8 @@ module.exports = function (grunt) {
6262
'debug': { 'description': 'Debug Class', 'optional': true, 'stub': true },
6363
'dom': { 'description': 'DOM Utilities', 'optional': true, 'stub': true },
6464
'utils': { 'description': 'Core Utilities', 'optional': false, 'stub': false },
65+
'create': { 'description': 'Create Support', 'optional': true, 'stub': true },
66+
'flexgrid': { 'description': 'Flex Grid and Flex Layer', 'optional': true, 'stub': false },
6567
'color': { 'description': 'Color Functions', 'optional': true, 'stub': true },
6668
'physics': { 'description': 'Physics Manager', 'optional': false, 'stub': false },
6769
'arcade': { 'description': 'Arcade Physics', 'optional': true, 'stub': false },

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,10 @@ can be controlled per-input mode.
300300
* New DOM stub added for the custom build process. Contains just the bare minimum of functions that Phaser needs to work. Cuts file size from 14.8KB to 2.4KB. Note: Do not stub this out if using the full Scale Manager.
301301
* New Scale Manager stub added. Removes all Scale Manager handling from Phaser! But saves 75KB in the process. If you know you don't need to scale the Phaser canvas, or are handling that externally, then you can safely stub it out in a custom build.
302302
* Added the PIXI.PolyK, PIXI.WebGLGraphics and PIXI.CanvasGraphics files to the Graphics custom build option. They weren't used anyway and this removes an extra 40.2KB from the build size.
303+
* Phaser.Create no longer automatically creates a BitmapData object when it starts. It now only does it when you first make a texture or grid.
304+
* New Create stub added for the custom build process. Cuts file size by 8KB.
305+
* You can now exclude the FlexGrid from custom builds, saving 15KB.
306+
* The ScaleManager no longer creates a Phaser.FlexGrid if the class isn't available (i.e. excluded via a custom build)
303307

304308
### Bug Fixes
305309

src/PixiDefaults.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ if (PIXI.RenderTexture.tempMatrix === undefined)
3232
PIXI.RenderTexture.tempMatrix = new PIXI.Matrix();
3333
}
3434

35-
if (PIXI.Graphics.POLY === undefined)
35+
if (PIXI.Graphics && PIXI.Graphics.POLY === undefined)
3636
{
3737
PIXI.Graphics.POLY = Phaser.POLYGON;
3838
PIXI.Graphics.RECT = Phaser.RECTANGLE;

tasks/manifests/particles.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[
2+
"src/gameobjects/Particle.js",
23
"src/particles/Particles.js",
34
"src/particles/arcade/ArcadeParticles.js",
45
"src/particles/arcade/Emitter.js"

0 commit comments

Comments
 (0)