Commit graph

3294 commits

Author SHA1 Message Date
Micah Johnston
34d443153f fix argument name in comment on Phaser.Physics.Arcade#getObjectsAtLocation. 2015-01-30 05:48:34 -07:00
Micah Johnston
401d2fe847 Fix doc comment on Phaser.Physics.Arcade#getObjectsAtLocation. 2015-01-29 18:13:03 -07:00
Bilge
92b89fb549 Added plugins property to Phaser.Game.
Property was previously being declared late without initialization at allocation time.
2015-01-29 22:51:38 +00:00
Josh
755653439a fixed index out of bound error 2015-01-28 23:39:23 -05:00
Andrean Franc
b52b765c53 fix #1551 - detect mouseup on tilesprites 2015-01-28 19:31:36 +01:00
Phaiax
b1e3edcbcc phaser.d.ts: BitmapData.update 2015-01-28 18:34:27 +01:00
photonstorm
d6ea8fb956 jsdoc updates (spelling mistakes, code formatting, etc) 2015-01-28 17:18:33 +00:00
photonstorm
d37ffe6a8f Sound.fadeTween is now used for Sound.fadeIn and Sound.fadeOut audio tweens.
Sound.stop and Sound.destroy now halt a fade tween if in effect.
2015-01-28 17:18:32 +00:00
vulvulune
d65225e9eb Merge pull request #1 from photonstorm/dev
Update from photonstorm
2015-01-27 16:07:41 +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
Marchys
f79d10f378 Correct Documentation Emitter.js
setScale and setAlpha parameter are not numbers (now on dev branch sorry :( )
2015-01-27 15:33:00 +01:00
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