Commit graph

633 commits

Author SHA1 Message Date
photonstorm
a41226cdad Phaser 2.2.0 Release Candidate 7. 2014-11-15 20:04:24 +00:00
photonstorm
d8d2ebdb31 Phaser 2.2.0 - Release Candidate 6. 2014-11-14 08:16:55 +00:00
photonstorm
f64bb72a28 Phaser 2.2.0 Release Candidate 5. 2014-11-12 22:49:36 +00:00
photonstorm
e7356fc575 Pixi 2.1.1 merge. 2014-11-12 22:38:51 +00:00
photonstorm
788fc7e00f Because Texture.js dies without it. 2014-11-11 23:24:51 +00:00
photonstorm
1352b526c7 Merged final Pixi v2.1.0 release. 2014-11-11 23:24:50 +00:00
photonstorm
a4e049ac63 RC3 Build files. 2014-11-11 14:31:31 +00:00
photonstorm
bc5a3287a6 Added DOM.js 2014-11-11 05:56:32 +00:00
photonstorm
dbd2957884 Phaser 2.2.0 RC2 build. 2014-11-11 01:10:47 +00:00
photonstorm
69ec5efc29 Phaser 2.2.0-Release Candidate build. 2014-11-10 01:41:41 +00:00
photonstorm
a74a181074 New build files for RC testing. 2014-11-08 19:26:34 +00:00
photonstorm
88eae3aed0 Build files for testing. 2014-11-08 19:11:28 +00:00
photonstorm
be8499fa49 Moved ts defs to new home. 2014-11-02 23:00:15 +00:00
Clark Stevenson
9445f19414 Update phaser.d.ts 2014-10-30 08:56:24 +00:00
photonstorm
ce32d492af Phaser.Polygon has been refactored to address some Pixi v2 migration issues (thanks @pnstickne for the original implementation #1267)
Polygon.area is now only calculated when the Polygon points list is modified, rather than on every call.

Phaser.Polygon can now accept the points list in a variety of formats: Arrays of Points, numbers, objects with public x/y properties or any combination of, or as a parameter list (thanks @pnstickne for the original implementation #1267)

Polygon.contains now correctly calculates the result  (thanks @pnstickne @BurnedToast #1267)
2014-10-29 07:46:56 +00:00
photonstorm
98e6f155de New build files. 2014-10-28 01:50:25 +00:00
photonstorm
e4ddf316cc New build files for testing. 2014-10-27 23:31:26 +00:00
photonstorm
d22f2bd89b Small fix for Text wordWrapping #1247 2014-10-23 16:03:29 +01:00
photonstorm
7557e4ed36 Phaser 2.1.3 2014-10-23 12:34:33 +01:00
photonstorm
b63e9fc8c6 Phaser 2.1.3 build files. 2014-10-23 12:27:34 +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
157d515940 2.1.3 Build. 2014-10-22 22:49:31 +01:00
photonstorm
ae76c90dc1 Phaser 2.1.3 build files. 2014-10-22 22:35:33 +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
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
photonstorm
1377b9454d Added missing CanvasBuffer.js 2014-10-17 17:38:01 +01:00
photonstorm
94c3989939 Updated the grunt manifests. 2014-10-14 01:10:00 +01:00
photonstorm
0501ca69ae Merged latest Pixi dev build. 2014-10-13 23:54:22 +01:00
photonstorm
3997a7c372 Time.prevTime is a new property that contains the raw value of the game timer from the previous update.
Timer.timeCap has been changed from `1000` to `1 / 60 * 1000` to bring it in line with Time.timeCap.
2014-10-13 16:18:42 +01:00
photonstorm
ac27f12c95 Fixes for Pixi update WebGL UV calls. 2014-10-11 04:18:42 +01:00
photonstorm
321d7b0d06 Added 2.1.2 build files. 2014-10-09 16:16:41 +01:00
photonstorm
506a091257 Sound.allowMultiple allows you to have multiple instances of a single Sound playing at once. This is only useful when running under Web Audio, and we recommend you implement a local pooling system to not flood the sound channels. But it allows for one Sound object to play overlapping times, useful for gun effects and similar (#1220) 2014-10-09 14:44:25 +01:00
photonstorm
a2a60f207f Updated readme and TS defs. 2014-10-09 14:16:24 +01:00
photonstorm
b00866cee9 AnimationManager.name will now return the name property of the currently playing animation, if any. 2014-10-09 14:06:13 +01:00
Clark Stevenson
90c8ec4edf Minor Typescript Updates 2014-10-03 21:28:20 +01:00
photonstorm
e0a20cef25 Updated config for Box2D plugin 2014-09-29 21:19:18 +01:00
photonstorm
b0e96a37b9 Added Box2D handler support. 2014-09-29 12:27:28 +01:00
Richard Davey
acba9c4e14 Updated TypeScript defs. 2014-09-29 12:14:02 +01:00
photonstorm
415c7fe578 Added the sourceRect and maskRect parameters back into BitmapData.alphaMask as they were accidentally removed in 2.1 (thanks seejay92) 2014-09-25 15:30:03 +01:00
Clark Stevenson
01bcec97d2 Update phaser.d.ts
Small fixes and a few additions
2014-09-25 09:38:38 +01:00
photonstorm
f3fd3ebe0e Added AudioSprite to the build files. 2014-09-24 06:51:53 +01:00
Richard Davey
bb8da110b1 Merge pull request #1184 from clark-stevenson/dev
Should bring phaser upto date with master, P2 has been added as it is co...
2014-09-11 12:02:44 +01:00
photonstorm
5b922be56e Version 2.1.1. of Phaser is an emergency point release. It addresses a potential race condition that could happen in States that tried to change state from the create method but had an empty preloader or pre-cached assets. 2014-09-11 10:38:40 +01:00
Clark Stevenson
4b311944d7 Should bring phaser upto date with master, P2 has been added as it is cool to have access to the p2 data. 2014-09-11 00:02:23 +01:00
photonstorm
37e4754511 2.1.0 Release. 2014-09-09 15:36:42 +01:00
photonstorm
33d9b19e29 The Debug canvas is now cleared on State swap. 2014-09-09 15:28:58 +01:00
photonstorm
03bd2aaf46 2.1.0 pre-built releases. 2014-09-09 14:47:54 +01:00
photonstorm
c40c140631 Camera.roundPx is a new boolean. If set to true it will call view.floor as part of its update loop, keeping its boundary to integer values. Set to false to disable this from happening (#1141) 2014-09-09 12:47:27 +01:00
photonstorm
ff07317120 First version of the FlexLayer class. 2014-09-05 15:46:10 +01:00
photonstorm
07f529bf12 First experimental build of FlexGrid. 2014-09-05 06:01:48 +01:00
photonstorm
a98fbc0c62 New 2.1.0 build files. 2014-09-04 16:56:45 +01:00
photonstorm
9fa3f8f2b1 alphaMask update. 2014-09-04 16:53:19 +01:00
photonstorm
3a69ed944d Fixed TypeScript defs for BitmapData. 2014-09-04 16:52:10 +01:00
Chad Engler
6b324720bd fix typo of 'object' 2014-09-01 10:56:28 -07:00
Chad Engler
43394300f7 change all Objects to any 2014-09-01 08:55:02 -07:00
Chad Engler
449e0a130b implement resize callback 2014-09-01 08:54:05 -07:00
photonstorm
8a1c22d059 New build files. 2014-09-01 08:21:40 +01:00
photonstorm
b389b73221 New build files for testing. 2014-09-01 03:56:40 +01:00
photonstorm
6784c3a50d TypeScript def updates to match new ScaleManager. 2014-09-01 03:40:26 +01:00
Chad Engler
e6f3bd5da6 more typescript definition file updates 2014-08-30 18:21:33 -07:00
Richard Davey
e5cfa8202a Merge pull request #1154 from saikobee/issues/1153
Fixes #1153
2014-08-31 00:12:45 +01:00
Brian Mock
fe94d7f002 Fixes #1153
Previously the `Phaser.Keyboard` module's `lastKey` property was of type
`string` in the TypeScript definition file, but it is actually a
`Phaser.Key` object, so `build/phaser.d.ts` has been updated to reflect
that.
2014-08-29 21:28:55 -07:00
Rene Hangstrup Møller
4efac73ec6 p2.createContactMaterial() options parameter should be object 2014-08-29 23:02:03 +02:00
photonstorm
da5a9482f6 New build files for testing. 2014-08-29 18:13:33 +01:00
Chad Engler
6483e48b2e fix some minor issues in the typescript definition 2014-08-28 06:56:27 -07:00
photonstorm
34426e7560 Loader.useXDomainRequest boolean automatically set to true if the browser is specifically detected as IE9, but you can still override this. IE10 will use xhr. 2014-08-28 05:24:57 +01:00
photonstorm
9de1d494df Phaser 2.1.0 build files for testing.
Ninja Physics is no longer included in the build files by default. Not enough people were using it, and not enough contributions were coming in to help polish it up, so we've saved the space and removed it. It's still available in the grunt build files if you require it, but we're deprecating it from the core library at this time. It will make a return in Phaser3 when we move to a modular class system.
2014-08-28 04:53:05 +01:00
photonstorm
31f450dd42 Docs updates, preparing for Rope merge. 2014-08-28 01:59:10 +01:00
Richard Davey
f076edcf2e Merge pull request #1133 from rhmoller/dev
Emitter.setScale() has separate arguments for x and y and easing parameter should be a function type
2014-08-28 01:41:40 +01:00
photonstorm
aeb82dbee9 World.createRotationalSpring will now let you create rotational springs. 2014-08-28 00:58:50 +01:00
photonstorm
33c52eaf09 BitmapData alpha option added.
Pointer return type added.
pixi manifest updated to remove need for geom classes.
2014-08-27 21:26:29 +01:00
Rene Hangstrup Møller
097b35bbc0 fixed function type for easing function 2014-08-22 22:13:58 +02:00
Rene Hangstrup Møller
82d701bba4 Emitter.setScale() has separate arguments for x and y 2014-08-22 18:38:05 +02:00
clark-stevenson
ecf8b4eb26 TileMapLayer getTileX/Y returns number not Tile
Fixed simple type error.

http://www.html5gamedevs.com/topic/8621-gettilex-gettiley-typescript-signature-wrong/
2014-08-17 20:43:03 +01:00
photonstorm
f887ee0df8 TypeScript definition updates to help fix for the noimplicitany option (thanks @Waog #1088) 2014-08-06 16:24:33 +01:00
Clark Stevenson
ebe1f9901f Fixed #1056 draw typo changed to drag 2014-07-22 12:39:53 +01:00
Clark Stevenson
2526ef2edc Fixed BitmapFont tint 2014-07-18 13:31:20 +01:00
Clark Stevenson
769822e6da Merge branch 'dev' of https://github.com/photonstorm/phaser into dev 2014-07-18 12:56:38 +01:00
photonstorm
ccc7e6734d 2.0.7 master build. 2014-07-18 12:36:01 +01:00
photonstorm
94978a62d8 New 2.0.7 build 2014-07-18 11:52:48 +01:00
photonstorm
24527eac3e Group.checkAll allows you to check if the same property exists across all children of the Group and is set to the given value (thanks @codevinsky #1013)
Group.checkProperty allows you to check if the property exists on the given child of the Group and is set to the value specified (thanks @codevinsky #1013)
Phaser.Utils.setProperty will set an Objects property regardless of depth (thanks @codevinsky #1013)
Phaser.Utils.setProperty will set an Objects property regardless of depth (thanks @codevinsky #1013)
Phaser.Utils.getProperty will get an Objects property regardless of depth (thanks @codevinsky #1013)
2014-07-18 11:52:39 +01:00
Clark Stevenson
643a46a57f Update phaser.d.ts 2014-07-16 14:51:57 +01:00
photonstorm
fc047c5870 Phaser 2.0.7 test release. 2014-07-16 01:58:24 +01:00
photonstorm
f6935c01f8 Sprite.loadTexture will store the smoothed property of the Sprite and re-apply it once the new texture is loaded. 2014-07-16 00:56:26 +01:00
photonstorm
aaf82f9d3a Sprite.loadTexture has a new optional stopAnimation boolean parameter which will halt the currently running animation (if any) after changing the texture (based on #1029). 2014-07-16 00:29:43 +01:00
photonstorm
f78a527ad5 Prevented objects with pixel perfect checks from over-riding other higher priority ID items (#983)
Rebuilt the way items are polled for Pointer events (drag, click, move). Now faster and more efficient, especially when some items in the stack require pixel perfect checks.
2014-07-15 11:20:57 +01:00
Clark Stevenson
a7bd3977eb Incorrect GamePad replaced with Gamepad 2014-07-14 11:28:20 +01:00
Clark Stevenson
0ec4fefbc4 Updated Phaser.d.ts to dev
Fixes #1008
2014-07-13 23:46:24 +01:00
photonstorm
321acd1676 New build files. 2014-07-13 23:46:20 +01:00
Alvin
9e9cf1ab23 Added game.add.plugin to the definitions file 2014-07-13 23:45:58 +01:00
photonstorm
d08c6ba7c9 Updated build files with patched Pixi UMD statement. 2014-07-13 23:45:51 +01:00
photonstorm
43c8a25b03 2.0.6 release. 2014-07-10 20:39:14 +01:00
photonstorm
0d0a16ee2c loadTexture fix. 2014-07-10 19:13:17 +01:00
photonstorm
a3cf246aee Image.loadTexture fix and new dist files. 2014-07-10 19:03:17 +01:00
photonstorm
971f69c743 New build files for final tests before release. 2014-07-10 16:23:26 +01:00
photonstorm
494c33a9f4 Rectangle.randomX will return a random value located within the horizontal bounds of the Rectangle.
Rectangle.randomY will return a random value located within the vertical bounds of the Rectangle.
2014-07-09 11:34:18 +01:00
photonstorm
003403c832 Color.getWebRGB will now accept either an Object or numeric color value. 2014-07-09 11:15:24 +01:00
photonstorm
4fc26e4a26 Updated to the latest version of Pixi. 2014-07-09 05:40:50 +01:00
photonstorm
8e7623e8a9 Updates TS defs (fix #982) 2014-07-08 13:01:43 +01:00
Clark Stevenson
a644443f6e Update TS Defs 2014-07-07 20:02:44 +01:00
photonstorm
14109aeeb1 Animation.next will advance to the next frame in the animation, even if it's not currently playing. You can optionally define the number of frames to advance, but the default is 1. This is also aliased from the AnimationManager, so you can do Sprite.animations.next().
Animation.previous will rewind to the previous frame in the animation, even if it's not currently playing. You can optionally define the number of frames to rewind, but the default is 1. This is also aliased from the AnimationManager, so you can do `Sprite.animations.previous()`.
2014-07-03 16:23:36 +01:00
photonstorm
e4536f9999 addMarker added to ts defs (#968) 2014-07-03 14:04:14 +01:00
photonstorm
212436529c Updated TS defs. 2014-07-03 02:22:56 +01:00
photonstorm
336cd8b76c Build files for testing. 2014-07-02 23:23:26 +01:00
photonstorm
2916f0413f Group.bringToTop (and consequently Sprite.bringToTop) no longer removes the child from the InputManager if enabled (thanks @BinaryMoon, fix #928)
Group.sendToBack (and consequently Sprite.sendToBack) no longer removes the child from the InputManager if enabled.
Group.add has a new optional boolean parameter: `silent`. If set to `true` the child will not dispatch its `onAddedToGroup` event.
Group.addAt has a new optional boolean parameter: `silent`. If set to `true` the child will not dispatch its `onAddedToGroup` event.
Group.remove has a new optional boolean parameter: `silent`. If set to `true` the child will not dispatch its `onRemovedFromGroup` event.
Group.removeBetween has a new optional boolean parameter: `silent`. If set to `true` the children will not dispatch their `onRemovedFromGroup` events.
Group.removeAll has a new optional boolean parameter: `silent`. If set to `true` the children will not dispatch their `onRemovedFromGroup` events.
Internal child movements in Group (such as bringToTop) now uses the new `silent` parameter to avoid the child emitting incorrect Group addition and deletion events.
2014-07-02 14:04:14 +01:00
clark-stevenson
3c90cccdd5 Various updates to Phaser, and 1.5.4 PIXI 2014-07-01 22:42:36 +01:00
Richard Davey
117aef650b Merge pull request #956 from Phaiax/phaserdts-createcollisiongroup
createCollisionGroup -> public, included in .d.ts file
2014-07-01 15:37:31 +01:00
photonstorm
cc6aa7313b New Phaser + Pixi build files. 2014-07-01 15:04:03 +01:00
photonstorm
181fd1ae56 Merged Pixi 1.5.4 with Phaser - all of the lovely new Pixi features are in, like complex Graphics objects and masking. 2014-07-01 15:03:46 +01:00
Phaiax
3a70e76e23 Update phaser.d.ts: P2 default Collision groups 2014-06-28 02:02:29 +02:00
Phaiax
e940f81b85 Update phaser.d.ts: fix my fix: createCollisionGroup 2014-06-28 01:48:01 +02:00
Phaiax
961d25cadc createCollisionGroup -> public, included in .d.ts file 2014-06-28 01:25:51 +02:00
Richard Davey
a0a7c02da3 Merge pull request #948 from Phaiax/update-d-ts
phaser.d.ts: Changed return type of getPhysicsData to Object[]
2014-06-27 18:34:47 +01:00
Phaiax
b9791cea93 Changed return type of getPhysicsData to Object[] 2014-06-26 21:57:32 +02:00
clark-stevenson
08854613bc Update phaser.d.ts
Added setFram to Animation #944
2014-06-25 17:07:23 +01:00
clark-stevenson
e6e49088d7 GamePad + small fixes.
You are making my life easy with the def updates :D
2014-06-11 15:23:54 +01:00
photonstorm
5c6b5f362d New build files. 2014-06-11 14:38:46 +01:00
photonstorm
69525799d7 New build files for testing. 2014-06-11 12:46:49 +01:00
photonstorm
50e47d89ee ArcadePhysics.Body.setSize if you set offset x/y values previously and then passed zero values they would be ignored (thanks @casensiom fix #889) 2014-06-11 00:21:04 +01:00
photonstorm
e923e230e0 TilemapLayers can now be used with an unbounded camera (a camera that can move beyond the world boundaries). Currently, when an unbounded camera moves outside of the world, tilemaps start acting weird because they only render themselves strictly within the world limits. With this change, the tilemap will continue scrolling and show empty space beyond its edge (thanks @jotson #851)
TilemapLayer.wrap property - if true the map is rendered as if it is on the surface of a toroid (donut) instead of a plane. This allows for games that seamlessly scroll from one edge to the opposite edge of the world without noticing the transition. Note that the World size must match the Map size (thanks @jotson #851)
2014-06-11 00:15:02 +01:00
photonstorm
b979243a8d Removed the cacheKey parameters from the AnimationParser methods as they're no longer used. 2014-06-10 23:50:12 +01:00
photonstorm
7c7d9153e6 Sprite.crop (and Image.crop) has been completely overhauled. You can now crop animated sprites (sprite sheet and texture atlas), you can define the x/y crop offset and the crop rectangle is exposed in the Sprite.cropRect property.
Sprite.updateCrop is available if you wish to update an externally referenced crop rectangle.
Sprites and Images now have their own textures objects, they are no longer references to those stored in the global Pixi.TextureCache. This allows you to redefine the texture frame dynamically without messing up any other Sprites in your game, such as via cropping. They still share global Base Textures, so image references are kept to a minimum.
Sprite.resetFrame will revert the Sprites texture frame back to its defaults dimensions. This is called when you call Sprite.crop with no rectangle, to reset the crop effect, but can be userful in other situations so we've left it as a public method.
2014-06-10 23:37:33 +01:00
photonstorm
6cf0f7073e Fixed point.normalise | normalize #872 2014-06-05 02:34:49 +01:00
photonstorm
1c9e23f535 Emitter.start has a new parameter: forceQuantity which will force the quantity of a flow of particles to be the given value (request #853)
Emitter.explode is a new short-cut for exploding a fixed quantity of particles at once.
Emitter.flow is a new short-cut for creating a flow of particles based on the given frequency.
2014-06-02 01:15:58 +01:00
photonstorm
12252944fa Time.add allows you to add an existing Phaser.Timer to the timer pool (request #864) 2014-06-02 00:54:42 +01:00
clark-stevenson
04d9e2e815 Update phaser.d.ts
Fixes #858
2014-05-29 17:50:10 +01:00
photonstorm
3c61e1d24f Build files with Asset Pack support added. 2014-05-29 17:37:28 +01:00
photonstorm
5b5bdc80d9 Loader.pack will allow you to load in a new Phaser Asset Pack JSON file. An Asset Pack is a specially structured file that allows you to define all assets for your game in an external file. The file can be split into sections, allowing you to control loading a specific set of files from it. An example JSON file can be found in the resources folder and examples of use in the Phaser Examples repository.
Loader.totalQueuedPacks returns the number of Asset Packs in the queue.
Loader.totalLoadedPacks returns the number of Asset Packs already loaded.
2014-05-29 17:05:13 +01:00
clark-stevenson
cb3dedd485 Update phaser.d.ts
Updated from last week

Also I think #843 is solved and supports this for example. I do not really see a problem with Casting as I do it fairly frequently. 

`var filter: Phaser.Filter.Marble = new Phaser.Filter.Marble(this.game, 800, 600, 4, 1);`
`var filter: Phaser.Filter.Marble = <Phaser.Filter.Marble>this.game.add.filter("Marble", 800, 600, 4, 1);`
`var filter: Phaser.Filter = this.game.add.filter("Marble", 800, 600, 4, 1);` <-- looses intellisense
2014-05-27 23:47:29 +01:00
clark-stevenson
4a377767f9 Update phaser.d.ts
Handful of changes from Last week of Dev and fixed optional loader script callbacks/context.
2014-05-25 12:15:43 +01:00
photonstorm
bcddfc83c0 Sprite.alive property now explicitly defined on the Sprite prototype (thanks @lewster32, #841) 2014-05-21 21:48:29 +01:00
photonstorm
b8a2b9347f 2.0.5 dist files. 2014-05-20 10:03:01 +01:00
photonstorm
a8256f4ef7 defs typo fix 2014-05-20 00:08:39 +01:00
clark-stevenson
4e2e6f9128 Update phaser.d.ts 2014-05-19 22:33:36 +01:00
photonstorm
7b876d5fc4 ScaleManager.bounds is a Rectangle object that holds the exact size of the game canvas, taking DOM offset and game scale into account.
Pointer.withinGame is now accurate based on game scale and updated as the Pointer moves.
Stage.bounds is now updated if the game canvas offset changes position. Note that it gives the un-scaled game dimensions.
2014-05-19 18:49:59 +01:00
Will Huxtable
6291f6de2c getText returns a string, not an Object. 2014-05-19 18:01:37 +01:00
photonstorm
1a7305b0ad New movement data added for a Pointer Locked mouse (Pointer.movementX/Y) (thanks @woutercommandeur, #831) 2014-05-19 11:51:25 +01:00
photonstorm
da75a22e82 Cache.checkKey added - allows you to pass in a Cache type and a key and return a boolean.
Cache.checkCanvasKey(key) - Check if a Canvas key exists in the cache (thanks to @delta11 for the proposal)
Cache.checkTextureKey(key) - Check if a Texture key exists in the cache (thanks to @delta11 for the proposal)
Cache.checkSoundKey(key) - Check if a Sound key exists in the cache (thanks to @delta11 for the proposal)
Cache.checkTextKey(key) - Check if a Text key exists in the cache (thanks to @delta11 for the proposal)
Cache.checkPhysicsKey(key) - Check if a Physics key exists in the cache (thanks to @delta11 for the proposal)
Cache.checkTilemapKey(key) - Check if a Tilemap key exists in the cache (thanks to @delta11 for the proposal)
Cache.checkBinaryKey(key) - Check if a Binary key exists in the cache (thanks to @delta11 for the proposal)
Cache.checkBitmapDataKey(key) - Check if a BitmapData key exists in the cache (thanks to @delta11 for the proposal)
Cache.checkBitmapFontKey(key) - Check if a BitmapFont key exists in the cache (thanks to @delta11 for the proposal)
Cache.checkJSONKey(key) - Check if a JSON key exists in the cache (thanks to @delta11 for the proposal)
2014-05-19 11:34:14 +01:00
clark-stevenson
566b870785 Update phaser.d.ts
Updates from past week
2014-05-14 15:54:40 +01:00
clark-stevenson
30b2b40810 Update IPixiRenderer Interface
Thanks @natelong

Solves
http://www.html5gamedevs.com/topic/1638-changing-game-size-to-fit-page/?p=36922
2014-05-08 13:36:51 +01:00
Maxime Fabre
8d88e08115 Fix type of Tilemap.foreach callback 2014-05-08 01:57:19 +02:00
clark-stevenson
266417e735 Update phaser.d.ts
Past week of updates on dev. 
Note also includes #799
2014-05-04 16:36:58 +01:00
Richard Davey
afc4f1793d Merge pull request #787 from luispedrofonseca/master
Updated TypeScript definitions
2014-05-01 12:30:13 +01:00
Luis Fonseca
d49a8f1159 Update TypeScript definitions
Made the "index" parameter optional to reflect the JS version.
2014-04-30 15:00:53 +01:00
photonstorm
4af89dbd15 2.0.5-dev build release. 2014-04-29 23:00:28 +01:00
photonstorm
e0083dcb26 Phaser 2.0.4 zero hour update. 2014-04-29 22:40:18 +01:00
photonstorm
26b2aa42ab Patching back into 2.0.4 master release a couple of important updates.
Tilemap.getTile and getTileXY used to return `null` in 2.0.3 but returned a Tile object in 2.0.4 (with an index of -1), they now return `null` again.
ScaleManager seeds _check private var with null to avoid later comparison check (thanks @jflowers45, fix #782)
P2.Body.applyForce should have used pxmi instead of pxm (thanks @Trufi, fix #776)
P2 fixed creation of RevoluteConstraint by passing maxForce in the options (thanks @woutercommandeur, fix #783)
Merge pull request #783 from woutercommandeur/dev

fix creation of RevoluteConstraint by passing maxForce in the options
2014-04-29 22:35:30 +01:00
photonstorm
486153d3e0 Patching back into 2.0.4 master release a couple of important updates. 2014-04-29 22:00:16 +01:00