Commit graph

3207 commits

Author SHA1 Message Date
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
photonstorm
8973423e98 Sprite.frame and AnimationManager.frame wouldn't return the correct index if a sprite sheet was being used unless it had first been set via the setter. 2015-01-08 01:28:38 +00:00
Richard Davey
52ca720ec0 Merge pull request #1525 from Gynzy/dev
Fixes for typescript definition files
2015-01-07 15:01:01 +00:00
Tim van den Eijnden
9a4779ac6e updated typescript definitions 2015-01-07 15:08:00 +01:00
Tim van den Eijnden
f59eb4f5ed Merge remote-tracking branch 'upstream/dev' into dev 2015-01-07 15:03:59 +01:00
Tim van den Eijnden
566bdbbaae Merge remote-tracking branch 'upstream/master' 2015-01-07 15:00:09 +01:00
photonstorm
65f8820514 SoundManager.unlock checks for audio start support and falls back to noteOn if not found. 2015-01-06 13:50:15 +00:00
photonstorm
30ef362e59 jsdoc fixes / typos. 2015-01-06 12:58:19 +00:00
photonstorm
413a59c516 Preparing for 2.3.0 development. 2015-01-06 07:24:28 +00:00
photonstorm
6c7c0cb1b6 Phaser 2.2.2 Release files. 2015-01-06 06:58:36 +00:00
photonstorm
1b34216f6e Docs update. 2015-01-06 06:57:25 +00:00
photonstorm
bf3c59b098 Grunt replace:docs task updated. 2015-01-06 06:57:11 +00:00
photonstorm
1c05e42f6b Docs and Change Log update. 2015-01-06 06:56:59 +00:00
photonstorm
74951a41b4 Update for 2.2.2. 2015-01-06 06:20:46 +00:00
Richard Davey
ec24d7cdeb Merge pull request #1519 from pnstickne/wip-tilemap-1439b
TilemapLayer - fix for regression typo
2015-01-06 05:51:08 +00:00
photonstorm
e015fec9a6 README updates. 2015-01-06 05:47:51 +00:00
photonstorm
6dedd89e36 Final screen shots. 2015-01-06 05:21:30 +00:00
Paul
c361e6f535 TilemapLayer - fix for regression typo 2015-01-05 20:37:00 -08:00
photonstorm
2b7bb330ed Slimmer shots. 2015-01-06 04:30:39 +00:00
photonstorm
8c5b8c7204 Shot alignment. 2015-01-06 04:26:25 +00:00
photonstorm
a57d2e5cb2 Added game screen shots. 2015-01-06 04:19:19 +00:00
photonstorm
8620f20dec New div tests. 2015-01-06 02:26:03 +00:00