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 |
|
Richard Davey
|
56179c3887
|
Merge pull request #4920 from samme/feature/error-for-missing-audio-source
Throw an error when adding a sound from a missing asset
|
2019-12-28 16:37:52 +00:00 |
|
Richard Davey
|
5130fccbf5
|
Merge pull request #4921 from samme/feature/emitter-remove
Add ParticleEmitter.remove() and ParticleEmitterManager#removeEmitter()
|
2019-12-28 16:35:07 +00:00 |
|
Richard Davey
|
5adf6382ff
|
Merge pull request #4922 from samme/feature/emitter-setTint
Add ParticleEmitter#setTint()
|
2019-12-28 16:33:39 +00:00 |
|
Richard Davey
|
e7852b5384
|
Merge pull request #4923 from samme/patch-2
Correct type for Phaser.Tilemaps.LayerData.data
|
2019-12-28 16:22:59 +00:00 |
|
Richard Davey
|
b01c4b400f
|
Merge pull request #4930 from jcyuan/path-missing-crop
Crop component is missing from `RenderTexture` class
|
2019-12-28 16:22:20 +00:00 |
|
Richard Davey
|
b0c101a1cc
|
Merge pull request #4926 from samme/feature/distances
Add Phaser.Math.Distance methods
|
2019-12-28 16:14:12 +00:00 |
|
J.C
|
936563df11
|
Crop component is missing from RenderTexture class
|
2019-12-27 17:01:14 +08:00 |
|
samme
|
148e907b71
|
Add Math.Distance methods
- BetweenPoints()
- BetweenPointsSquared()
- Chebyshev()
- Snake()
|
2019-12-23 17:20:43 -08:00 |
|
samme
|
f1001578c5
|
Bracket notation for type
Phaser.Tilemaps.LayerData#data
|
2019-12-23 12:57:58 -08:00 |
|
samme
|
15506e0faf
|
Add ParticleEmitter.remove() and ParticleEmitterManager#removeEmitter()
|
2019-12-23 10:36:35 -08:00 |
|
samme
|
56cd59c537
|
Throw error for a bad audio asset key
|
2019-12-23 09:46:45 -08:00 |
|
samme
|
559c89eaf2
|
Add ParticleEmitter#setTint()
|
2019-12-23 09:25:35 -08:00 |
|
Richard Davey
|
64690cf987
|
Body.gravityScale is a new vector property that allows you to scale the effect of world gravity on a specific Body.
|
2019-12-21 08:29:57 +00:00 |
|
Richard Davey
|
66a25e2117
|
Setting lineSpacing in the Text Game Object style config would set the value but not apply it to the Text, leaving you to call updateText yourself. If set, it's now applied on instantiation. Fix #4901
|
2019-12-18 14:55:12 +00:00 |
|
Richard Davey
|
752999c92b
|
The Mesh and Quad Game Objects have had the GetBounds component removed as it cannot operate on a Mesh as they don't have origins. Fix #4902
|
2019-12-18 14:43:23 +00:00 |
|
Richard Davey
|
9379f3ce17
|
Merge pull request #4877 from rexrainbow/curve-improvement
Add arguments step and out in curve.getSpacedPoints() method
|
2019-12-18 14:40:49 +00:00 |
|
Richard Davey
|
a4fb73fe38
|
Merge pull request #4879 from rexrainbow/curve-improvement2
Override default Curve.getUtoTmapping method
|
2019-12-18 14:37:36 +00:00 |
|
Richard Davey
|
55212dc2fb
|
Merge pull request #4892 from BeLi4L/master
TypeScript: Improve `Phaser.Math.RND` types
|
2019-12-18 14:36:52 +00:00 |
|
Richard Davey
|
d995cff36f
|
Merge pull request #4885 from rexrainbow/bug/game.destroy()
Fix bug of game.destroy()
|
2019-12-18 14:33:03 +00:00 |
|
Richard Davey
|
205bbab268
|
Merge pull request #4886 from rexrainbow/text-wrap
Don't add white space at last word of a line
|
2019-12-18 14:31:11 +00:00 |
|
Richard Davey
|
65efb6bcb7
|
Merge pull request #4900 from samme/patch-1
Correct docs for Phaser.Math.GetSpeed()
|
2019-12-18 14:30:31 +00:00 |
|
Richard Davey
|
29b0e96407
|
Merge pull request #4909 from samme/docs/arcade-physics-3
Docs for Arcade Physics
|
2019-12-18 14:29:51 +00:00 |
|
Richard Davey
|
e5ab24ec8c
|
Merge pull request #4912 from javigaralva/add-gameobjectfactory-docs
Added doc for `GameObjectFactory.register` and `GameObjectFactory.remove`
|
2019-12-18 14:29:25 +00:00 |
|
Richard Davey
|
427d88ed79
|
Merge pull request #4913 from javigaralva/fix-doc-static-functions
Fix doc static functions
|
2019-12-18 14:28:51 +00:00 |
|
Javier García Álvarez
|
9d418eae73
|
Fixed jsdoc types to get TS definition intellisense.
|
2019-12-18 12:25:14 +01:00 |
|
Javier García Álvarez
|
e1d288a834
|
Add optional params to ParseFromAtlas doc
|
2019-12-18 12:22:30 +01:00 |
|
Javier García Álvarez
|
dbaf6f1f75
|
Fixed jsdocs @name to @method
|
2019-12-18 11:48:30 +01:00 |
|
Javier García Álvarez
|
718db273c2
|
Added doc for GameObjectFactory.register and GameObjectFactory.remove
|
2019-12-18 11:32:29 +01:00 |
|
Javier García Álvarez
|
7576c824af
|
Fixed semicolon in updateList doc
|
2019-12-18 10:38:44 +01:00 |
|
Richard Davey
|
5cb7d8484f
|
Added Game Object level collision events
|
2019-12-18 02:22:37 +00:00 |
|
Richard Davey
|
a7c644454f
|
Update PhysicsEditorParser.js
|
2019-12-17 18:04:10 +00:00 |
|
Richard Davey
|
e6b43a2f48
|
Improves jsdocs
|
2019-12-17 18:03:23 +00:00 |
|
Richard Davey
|
efcbd1e4e5
|
Added helper methods for setting body collision callbacks
|
2019-12-17 16:42:46 +00:00 |
|
Richard Davey
|
f64d3e59d0
|
Per-body collision callbacks
|
2019-12-17 16:42:30 +00:00 |
|
Richard Davey
|
0d62f60f60
|
Removed un-used properties, functions and docs
|
2019-12-17 16:42:16 +00:00 |
|
Richard Davey
|
21a6458608
|
Added new collision pair type defs
|
2019-12-17 16:41:58 +00:00 |
|
Richard Davey
|
ac124b8e20
|
Better handling of the runner config
|
2019-12-17 13:52:57 +00:00 |
|
Richard Davey
|
1412e1f4f9
|
Added typedef for Matter Runner config
|
2019-12-17 13:52:46 +00:00 |
|
Richard Davey
|
a158b14228
|
Matter.World.has is a new method that will take a Matter Body, or Game Object, and search the world for it. If found, it will return true .
|
2019-12-17 13:15:15 +00:00 |
|
Richard Davey
|
67a6fa81f9
|
Added jsdocs and property
|
2019-12-17 13:08:32 +00:00 |
|
Richard Davey
|
d260643c61
|
Stricter checks against body removal and addition
|
2019-12-17 13:07:16 +00:00 |
|
Richard Davey
|
29525868ff
|
Added jsdocs
|
2019-12-17 13:06:11 +00:00 |
|
Richard Davey
|
43b111dc3e
|
Removed unused code and tidied up the Phaser specific additions
|
2019-12-17 13:06:01 +00:00 |
|
Richard Davey
|
9c43681b79
|
Added jsdocs and off handler
|
2019-12-17 13:05:37 +00:00 |
|
Richard Davey
|
37b2fbd044
|
Removed calcOffset
|
2019-12-17 13:05:16 +00:00 |
|
Richard Davey
|
32b46b8e20
|
TimeStep.smoothStep is a new boolean property that controls if any delta smoothing takes place during the game step. Delta smoothing has been enabled in Phaser since the first version and helps avoid delta spikes and dips, especially after loss of focus. However, you can now easily toggle if this happens via this property and the corresponding FPSConfig property.
|
2019-12-17 13:04:50 +00:00 |
|
Richard Davey
|
1a50665ce1
|
Function not triggering properly. Adding to Body directly.
|
2019-12-17 02:14:54 +00:00 |
|
Richard Davey
|
819a6b20ae
|
Walking through Matter compare merge
|
2019-12-16 17:12:12 +00:00 |
|
Richard Davey
|
f9e5246af0
|
Refactored so ops are done when the engine udates, not when the dom updates
|
2019-12-13 19:41:47 +00:00 |
|
Richard Davey
|
87a8af35c5
|
Added in Matter Runner
|
2019-12-13 19:41:27 +00:00 |
|
Richard Davey
|
604531d70a
|
Disable sync verts for now
|
2019-12-13 19:41:18 +00:00 |
|
Richard Davey
|
e117a679d2
|
Still fix sleeping
|
2019-12-13 01:16:54 +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 |
|
samme
|
fa57f74b8f
|
Docs for Arcade Physics
|
2019-12-12 08:14:53 -08:00 |
|
Richard Davey
|
7ba6e9fe6b
|
Added setCompositeRenderStyle method
|
2019-12-12 13:31:47 +00:00 |
|
Richard Davey
|
093557a6ea
|
Removed worldConstraint changes
|
2019-12-12 13:31:36 +00:00 |
|
Richard Davey
|
03e67e2c50
|
Added docs and Body level syncVerts property
|
2019-12-12 12:41:11 +00:00 |
|
Richard Davey
|
01fa4d2c54
|
Fix handling of centerOfMass
|
2019-12-11 16:06:15 +00:00 |
|
Richard Davey
|
7a2c434ffc
|
Remove deprecated code
|
2019-12-11 16:06:01 +00:00 |
|
Richard Davey
|
4032f87368
|
Fixed handling deeply nested bodies
|
2019-12-11 16:05:52 +00:00 |
|
Richard Davey
|
4b14e489af
|
Added start of fromJSON
|
2019-12-11 15:01:05 +00:00 |
|
Richard Davey
|
69eec0add9
|
Fixed overlap method
|
2019-12-11 15:00:51 +00:00 |
|
Richard Davey
|
c267662259
|
Update World.js
|
2019-12-11 15:00:41 +00:00 |
|
Richard Davey
|
30750d1208
|
Update PhysicsEditorParser.js
|
2019-12-11 13:07:04 +00:00 |
|
Richard Davey
|
826431c7fa
|
Tidying up
|
2019-12-11 13:06:07 +00:00 |
|
Richard Davey
|
19fc914a5b
|
PhysicsEditorParser.parseVertices now uses Bodies.flagCoincidentParts to avoid duplicating code.
|
2019-12-11 13:05:58 +00:00 |
|
Richard Davey
|
f5908fee8f
|
Matter.Bodies.flagCoincidentParts is a new function that will flags all internal edges (coincident parts) on an array of body parts. This was previously part of the fromVertices function, but has been made external for outside use.
|
2019-12-11 13:05:49 +00:00 |
|
Richard Davey
|
bf00d63cc6
|
Body.syncVerts is a new function that will re-sync the vert positions with the body position. Called if Engine.syncVerts is set (which is now the default)
|
2019-12-10 17:53:44 +00:00 |
|
Richard Davey
|
a910a27349
|
Engine.syncVerts is a new Engine config property that allows you to run a vert re-sync at the end of the Engine step. This can help massively if you find you've got verts drifting out of alignment with the body position when using pointer contraints, or high velocity environments. Uses the new Engine._bodiesSync function.
|
2019-12-10 17:52:37 +00:00 |
|