Commit graph

103 commits

Author SHA1 Message Date
photonstorm
fa469b85e1 Added GameObjectFactory.video url parameter. 2015-06-12 19:20:50 +01:00
photonstorm
7d308a2169 Added loadEvent parameter to Loader.video. 2015-06-12 19:19:43 +01:00
photonstorm
9212c01dae Returns a random point from anywhere within this circle. 2015-06-12 19:15:56 +01:00
photonstorm
af42f5d4c9 Cache.getJSON has a new parameter: clone. If set it will return a clone of the object stored in the Cache rather than a reference to it. 2015-06-12 12:16:58 +01:00
photonstorm
681d8679e7 Rectangle.resize allows you to resize a Rectangle to the new given dimensions without altering its position. 2015-06-11 06:01:29 +01:00
photonstorm
5458097006 Renamed createVideoStream to startMediaStream.
Refactored Video constructor significantly - you can no longer create a webcam stream from the constructor, as it doesn't give you time to respond to onAccess and onError signals in Firefox. Instead call startMediaStream directly having set-up your signal listeners first.

startMediaStream now has a chance to dispatch the onError signal if the webcam has been blocked entirely by the browser (auto-block or remembered block). autoPlay attribute removed to stop Firefox throwing a "Invalid URI. Load of media resource failed" error.

Tidied up Video.destroy to properly remove video element from the DOM.
2015-06-10 00:59:24 +01:00
Clark Stevenson
a8e2483bcf Minor Update. 2015-06-02 23:28:28 +01:00
photonstorm
76e2b00c82 Fixed pad jsdoc and ts defs (#1823) 2015-06-02 19:53:30 +01:00
Richard Davey
d0386ae493 Merge pull request #1827 from jamesgroat/dev
Fix cache.getKeys() definition.
2015-05-30 20:01:16 +01:00
jamesgroat
0e493a7102 Fix cache.getKeys() definition. 2015-05-29 19:20:10 -07:00
Clark Stevenson
aff5d1d2c5 Handful of updates to the definition files.
#1812 is fixed. (Note the comments are generated and not updated)
#1803 was fixed previously at some point it seems and required no work
2015-05-25 17:09:22 +01:00
Clark Stevenson
c5396eb39e 2.4.0 Definition Updates. 2015-05-09 02:58:55 +01:00
Clark Stevenson
548e022bc8 Updated typescript package for 2.4.0 2015-04-24 17:16:31 +01:00
Clark Stevenson
d6b597286b Minor phaser.d.ts the Timer callback methods have optional callbackContexts 2015-04-24 16:02:19 +01:00
Clark Stevenson
b175389c72 Merge remote-tracking branch 'clark/patch-3' into dev 2015-04-24 15:57:35 +01:00
Clark Stevenson
c4d4dc4bde Removed State.math
See #1759
2015-04-23 14:52:59 +01:00
Clark Stevenson
aa4ebab29d Update PIXI.d.ts generateTexture
Should fix #1719 ?
2015-04-20 16:27:35 +01:00
Igor Ovsiannikov
207cea6e14 fix(typescript): fix Matrix.fromArray definition
Added explicity `void` return type for Matrix.fromArray.
Reason: it has similar function type in pixi.d.ts, and it caused
troubles when using typescript compiler with `--noImplicitAny` flag.
2015-04-13 23:11:43 +03:00
Clark Stevenson
a0a8f34c7b Update phaser.d.ts
Fixes #1729
2015-04-10 12:53:20 +01:00
Ian Suda
0d4bce2101 Fix some errors in the definitions files for Phaser.Group 2015-04-01 15:35:08 -07:00
photonstorm
f23ab1f3a9 TypeScript defs with comments update. 2015-03-26 02:59:11 +00:00
Clark Stevenson
e5dc470a59 Updated TypeScript Readme to recommend TypeScript 1.4, and removed webgl.d.ts for that reason. 2015-03-24 21:38:36 +00:00
Clark Stevenson
421ed4a715 Phaser Minor Changes for 2.3.0 RC1 Review 2015-03-24 21:38:30 +00:00
Clark Stevenson
cb8a7c467e Pixi Minor change for 2.2.8 2015-03-24 21:38:24 +00:00
Chad Engler
ce254e540e minor typescript def file update 2015-03-24 07:06:14 -07:00
photonstorm
c84f488e31 Fixed typescript def for ResizeCallback #1659 #1680 2015-03-23 08:13:58 +00:00
photonstorm
0868ff696f Defs update re: #1657 2015-03-18 19:17:42 +00:00
Chad Engler
c458b6e7af split p2 definitions into its own file 2015-03-18 11:44:11 -07:00
Clark Stevenson
c350d21b0b Minor Updates 2015-03-03 21:15:11 +00:00
Clark Stevenson
7994427583 Weekly Review 2015-02-24 01:22:13 +00:00
photonstorm
4750cc9527 And actually commit it too. 2015-02-23 15:07:22 +00:00
photonstorm
f2bddfdb1a d.ts updated with new core properties. 2015-02-17 06:01:42 +00:00
photonstorm
8c23bca62d Sprite.left, Sprite.right, Sprite.top, Sprite.bottom are new properties that contain the totals of the Sprite position and dimensions, adjusted for the anchor.
Sprite.offsetX and Sprite.offsetY contain the offsets from the Sprite.x/y coordinates to the top-left of the Sprite, taking anchor into consideration.
2015-02-16 15:47:55 +00:00
Richard Davey
a672e4adca Merge pull request #1614 from clark-stevenson/dev
Updated to 11 Feb 22:30. Make greater use of Union Types.
2015-02-12 09:40:51 +00:00
Richard Davey
b7eeb977d3 Merge pull request #1617 from Bilge/patch-4
lineColor property is actually numeric.
2015-02-12 09:40:28 +00:00
Bilge
58e7eed05a LineColor property is actually numeric. 2015-02-12 00:49:16 +00:00
Clark Stevenson
2e9728e99f Updated to 11 Feb 22:30. Make greater use of Union Types. 2015-02-11 22:24:47 +00:00
Richard Davey
4d8f9e8723 Merge pull request #1600 from vulvulune/dev
Refactoring of the script to generate comments.d.ts
2015-02-05 22:57:09 +00:00
vulvulune
b8665f2979 Refactoring of the script to generate comments.d.ts
Refactoring of the script to generate comments.d.ts files.
Using typescript package instead of typescript-services (not maintened
anymore)

Update of the phaser.comments.d.ts with the last dev version.
2015-02-05 21:30:28 +01:00
Richard Davey
2aeafada98 Merge pull request #1558 from vulvulune/ts
Update typescript definitions
2015-02-03 20:50:46 +00:00
Richard Davey
9a4af85156 Merge pull request #1544 from belohlavek/master
Fixed some properties and parameterers in phaser.d.ts
2015-02-03 20:49:11 +00:00
Richard Davey
6d05752ce5 Merge pull request #1569 from Bilge/patch-2
Correct PluginManager.add first parameter.
2015-02-03 20:46:11 +00:00
Richard Davey
c141e8ff01 Merge pull request #1579 from Phaiax/phaserdts-bitmapdata-update
phaser.d.ts: BitmapData.update
2015-02-03 20:44:26 +00:00
Richard Davey
8f3f759c18 Merge pull request #1570 from Bilge/patch-3
Compact overloaded constructor using union syntax.
2015-02-03 20:40:59 +00:00
Richard Davey
ad9b8ae8e1 Merge pull request #1568 from Bilge/patch-1
Added missing plugins member in Phaser.Game class.
2015-02-03 20:31:26 +00:00
Phaiax
b1e3edcbcc phaser.d.ts: BitmapData.update 2015-01-28 18:34:27 +01:00
vulvulune
c4f78340b9 Update TypeScript definitions
Remove x, y on the Phaser.Group class (inheriting)
2015-01-27 16:05:58 +01:00
vulvulune
c1822f208a Update TypeScript definitions
Improve Phaser.Physics.Ninja
2015-01-27 15:46:20 +01:00
vulvulune
85dd149085 Update Typescript definitions
Add the plugin Juicy
2015-01-27 15:14:18 +01:00
vulvulune
1d99a94453 Update typescript definitions
Correct Phaser.Stage.checkVisiblity => checkVisibility
2015-01-27 14:09:26 +01:00