Commit graph

3163 commits

Author SHA1 Message Date
vulvulune
1aab540a6f Correct comment Phaser.Physics.P2.BodyDebug
Set correct method name in comments
2015-01-27 15:26:05 +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
vulvulune
2e49f07b77 Correct comment Phaser.Stage
Replace @name => @method on some functions
2015-01-27 14:05:47 +01:00
vulvulune
8dcd61aebb Correct comments Phaser.ArrayUtils
Replace Phaser.Math => Phaser.ArrayUtils in the comments of the class
Phaser.ArrayUtils
2015-01-27 13:59:15 +01:00
vulvulune
8ef32f044c Correct comments
Correct comments:
-Phaser.Camera: checkWorldBounds =>checkBounds
-Phaser.RetroFont: Set correct @name for name and smoothed
-Phaser.DOM: inViewport => inLayoutViewport
2015-01-27 13:46:18 +01:00
vulvulune
33dd8d883e Update typescript definitions
Add a lot of functions and members and fix some errors
2015-01-27 13:14:06 +01:00
Richard Davey
dc5d5c27a0 Merge pull request #1571 from pnstickne/wip-tiles-safari-again
Safari scroll delta final fix
2015-01-25 22:08:03 +00:00
Paul
ad9245caeb TilemapLayer - {missing changes} 2015-01-24 18:37:28 -08:00
Paul
818d5bcdcc Tilemaps - removed N-slice support
- Since N-slicing doesn't work in Safari, which is what the
  double-copy fix is for, it is simply removed.
2015-01-24 18:35:11 -08:00
Paul
4845c2054b TilemapLayer - quibbles
- Removed accidental change
2015-01-24 17:49:20 -08:00
Paul
11c78f11b0 TilemapLayer - Safari fix
- Changed default slice count to 1: this fixes yet another Safari-specific
  issue.
2015-01-24 17:43:08 -08:00
Bilge
ea9fd08718 Compact overloaded constructor using union syntax. 2015-01-25 01:22:01 +00:00
Bilge
07f35b9614 Correct PluginManager.add first parameter. 2015-01-24 23:00:05 +00:00
Bilge
340d5710b6 Correct PluginManager.add first parameter.
`PluginManager.add` accepts both plugin instances and plugin prototypes. The next version of TypeScript will support unions, at which time the type should be updated to `Phaser.Plugin|typeof Phaser.Plugin`. Until then we have to settle for `any` type.
2015-01-24 22:44:35 +00:00
jeppester
b29d2b8b23 Missing semicolons added 2015-01-24 19:48:52 +01:00
jeppester
242e3cc7c3 Indentation errors fixed 2015-01-24 19:43:49 +01:00
jeppester
d7cd76efe7 More cosmetic changes 2015-01-24 18:36:58 +01:00
jeppester
a722293786 Cosmetic pull request preparations 2015-01-24 18:31:02 +01:00
Bilge
6f6395f2c6 Added missing plugins member in Phaser.Game class. 2015-01-24 14:29:56 +00:00
jeppester
067dcc4332 Fix CORS loading BitmapFonts with IE9 2015-01-23 17:17:50 +01:00
vulvulune
7be4b8d7a9 Replace the grunt docs tasks with grunt-jsdoc
Replace builddoc and exportdocjson grunt tasks with grunt-jsdoc.
To avoid an error I added a fake comment to a @todo param in the p2.js
file.
2015-01-22 16:22:51 +01:00
vulvulune
19bfd386ac Complete "tsdocs" tasks to download plugins
Complete the tsdocs task to download automatically the phaser-plugins
and scan their comments to add them in the phaser.comments.d.ts where
the plugins classes are defined.
2015-01-22 13:37:58 +01:00
vulvulune
45f4f9a0d4 Update typescript definitions
-Remove Phaser.DOMSprite
-Remove Phaser.Anim.currentAnim
-Correct RevoluteContraint => RevoluteConStraint
-Transform StateCycle as an interface called IStateCycle
2015-01-22 13:28:31 +01:00
vulvulune
547aa8d124 Improve comments.d.ts file generation
If there was a comment formatted with "//" before a member name in the
d.ts file, the property name was not extracted correctly to get the
comments from jsdoc
2015-01-22 09:58:33 +01:00
Richard Davey
6e139bc845 Merge pull request #1552 from vulvulune/dev
Add grunt task to generate d.ts with comments
2015-01-22 08:42:14 +00:00
vulvulune
0c8b5f447f Improve d.ts comments generation
Add trimright in the comments, because there are a lot of comments with
useless whitespaces.
2015-01-21 12:05:35 +01:00
vulvulune
6c7da59565 Improve d.ts comments generation
Remove empty @returns.
2015-01-21 11:54:16 +01:00
vulvulune
af1345c39e Improve d.ts comments generation
-Improve the script to clean the different kinds of end of line
-Improve the alignement with @return multiline comments
-Add a jsdoc plugin to convert the class name of p2.js file, like this
the comments for the p2 classes are now included in the d.ts files.
2015-01-21 11:42:56 +01:00
vulvulune
a5fde63486 Improve d.ts comments generation
- Remove " - " after @param paramname, and @return because it is
useless.
- Improve alignement of multiline param comments.
2015-01-21 08:50:14 +01:00
vulvulune
af41e9919f Adapt buildtsdoc.js to correct jshint errors (2) 2015-01-20 18:14:53 +01:00
vulvulune
3654945727 Adapt buildtsdoc.js to correct jshint errors 2015-01-20 18:02:04 +01:00
vulvulune
df6b946ceb Add grunt task to generate d.ts with comments
Add "tsdocs" grunt task to generate d.ts files with comments.
2015-01-20 17:18:56 +01:00
photonstorm
6d967b6545 Error in diffX and diffY calculation in Tilemap.paste (thanks @amelia410 #1446) 2015-01-20 10:49:15 +00:00
photonstorm
a67d2df6f0 BitmapData.text will render the given string to the BitmapData, with optional font, color and shadow settings. 2015-01-18 12:24:00 +00:00
photonstorm
3c2725addc Typo. 2015-01-18 12:24:00 +00:00
photonstorm
587c3e5f6a Arcade.Body.friction allows you to have more fine-grained control over the amount of velocity passed between bodies on collision. 2015-01-18 12:24:00 +00:00
Tom Larkworthy
4b32505383 calling adjust mass desyncs the debug graphics from the real positions of bodies 2015-01-17 21:15:10 -08:00
Daniel Belohlavek
1b73315760 Removed parameter 'parent' from PluginManager class in phaser.d.ts
Removed parameter 'parent' from PluginManager class in phaser.d.ts since such parameter is not specified in the Phaser documentation: http://docs.phaser.io/Phaser.PluginManager.html
2015-01-17 15:42:25 -03:00
Daniel Belohlavek
ddcb2b8843 Added missing moveCallback property to phaser.d.ts
Added missing *moveCallback* property as seen on the docs: http://docs.phaser.io/Phaser.Input.html#moveCallback
2015-01-16 16:06:01 -03:00
Richard Davey
6fb816a54c Merge pull request #1527 from clark-stevenson/patch-3
Update pixi.d.ts
2015-01-16 17:54:24 +00:00
Richard Davey
a79f11b262 Merge pull request #1536 from belohlavek/master
Fixed wheelDelta type on Typescript definition file
2015-01-16 17:53:24 +00:00
Richard Davey
647863a5ab Merge pull request #1538 from clark-stevenson/patch-4
Removed any from Game constructor
2015-01-16 17:52:57 +00:00
Clark Stevenson
43537b47e9 Removed any from Game constructor
Fixes #1537
2015-01-12 23:58:47 +00:00
Daniel Belohlavek
114288b9f6 Fixed wheelDelta type on Typescript definition file
Changed type *WheelEventProxy* to *number* for property *wheelDelta* in *phaser.d.ts* as specified in the Phaser Documentation: http://docs.phaser.io/Phaser.Mouse.html#wheelDelta
2015-01-12 14:46:55 -03:00
Clark Stevenson
8ed62d740d Update pixi.d.ts
Thanks to @ivw
2015-01-10 02:51:16 +00:00
photonstorm
48f590c180 Added tools links. 2015-01-10 00:30:13 +00:00
photonstorm
0f42b530eb Physics.Arcade.isPaused allows you to toggle Arcade Physics processing on and off. If true the Body.preUpdate method will be skipped, halting all motion for all bodies. Note that other methods such as collide will still work, so be careful not to call them on paused bodies. 2015-01-10 00:30:02 +00:00
photonstorm
6e0f13112e Added screen shots. 2015-01-08 01:28:38 +00:00
photonstorm
801f387f75 Updated docs. 2015-01-08 01:28:38 +00:00