Richard Davey
|
a9063604dc
|
Replace @readOnly with @readonly
|
2018-10-09 13:40:00 +01:00 |
|
Richard Davey
|
099489e26d
|
Added missing class desc
|
2018-10-01 14:44:30 +01:00 |
|
Richard Davey
|
e297b3272e
|
Added hundreds of new jsdoc descriptions
|
2018-10-01 11:35:01 +01:00 |
|
samme
|
69ff71e0bd
|
Add description for PhysicsGroupDefaults.setEnable
|
2018-09-29 14:09:05 -07:00 |
|
samme
|
5f4f5e6cfc
|
Merge branch 'master' into feature/arcade-group-config-enable
|
2018-09-29 14:07:09 -07:00 |
|
Richard Davey
|
3c4e6cda80
|
Arcade Physics shutdown will check to see if the world instance still exists and only try removing it if so. This prevents errors when stopping a world and then destroying it at a later date.
|
2018-09-29 11:21:41 +01:00 |
|
Richard Davey
|
c237209bb8
|
Added new jsdocs
|
2018-09-28 12:19:21 +01:00 |
|
Richard Davey
|
37076516e2
|
Merge branch 'master' into docs/arcade-physics-2
|
2018-09-28 11:07:44 +01:00 |
|
Richard Davey
|
5a4d1e53c1
|
Merge branch 'master' of https://github.com/photonstorm/phaser
|
2018-09-28 11:04:27 +01:00 |
|
Richard Davey
|
818a28073f
|
Added jsdocs
|
2018-09-28 11:04:19 +01:00 |
|
Richard Davey
|
534814adb0
|
Merge pull request #4065 from rgk/patch-4
Matter.js Force Component Docs
|
2018-09-28 11:03:34 +01:00 |
|
samme
|
adb2181a8a
|
Add docs for groups and Arcade.Factory
|
2018-09-26 12:25:09 -07:00 |
|
samme
|
536555236f
|
Add PhysicsGroupConfig.enable, Arcade.Body#setEnable()
|
2018-09-26 10:25:45 -07:00 |
|
samme
|
5d38357533
|
Use defaultStrokeWidth in Arcade.Body#drawDebug()
|
2018-09-26 09:50:48 -07:00 |
|
Richard Davey
|
8cc7650f8c
|
Arcade Physics Bodies will now sync the display origin of the parent Game Object to the body properties as part of the updateBounds call.
|
2018-09-26 17:15:22 +01:00 |
|
Richard Davey
|
9c5876ffb0
|
Skip conditional if fromVerts given. Correctly set parts reference.
|
2018-09-26 14:15:38 +01:00 |
|
Richard Davey
|
80f7539a41
|
Matter.verts , available via this.matter.verts from within a Scene, is a quick way of accessing the Matter Vertices functions.
|
2018-09-26 14:13:03 +01:00 |
|
Richard Davey
|
df7245e3c5
|
Added all of the new Matter debug rendering options
|
2018-09-26 14:12:20 +01:00 |
|
Richard Davey
|
eb09c35056
|
The poly-decomp library, as used by Matter.js, has been updated to 0.3.0.
|
2018-09-26 11:08:55 +01:00 |
|
samme
|
6a8e5d2082
|
Correct descriptions for customSeparateX, customSeparateY
|
2018-09-25 13:25:47 -07:00 |
|
Robert Kowalski
|
bf38ce9fd4
|
Revsions based on Comments
Updated, better?
|
2018-09-25 11:31:18 -04:00 |
|
Robert Kowalski
|
0020745544
|
Quick space.
|
2018-09-25 07:15:11 -04:00 |
|
Robert Kowalski
|
185b19787e
|
Matterjs Gravity Component Doc
|
2018-09-25 07:14:32 -04:00 |
|
Robert Kowalski
|
5d0d84fe55
|
Matter.js Force Component Docs
Checking if I did this well before I start jumping into multiple files.
|
2018-09-25 04:46:30 -04:00 |
|
samme
|
817720b42c
|
Correct description for Arcade.Body#maxVelocity
|
2018-09-24 16:58:00 -07:00 |
|
samme
|
31175ae61f
|
Correct overlapCallback argument name
|
2018-09-24 16:52:15 -07:00 |
|
Richard Davey
|
89b9f42f3e
|
Adding jsdocs
|
2018-09-24 23:20:43 +01:00 |
|
samme
|
2a51d6b70f
|
Arcade Physics docs revisions
|
2018-09-24 12:12:56 -07:00 |
|
Richard Davey
|
5fe6dbbe0c
|
Added more jsdocs
|
2018-09-13 08:09:44 +01:00 |
|
jf908
|
4f5b43e0ed
|
Allow matter js bodies to render their debug graphics individually
|
2018-09-04 18:45:54 +01:00 |
|
Richard Davey
|
a6e650f26f
|
Merge pull request #4006 from samme/docs/arcade-image-body
Correct types for ArcadeImage#body, ArcadeSprite#body
|
2018-09-04 12:23:26 +01:00 |
|
Richard Davey
|
7c55e65543
|
Arcade Physics Body deltaX and deltaY methods will now return the previous steps delta values, rather than zero. Fix #3987
|
2018-09-04 12:16:24 +01:00 |
|
Richard Davey
|
3d989e136f
|
Arcade Physics World collideSpriteVsTilemapLayer now syncs the collision results back to the body, allowing you to call collide from within an update loop once again. Fix #3999
|
2018-09-04 12:12:51 +01:00 |
|
samme
|
c0e141513c
|
Correct types for ArcadeImage#body, ArcadeSprite#body
|
2018-09-02 14:45:39 -07:00 |
|
Richard Davey
|
00a31d2d88
|
Updated docs. Close #3997
|
2018-09-01 10:14:22 +01:00 |
|
Richard Davey
|
14d3f6b35c
|
Calling Arcade Physics collide during an update method wouldn't inject the results back into the Body parent, causing the bodies to carry on moving. Using Colliders worked, but manually checking did not. Now, both methods work. Fix #3777
|
2018-08-29 16:35:13 +01:00 |
|
Richard Davey
|
3469ff2cfd
|
Arcade Physics World has gained two new private properties _tempMatrix and _tempMatrix2 . These are used by all bodies in the simulation that need a temporal matrix for calculations, rather than having their own instances.
|
2018-08-29 16:07:07 +01:00 |
|
Richard Davey
|
2c525845be
|
The Arcade Physics Body _tempMatrix property has been removed. It was only used if the Body's Game Object had a parent. The matrix has been moved to the World instance instead, shared by all bodies.
|
2018-08-29 16:06:13 +01:00 |
|
samme
|
fb23367c63
|
Fix Arcade.World#disable
It was passing the wrong argument to disableBody, so failing.
|
2018-08-22 13:23:58 -07:00 |
|
Richard Davey
|
da64e41b2f
|
Fixed Matter require call freaking out webpack
|
2018-08-22 15:54:00 +01:00 |
|
Richard Davey
|
65fb366ecd
|
Matter updated to 0.14.2. Fix #3929
|
2018-08-22 14:01:35 +01:00 |
|
Richard Davey
|
a98b3c3b15
|
In Matter.js if you scaled a Body it would only scale correctly once, due to the way Matter handles scaling internally. We now automatically reset the Matter scale before applying the new value, which allows you to keep the Phaser and Matter object scales in sync. Fix #3785 #3951
|
2018-08-21 15:55:39 +01:00 |
|
Aurélien DUSSAUGE
|
b14d920581
|
Replace DistanceBetween with DistanceSquared in closest() and furthest() functions (ArcadePhysics.js)
|
2018-08-13 21:59:58 +02:00 |
|
Richard Davey
|
4bdb0de312
|
The Arcade Physics Body.speed property is now set whenever you set the velocity via setVelocity or setVelocityX or setVelocityY which stops the body velocity being reset to zero if useDamping is enabled. Fix #3888
|
2018-08-08 17:31:22 +01:00 |
|
Michael Hadley
|
7675615b70
|
Update matter copy with bug fix from liabru/matter-js@4e04043fe0
|
2018-08-05 21:29:49 -05:00 |
|
Richard Davey
|
d50b72dd14
|
Fixed Group creation arguments
|
2018-08-01 18:01:36 +01:00 |
|
Richard Davey
|
3d23013b86
|
Body setSize changes to fix #3863 PR
|
2018-07-31 09:39:22 +01:00 |
|
Richard Davey
|
16234491f2
|
Merge pull request #3863 from tarsupin/patch-2
Empty params reset to current texture size
|
2018-07-31 09:31:05 +01:00 |
|
tarsupin
|
79d64abaa3
|
Add spaces after ifs
|
2018-07-24 20:06:18 -05:00 |
|
tarsupin
|
2e72c9966b
|
Reset body to match current frame
When using setSize, empty height and width will automatically assign to match the current frame of the game object.
|
2018-07-24 20:05:51 -05:00 |
|