Richard Davey
bba8285665
Return type fix
2020-09-03 11:27:12 +01:00
Richard Davey
ff65e69cd1
Changed copyright date to 2020
2020-01-15 12:07:09 +00:00
Richard Davey
f15ef8648e
Lots of type fixes
2020-01-14 17:11:07 +00:00
Richard Davey
8e7c3103d8
Moved the fromJSON code to its own external parser
2020-01-10 16:24:30 +00:00
Richard Davey
282a4df811
Update Factory.js
2020-01-10 14:53:17 +00:00
Richard Davey
0d66c98ff0
Added JSDocs for fromPhysicsEditor
method and tidied things up a bit.
2020-01-10 08:56:49 +00:00
Richard Davey
590256fe92
Added fromPhysicsEditor method
2020-01-09 17:54:38 +00:00
Richard Davey
ae8bfbc013
Added missing JSDocs
2020-01-08 12:15:29 +00:00
Richard Davey
4e8c676895
Full JSDocs coverage!
2020-01-08 11:55:35 +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
b908ebdda2
Added fromSVG method
2020-01-08 01:50:51 +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
29525868ff
Added jsdocs
2019-12-17 13:06:11 +00:00
Richard Davey
819a6b20ae
Walking through Matter compare merge
2019-12-16 17:12:12 +00:00
Richard Davey
63083882d3
MatterGameObject
has a new optional boolean parameter addToWorld
which lets you control if the Body should be added to the world or not. Useful for toggling off should you be merging pre-existing bodies with Game Objects.
2019-12-12 17:15:00 +00:00
Richard Davey
093557a6ea
Removed worldConstraint changes
2019-12-12 13:31:36 +00:00
Richard Davey
4b14e489af
Added start of fromJSON
2019-12-11 15:01:05 +00:00
Richard Davey
65008266d6
Fixed worldConstraint
2019-11-27 17:49:38 +00:00
Richard Davey
bb29aed88a
Matter.Factory.constraint
wouldn't allow a zero length constraint to be created due to a falsey check of the length argument. You can now set length to be any value, including zero, or leave it undefined to have it automatically calculated
2019-06-22 11:19:56 +01:00
Richard Davey
17ad54b35b
You can pass in a Body for a Matter Game Object to use
2019-06-01 10:53:05 +01:00
Richard Davey
09318530a4
Matter.Factory.fromVertices
can now take a vertices path string as its vertexSets
argument, as well as an array of vertices.
2019-05-29 14:50:57 +01:00
Richard Davey
d7af904bfa
Added Matter velocity, angularVelocity and force methods
2019-05-21 14:23:32 +01:00
Richard Davey
c91ed91ce3
License link update
2019-05-10 16:15:04 +01:00
Richard Davey
fda7772d3f
Fixed jsdocs to flag arguments as optional. Fix #4506
2019-05-03 18:23:39 +01:00
Richard Davey
aa341854c7
Happy New Year
2019-01-15 16:20:22 +00:00
Richard Davey
2780babe10
Final Doc Jam merge
2018-12-03 15:16:23 +00:00
Richard Davey
956a0913b8
Added new jsdocs
2018-10-22 12:12:31 +01:00
Richard Davey
4b1c762296
Updated @memberOf to @memberof
2018-10-10 10:49:13 +01:00
Richard Davey
ce7d67297f
Moving from 3.4.1 to 3.5.0 so we can release new camera fx and scene transitions
2018-04-15 12:44:47 +01:00
Richard Davey
18a6cf8ad1
eslint fixes
2018-04-13 18:09:16 +01:00
Richard Davey
be29c69a8c
Disable pointer constraint debug by default
2018-04-13 17:43:44 +01:00
Richard Davey
6b2307594a
Scene plugin flow overhaul
...
Every Plugin has been updated to correctly follow the same flow through the Scene lifecycle. Instead of listening for the Scene 'boot' event, which is only dispatched once (when the Scene is first created), they will now listen for the Scene 'start' event, which occurs every time the Scene is started. All plugins now consistently follow the same Shutdown and Destroy patterns too, meaning they tidy-up after themselves on a shutdown, not just a destroy. Overall, this change means that there should be less issues when returning to previously closed Scenes, as the plugins will restart themselves properly.
2018-04-13 17:12:17 +01:00
Richard Davey
d5fd3e20d9
Renamed namespace
2018-03-29 14:24:51 +01:00
Richard Davey
f1e646c9ee
jsdoc fixes
2018-03-28 15:39:57 +01:00
Richard Davey
15c4334dc7
jsdoc fixes
2018-03-28 14:11:46 +01:00
Richard Davey
db613c793a
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-03-21 03:17:00 +00:00
Richard Davey
2f86100f87
MatterGameObject is a new function, available via the Matter Factory in this.matter.add.gameObject
, that will inject a Matter JS Body into any Game Object, such as a Text object.
2018-03-21 03:16:36 +00:00
orblazer
dca7996179
Fix multiple types on Physics, Texture and Input
2018-03-20 16:10:19 +01:00
Richard Davey
19a08286c0
More types added
2018-03-19 15:01:14 +00:00
orblazer
ae15eca7bd
Update JSDoc on "Matter.JS" physics
2018-03-19 01:10:32 +01:00
Richard Davey
3d4be64331
Testing MatterGameObject
2018-03-17 18:07:05 +00:00
Richard Davey
d1f5f8a82b
Added jsdocs
2018-02-12 16:01:21 +00:00
Richard Davey
8de078d333
Added jsdocs
2018-02-12 13:48:48 +00:00
Michael Hadley
ccdad43920
Matter world and factory methods for creating a tile body
2018-01-21 12:53:48 -06:00
Richard Davey
d8f1ba03e9
Moved repository location
2018-01-09 21:43:56 +00:00