Commit graph

2557 commits

Author SHA1 Message Date
photonstorm
9efa5efa0f Tidied up the Signal class and added a call counter to SignalBinding. 2014-10-28 01:48:24 +00:00
photonstorm
e4ddf316cc New build files for testing. 2014-10-27 23:31:26 +00:00
photonstorm
dfa442db93 Particle.Emitter will now automatically set particle.body.skipQuadTree to true to help with collision speeds within Arcade Physics.
Particle.Emitter.explode (or `Emitter.start` with the `explode` parameter set to `true`) will immediately emit the required quantity of particles and not delay until the next frame to do so. This means you can re-use a single emitter across multiple places in your game that require explode-style emissions, just by adjusting the `emitter.x` and `emitter.y` properties before calling explode (thanks Insanehero)
2014-10-27 23:29:43 +00:00
photonstorm
a471cfc235 Game.destroy now destroys either the WebGLRenderer or CanvasRenderer, whichever Pixi was using. 2014-10-27 22:09:39 +00:00
photonstorm
da87c75e00 Loader.useXDomainRequest used to be enabled automatically for IE9 but is now always set to false. Please enable it only if you know your server set-up / CDN requires it, as some most certainly do, but we're finding them to be less and less used these days, so we feel it's safe to now disable this by default (#1248)
Loader.json was using the wrong context in IE9 with XDomainRequest calls (thanks @pnstickne #1258)
2014-10-27 12:31:55 +00:00
photonstorm
0f3cda0aed Cache.getRenderTexture will retrieve a RenderTexture that is stored in the Phaser Cache. This method replaces Cache.getTexture which is now deprecated.
Cache.autoResolveURL is a new boolean (default `false`) that automatically builds a cached map of all loaded assets vs. their absolute URLs, for use with Cache.getURL and Cache.checkURL. Note that in 2.1.3 and earlier this was enabled by default, but has since been moved behind this property which needs to be set to `true` *before* you load any assets to enable.

Cache._resolveUrl has been renamed to Cache._resolveURL internally and gained a new parameter. This method is a private internal one.

Cache.getUrl is deprecated. The same method is now available as Cache.getURL.

XML files weren't being added to the URL map.

Cache._resolveURL was causing a Sound double-load in Firefox and causing errors (thanks @domonyiv #1253)
2014-10-27 11:46:24 +00:00
photonstorm
12c2f83bfc Repackaging for 2.1.4 release. 2014-10-27 10:59:37 +00:00
Richard Davey
35c42e3073 Tilemaps in WebGL wouldn't update after the first frame due to a subtle change in how Pixi uploads new textures to the GPU. 2014-10-25 10:09:04 +01:00
photonstorm
d01a96996b Merge remote-tracking branch 'origin/dev' into dev 2014-10-23 16:06:40 +01:00
photonstorm
f4f53984ef Merge remote-tracking branch 'origin/master' into dev 2014-10-23 16:06:17 +01:00
Richard Davey
e32278575e Merge pull request #1247 from spayton/dev
crashfix: changed function call wordWrap() to runWordWrap()
2014-10-23 16:03:51 +01:00
photonstorm
d22f2bd89b Small fix for Text wordWrapping #1247 2014-10-23 16:03:29 +01:00
photonstorm
18f6b320ab Preparing for Phaser v2.2.0 2014-10-23 13:52:39 +01:00
spayton
394ede84a9 changed function call wordWrap() to runWordWrap() 2014-10-23 13:05:21 +01:00
photonstorm
7557e4ed36 Phaser 2.1.3 2014-10-23 12:34:33 +01:00
photonstorm
f3f022b74a Final Pixi v2 updates. 2014-10-23 12:32:56 +01:00
photonstorm
b63e9fc8c6 Phaser 2.1.3 build files. 2014-10-23 12:27:34 +01:00
photonstorm
9cb42a933d Fixed for Pixi v2 new method of batching. 2014-10-23 12:27:25 +01:00
photonstorm
0430cf8a6a jsdoc fix 2014-10-23 12:27:07 +01:00
photonstorm
0e2378d276 Phaser 2.1.3 release. 2014-10-22 23:53:32 +01:00
photonstorm
1e1d1b9018 Updated the build manifests. 2014-10-22 23:53:18 +01:00
photonstorm
bebb83bad4 Removed methods that Pixi now offers directly. 2014-10-22 23:53:02 +01:00
photonstorm
e14c6efbc3 Updated to support new Pixi style of points. 2014-10-22 23:52:46 +01:00
photonstorm
157d515940 2.1.3 Build. 2014-10-22 22:49:31 +01:00
photonstorm
b56c3bf54e jshint fixes 2014-10-22 22:49:20 +01:00
photonstorm
ae76c90dc1 Phaser 2.1.3 build files. 2014-10-22 22:35:33 +01:00
photonstorm
1bc1d2eb94 Fixed Text class for Pixi v2 changes. 2014-10-22 22:35:21 +01:00
photonstorm
d44424fdbc 2.1.3 documentation updates. 2014-10-22 21:49:44 +01:00
photonstorm
fbe68e330d Phaser 2.1.3 build. 2014-10-22 21:42:12 +01:00
photonstorm
73f210257a Removed duplicate Pixi classes and updated the build manifests to pull-in the correct Pixi Matrix class. 2014-10-22 21:20:38 +01:00
photonstorm
d5b32dd50f The first DocGen output! The whole of Phaser and PIXI documentation as JSON files. 2014-10-21 23:42:29 +01:00
photonstorm
b935c3d7fe Fixed ReturnType eternal loop. 2014-10-21 23:42:02 +01:00
photonstorm
77a11221e1 Tidying up DocGen output. 2014-10-21 23:17:52 +01:00
photonstorm
f1ef62f113 DocGen Updates so ReturnTypes are now covered. 2014-10-21 23:08:30 +01:00
photonstorm
474fd8e055 JSDoc fixes. 2014-10-21 23:08:16 +01:00
photonstorm
54570a2b27 Small jsdoc fixes. 2014-10-21 22:48:06 +01:00
photonstorm
9b16b11c88 Small Roadmap update. 2014-10-21 22:45:36 +01:00
photonstorm
f942a37089 DocGen updates - nearly there! 2014-10-21 22:43:58 +01:00
photonstorm
96fd0ade74 JSDoc fixes. 2014-10-21 22:43:42 +01:00
photonstorm
01a068f53c Rectangle.scale allows you to scale the width and height of a Rectangle. 2014-10-21 00:25:54 +01:00
photonstorm
9d58297eb9 Button.setSounds now works if given an AudioSprite as the sound source. 2014-10-20 23:17:05 +01:00
photonstorm
1a357e18c8 Rectangle contains updates. 2014-10-20 14:28:09 +01:00
photonstorm
b580746cb8 Input.hitTest now accurately detects hits on the extreme edges of a display object (thanks InsaneHero) 2014-10-20 14:28:09 +01:00
Alvin
7f31cfba62 fixed type in the cached previous point in mouse uniform (filter) 2014-10-20 14:39:16 +02:00
Richard Davey
a5d0acdb97 Merge pull request #1238 from clark-stevenson/patch-3
Update phaser.d.ts
2014-10-20 12:44:46 +01:00
Clark Stevenson
582a86b182 Update phaser.d.ts
Includes PIXI 2.0 definitions and previous week of updates. I am apprehensive about the Pixi Mixins but I have been using it on my projects for a good few days and experienced no problems at all.
2014-10-20 10:52:49 +01:00
Richard Davey
6793484c37 Merge pull request #1236 from photonstorm/alvin/dev
Added the audiosprite class to the no-physics build and a new build with only p2
2014-10-20 01:28:40 +01:00
photonstorm
b9d10f5b7f Pixi v2 updates. 2014-10-20 01:26:12 +01:00
photonstorm
6b2dbed96b Fixed Input.getLocalPosition.
Updated Input.hitTest so it supports Phaser.Graphics objects.
2014-10-20 01:25:58 +01:00
photonstorm
35d29170d0 Lots of small jsdoc fixes and DocGen updates. 2014-10-20 00:54:56 +01:00