photonstorm
f9a2c2a79e
PIXI.Graphics and PIXI.GraphicsData have been removed, and all functionality merged in to Phaser.Graphics, to cut down on the number of internal classes and inheritance going on.
...
WebGLGraphics and CanvasGraphics have been updated so that it checks for Phaser Geometry shape types internally.
2016-09-28 16:42:33 +01:00
photonstorm
69db3632d6
PIXI.Rope and PIXI.Strip have been removed, and all functionality merged in to Phaser.Rope, to cut down on the number of internal classes and inheritance going on.
2016-09-28 15:10:43 +01:00
photonstorm
a2cd364db5
Removed AbstractFilter and its manifest entry.
2016-09-28 14:31:23 +01:00
photonstorm
bffdb8fbc5
Moved the Canvas tests into the Phaser.Device class.
2016-09-28 13:39:30 +01:00
photonstorm
2cf447c151
PIXI.EarCut has been moved into the Phaser utils
folder, and renamed to Phaser.EarCut
. All references to PIXI.EarCut have been updated to match the new namespace.
2016-09-28 13:38:59 +01:00
photonstorm
508e5ae723
PIXI.TilingSprite has been removed, and all functionality merged in to Phaser.TileSprite, to cut down on the number of internal classes and inheritance going on.
2016-09-28 11:57:11 +01:00
Richard Davey
2005c9d86d
PIXI.RenderTexture has been removed, and all functionality merged in to Phaser.RenderTexture, to cut down on the number of internal classes and inheritance going on.
2016-09-28 01:40:29 +01:00
Richard Davey
0bfb52d159
Phaser.SpriteBatch was incorrectly applying the prototypes, causing the Sprite Batch render methods to be replaced by the normal DisplayObjectContainer ones, meaning nothing was really batched at all. This has now been fixed, and PIXI.SpriteBatch removed, as it's no longer required.
2016-09-28 00:43:19 +01:00
Richard Davey
dd39f9ab08
Updated TS defs.
2016-08-26 01:24:15 +01:00
photonstorm
325b3a2857
Configuring ESLint.
2016-08-23 16:25:58 +01:00
photonstorm
7b9c4114b2
Preparing for 2.6.2 release.
2016-08-22 12:31:02 +01:00
photonstorm
e15d98e34b
Removed Polyk.
2016-07-26 17:07:16 +01:00
Richard Davey
3574d86bba
Code formatting and copyright text.
2016-07-18 23:39:09 +01:00
Richard Davey
8c99f97c5f
Exclude paths for now.
2016-07-13 03:16:34 +01:00
Richard Davey
265501b4af
The src/system folder has been removed and all files relocated to the src/utils folder. This doesn't change anything from an API point of view, but did change the grunt build scripts slightly.
2016-07-11 22:38:09 +01:00
photonstorm
3ef05fd163
jshint fix.
2016-06-17 03:10:06 +01:00
photonstorm
694debe94b
Rebuilt Phaser Comments TypeScript defs.
2016-06-17 02:28:57 +01:00
photonstorm
47f0224a40
Phaser 2.4.9 release.
2016-06-17 01:11:24 +01:00
photonstorm
834a8df99d
Fixed concat grunt task so that the Weapon plugin is included.
2016-06-14 15:45:20 +01:00
photonstorm
f39dffc88e
Added Weapon Plugin to optional build task.
2016-06-03 17:26:44 +01:00
photonstorm
f40cfbe2ae
2015 - 2016.
2016-04-04 22:16:16 +01:00
Richard Davey
a613612a89
Merge pull request #2192 from spayton/dev
...
Enhanced the intro/outro usage. The Pixidefaults inclusion have been…
2016-02-04 18:02:22 +02:00
photonstorm
8076f64656
We have replaced the PolyK Triangulation calls within Pixi with EarCut 2.0.8. This allows for faster polygon triangulation, and also deals with more complex polygons that PolyK would crash on.
2016-02-04 13:23:01 +00:00
spayton
7b66a782a0
Enhanced the intro/outro usage. The Pixidefaults inclusion have been decoupled from the Phaser Outro and put into a separate module, prior to this it would not be possible to exclude the UMD wrapper and keep the pixi defaults, which I'm not sure would have been much use to anyone, now you can optionaly keep the pixi defaults.
...
Also the Pixi intro module has been split into intro/main modules, so it's intro/outro modules can be excluded cleanly without being tied to the body of the Pixi code. Finally the Pixi into/outro exclusion is tied to Phaser's excludes, ie if Phasers intro/outro is excluded so are Pixi's - this could be separated by giving pixi it's own module list but I can't see why anyone would not want to exclude the wrappers from both, they can always generate the Phaser/Pixi modules in separate passes if they want differing wrapping anyway.
2015-11-05 13:28:32 +00:00
photonstorm
e01a754732
Removed the FrameDebugger and moved to its own branch.
2015-10-12 11:10:37 +01:00
photonstorm
bf0bd9657e
Updated readme and build scripts.
2015-09-30 11:20:14 +01:00
photonstorm
d7d4320def
You can now exclude the FlexGrid from custom builds, saving 15KB.
2015-09-30 11:19:55 +01:00
photonstorm
e31c7d1f5a
Fixed issue with TileSprites not excluding correctly from custom builds.
2015-09-30 11:19:29 +01:00
photonstorm
6d0aa613ad
New Create stub added for the custom build process. Cuts file size by 8KB.
2015-09-30 11:19:05 +01:00
Richard Davey
ede827c8af
Added the stubs to jshint ignore.
2015-09-29 17:00:40 +01:00
Richard Davey
49fccc9abd
Added the grunt manifests.
2015-09-29 16:54:58 +01:00
Richard Davey
0064d969ce
Also excluded PIXI.PolyK from the build if Graphics not included (as only WebGL Graphics used it)
2015-09-29 16:27:10 +01:00
Richard Davey
084c453fcc
Added the PIXI.WebGLGraphics and PIXI.CanvasGraphics files to the Graphics custom build option. They weren't used anyway and this removes an extra 35.5KB from the build size.
2015-09-29 16:15:07 +01:00
photonstorm
b99c9e22ec
Removed PIXI.Stage. Phaser.Stage now handles everything it needs to do.
2015-09-15 12:53:44 +01:00
photonstorm
06ed961e81
Added FrameDebugger into the mix.
2015-09-15 12:53:43 +01:00
photonstorm
486c15f16f
New docs.
2015-08-24 15:43:45 +01:00
Vladislav Forsh
c418ccb0b2
Fix 'unable to locate jsdoc' error while building docs.
2015-08-11 21:46:55 +03:00
Vladislav Forsh
a177c332e6
Remove trailing comma.
2015-08-11 21:42:24 +03:00
photonstorm
f4a1f11429
PIXI.CanvasPool is a new static global created to deal with the issue of resource leaks and continuous DOM node build-up when creating lots of Text or BitmapData objects, or when calling generateTexture
on any display object. The CanvasPool will do its best to re-use out dated canvas elements rather than filling up the DOM with new ones.
...
Sprite.setTexture has a new `destroyBase` parameter - set this to `true` if you know the base used a generated texture that isn't being used by any other sprites. This will free-up the canvas for further re-use by other calls to generateTexture or Text objects.
2015-08-03 16:09:16 +01:00
photonstorm
4b22f48c75
2.4.2 release.
2015-07-29 15:01:04 +01:00
photonstorm
7a6de818e1
Updated Grunt build scripts so that all third party libs (such as Creature, P2, gl-matrix and PIXI) are now kept well and truly outside of Phaser. They are defined and placed first in the build files. So no more PIXI hiding within the Phaser namespace or UMD patching for Phaser required.
2015-07-23 16:00:45 +01:00
photonstorm
94ae9e097e
Phaser 2.4.0a release - includes build file fixes for missing PIXI classes like TilingSprite.
2015-07-23 13:25:08 +01:00
photonstorm
858ad51610
Phaser 2.4 release.
2015-07-22 15:31:30 +01:00
photonstorm
000afb74a2
Split out rope and tilesprite as custom tasks.
2015-07-22 12:44:03 +01:00
photonstorm
5d0788b47d
Consolidated all Pointer buttons into the new DeviceButton class.
2015-07-17 13:52:09 +01:00
photonstorm
c9aacc7679
Added Phaser.Create in, fixes build task ( #1897 )
2015-07-10 17:27:01 +01:00
photonstorm
698167a596
Tiled Image Collection support is now available and has been added to the TilemapParser and Tilemap classes (thanks @asyed94 #1879 )
2015-07-02 13:53:02 +01:00
photonstorm
a69c156526
The Text Bounds is a rectangular region that allows you to align your text within it, regardless of the number of lines of text or position within the world. For example in an 800x600 sized game if you set the textBounds to be 0,0,800,600 and text alignment to 'left' and vertical alignment to 'bottom' then the text will render in the bottom-right hand corner of the game, regardless of the size of font you're using or the number of lines in the text itself.
...
Set the Style properties `boundsAlignH` and `boundsAlignV` or adjust them via the Text setters to change the alignment.
It works by calculating the final position based on the Text.canvas size, which is modified as the text is updated. Some fonts have additional padding around them which you can mitigate by tweaking the Text.padding property.
Setting a textBounds _doesn't_ update the wordWrapWidth, so be aware of the relationship between the two.
Call this method with nothing defined for any of the parameters to reset an existing textBounds.
#1824
2015-06-17 17:18:04 +01:00
photonstorm
fb4709fb1a
Removed PIXI.BitmapText as it's no longer used.
2015-06-03 05:28:24 +01:00
photonstorm
89a95fa2c3
Added Video to gruntfile.
2015-05-06 07:58:04 +01:00