Commit graph

8694 commits

Author SHA1 Message Date
Richard Davey
2859eb6a68 Added new Set Body Config 2020-01-08 12:15:17 +00:00
Richard Davey
4e8c676895 Full JSDocs coverage! 2020-01-08 11:55:35 +00:00
Richard Davey
49556021ef New constraint type defs 2020-01-08 11:55:24 +00:00
Richard Davey
ac92fbe1b0 Lots of JSDoc updates. Also removed velocity and force methods as they don't belong in the Factory. 2020-01-08 11:15:30 +00:00
Richard Davey
86edd99248 inverseMass is a required property! Also removed duplicate jsdoc 2020-01-08 11:15:02 +00:00
Richard Davey
2ac0562fb6 Updated JSDocs 2020-01-08 11:14:40 +00:00
Richard Davey
6a8bce9250 Added essential new type defs 2020-01-08 11:14:26 +00:00
Richard Davey
b908ebdda2 Added fromSVG method 2020-01-08 01:50:51 +00:00
Richard Davey
e861ecf5a0 Emit the current and previous values 2020-01-07 23:57:08 +00:00
Richard Davey
1a69cd9e0f TweenData now stores its previous ease value. 2020-01-07 23:56:39 +00:00
Richard Davey
736fd6dfb9 Added TWEEN_UPDATE current and previous values 2020-01-07 23:56:15 +00:00
Richard Davey
279829b414 Added JSDocs 2020-01-07 17:54:47 +00:00
Richard Davey
868d599832 Added JSDocs 2020-01-07 17:31:41 +00:00
Richard Davey
99df00244b Reduced default anchor size 2020-01-07 17:31:29 +00:00
Richard Davey
2b1ce933af The internal Matter Composite.setModified function will now emit a compositeModified event, which the Matter World listens for, if debug draw is enabled, so it can update the composite children render styles. 2020-01-07 17:20:31 +00:00
Richard Davey
a2c1377131 You can now set gravity: false in your Matter Config and it will reset gravity from the defaults to zero. 2020-01-07 16:38:13 +00:00
Richard Davey
105fb64b4f Removed spaces 2020-01-07 14:39:22 +00:00
Richard Davey
2b66f81d28 Final config structure and values 2020-01-07 14:02:38 +00:00
Richard Davey
8527e10d64 Added renderCollisions and renderSeparations 2020-01-07 14:02:28 +00:00
Richard Davey
c0e61cf2be Added renderBodyVelocity 2020-01-07 12:56:30 +00:00
Richard Davey
1eec78375a Removed old comments 2020-01-07 12:39:38 +00:00
Richard Davey
334f17439e Update MatterDebugConfig.js 2020-01-07 12:39:31 +00:00
Richard Davey
ad1891cd8d Added renderBodyBounds and renderBodyAxes methods 2020-01-07 12:39:27 +00:00
Richard Davey
0a801cbac4 Added World.renderGrid method.
Renamed showBodyPosition to showPositions
2020-01-07 11:56:39 +00:00
Richard Davey
76d2c971f7 Added showSensor debug option 2020-01-07 00:28:37 +00:00
Richard Davey
64c12a9c60 Added showBodyPosition config option 2020-01-06 22:30:38 +00:00
Richard Davey
aa32235f5a Added applyForceFromPosition 2020-01-06 17:56:20 +00:00
Richard Davey
2d3a87a3a6 Updated existing for TS defs. Fix #4941 2020-01-06 13:33:23 +00:00
Richard Davey
5b17e0e61e Added jsdocs 2020-01-05 23:55:45 +00:00
Richard Davey
beefcf09b6 Added jsdocs 2020-01-05 23:54:08 +00:00
Richard Davey
25339383f1 Added jsdocs 2020-01-05 23:48:49 +00:00
Richard Davey
c5675ae171 Added jsdocs 2020-01-05 23:47:25 +00:00
Richard Davey
ffb604c502 Added new setVelocity, setVelocityX, setVelocityY, setAngularVelocity, applyForce and applyForceFromAngle methods. 2020-01-04 12:31:27 +00:00
Richard Davey
ba4c82e140 Added jsdocs 2020-01-04 12:27:04 +00:00
Richard Davey
a7ebd6b1b5
Merge pull request #4938 from javigaralva/fix-spline-doc
Added some documentation for Spline curves.
2020-01-03 23:15:17 +00:00
samme
974ffd93ee Docs for Phaser.Sound.BaseSoundManager#play
Always adds a new sound
2020-01-03 13:44:07 -08:00
samme
b28f45b609 Docs for Phaser.Scenes.ScenePlugin
- Note operations are queued
- https://github.com/photonstorm/phaser/issues/4403#issuecomment-481264025
2020-01-03 13:44:07 -08:00
samme
bee0a96542 Docs for Phaser.Curves.Curve and Phaser.Curves.Path
And whitespace
2020-01-03 13:44:07 -08:00
Javier García Álvarez
6e05e0252f Added some documentation for Spline curves. 2020-01-03 09:37:59 +01:00
Richard Davey
5e027f7031 Added JSDocs 2020-01-02 16:45:28 +00:00
Richard Davey
1e6e350f7f Typo fix 2020-01-02 01:57:26 +00:00
Richard Davey
7fdcfd540c Remove render.opacity as it's not valid for constraints 2020-01-01 20:02:15 +00:00
Richard Davey
58c8efc2e5 Added jsdocs 2020-01-01 17:33:45 +00:00
Richard Davey
4892cc7feb The Graphics Game Object now uses the AlphaSingle component, allowing you to uniformly set the alpha of the element, rather than a quad alpha, which never worked for these objects. 2019-12-28 17:37:13 +00:00
Richard Davey
6ffdacc959 The DOMElement Game Object now uses the AlphaSingle component, allowing you to uniformly set the alpha of the element, rather than a quad alpha, which never worked for these objects. 2019-12-28 17:37:04 +00:00
Richard Davey
e6464f6ad3 Merge branch 'master' of https://github.com/photonstorm/phaser 2019-12-28 17:29:11 +00:00
Richard Davey
5a3d124583 lint fix 2019-12-28 17:28:50 +00:00
Richard Davey
f0e7a9bcf9 The Container Game Object now uses the AlphaSingle component, allowing you to uniformly set the alpha of the container, rather than a quad alpha, which never worked consistently across Container children. Fix #4916 2019-12-28 17:27:31 +00:00
Richard Davey
949d882788 The Shape Game Object now uses the AlphaSingle component, allowing you to uniformly set the alpha of the shape, rather than a quad alpha, which never worked for Shape objects. 2019-12-28 17:27:15 +00:00
Richard Davey
695cb7e4e2 AlphaSingle is a new Game Object Component that allows a Game Object to set its alpha values, but only as a single uniform value, not on a per-quad basis. 2019-12-28 17:27:01 +00:00