Commit graph

668 commits

Author SHA1 Message Date
photonstorm
3bfce12036 New 2.4 build. Rawr! 2015-05-07 02:46:42 +01:00
photonstorm
3f4a4e19ec New 2.4 build. 2015-05-06 17:17:04 +01:00
photonstorm
55fa2893f9 Test build of 2.4. 2015-05-06 08:00:42 +01:00
photonstorm
7674060afc Removed PIXI.EventListener and VideoTexture as it's no longer required. 2015-05-06 01:59:49 +01:00
photonstorm
90a7a3e15c Create video + added Video to config. 2015-05-04 03:00:45 +01:00
photonstorm
a2eaccabed Added EventTarget and VideoTexture back into Pixi. 2015-04-17 19:55:08 +01:00
photonstorm
b196e4f17e Enabled PIXI.VideoTexture support. 2015-04-17 17:36:20 +01:00
photonstorm
8f06991527 Added support for the [Creature Automated Animation Tool](http://www.kestrelmoon.com/creature/). You can now create a Phaser.Creature object which uses json data and a texture atlas for the animations. Creature is a powerful animation tool, similar to Spriter or Spine. It is currently limited to WebGL games only, but the new libs should prove a solid starting point for anyone wanting to incorporate Creature animations into their games. 2015-04-13 23:16:29 +01:00
photonstorm
8233b0a079 Phaser 2.3.0. 2015-03-26 02:37:31 +00:00
photonstorm
eb235197e9 Phaser 2.3 Release Candidate 3. 2015-03-25 16:17:53 +00:00
photonstorm
17b2eafbf3 Split GraphicsData to its own file. 2015-03-25 11:04:48 +00:00
photonstorm
d80ec1ae6d Phaser 2.3 Release Candidate 2. 2015-03-24 21:35:23 +00:00
photonstorm
c4b83a1394 Phaser 2.3 Release Candidate 1. 2015-03-24 16:05:52 +00:00
photonstorm
eb8e99021b Updated Grunt script with 'build' task back + new dist builds. 2015-02-25 02:59:00 +00:00
photonstorm
1dee5f260b Updated config handler to go with new Debug page. 2015-02-24 21:28:44 +00:00
photonstorm
81a1a831b5 New custom folder. 2015-02-20 00:58:39 +00:00
photonstorm
c56d2c63ca Custom build scripts are go! 2015-02-19 15:27:44 +00:00
photonstorm
f34088458d More grunt work. Nearly there. 2015-02-19 06:03:42 +00:00
photonstorm
9c46027340 Working through the new build scripts. 2015-02-19 05:01:50 +00:00
photonstorm
f9eaa4001f New manifests. 2015-02-17 18:16:06 +00:00
photonstorm
5f820bdceb Removed FilterBlock (legacy, un-used).
Removed un-used Pixi geom classes.
2015-02-17 16:40:18 +00:00
photonstorm
c733bd3fba Build file updates. 2015-02-17 06:00:05 +00:00
photonstorm
9c71afb929 New 2.3 build files. 2015-02-11 15:20:59 +00:00
photonstorm
6c7c0cb1b6 Phaser 2.2.2 Release files. 2015-01-06 06:58:36 +00:00
photonstorm
0cd0a5bd9b Phaser 2.2.3 Build Files for testing. 2014-12-11 09:26:14 +00:00
photonstorm
a3533b9b75 Phaser 2.2.1. 2014-12-04 11:31:41 +00:00
photonstorm
1d6fd31bd7 Phaser 2.2.0. 2014-12-03 09:34:51 +00:00
photonstorm
a51e22a497 Phaser 2.2 RC13 Build Files. 2014-12-02 09:04:58 +00:00
photonstorm
af4e3b1cb5 Added optional 'no physics' flags. 2014-11-29 19:40:50 +00:00
photonstorm
8ffd686fe1 Phaser 2.2.0-RC12 Release 2014-11-27 21:33:21 +00:00
photonstorm
aa86d2fbf3 Phaser 2.2.0 RC11 Build files. 2014-11-25 00:48:53 +00:00
photonstorm
ab114cc4a1 The start of TweenData. 2014-11-20 05:26:49 +00:00
photonstorm
60aa21db64 Updated config file. 2014-11-18 09:45:52 +00:00
photonstorm
40c490ce23 Phaser 2.2 Release Candidate 8 (newsletter build) 2014-11-17 14:14:50 +00:00
photonstorm
a8574b42ef Phaser 2.2 Release Candidate 8 2014-11-17 13:08:53 +00:00
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