Commit graph

14038 commits

Author SHA1 Message Date
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
Chnapy
9bb02d57ef improve typings: getPoints functions 2020-01-03 13:21:50 +01:00
Chnapy
265bfc76fb improve typings: EventEmitter 2020-01-03 13:00:42 +01:00
Chnapy
094e322ace Revert "add generics for Scene and its config key"
This reverts commit a1cf6e4456.
2020-01-03 12:37:50 +01:00
Javier García Álvarez
6e05e0252f Added some documentation for Spline curves. 2020-01-03 09:37:59 +01:00
Chnapy
a1cf6e4456 add generics for Scene and its config key 2020-01-02 21:54:45 +01:00
Chnapy
bf09e4740a edit tsgen to handle generic default types 2020-01-02 21:51:38 +01:00
Chnapy
74c5a373e8 upgrade dts-dom 3.2->3.3 2020-01-02 21:07:42 +01:00
Chnapy
a794c16361 improve typings: GenerateFrameNames 2020-01-02 20:23:10 +01:00
Chnapy
3dfec6fbc3 improve typings: BresenhamPoints function 2020-01-02 20:18:14 +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
Adam Beswick
cf4a4e2107 Remove requestedFullscreenChange and replace with checking the document's fullscreen element 2019-12-30 10:34:43 +00:00
Alex
77dc14ee2f Changed tile getTint function to use getTintAppendFloatAlphaAndSwap 2019-12-29 21:46:50 -05:00
Richard Davey
e270d3afd8 Update CHANGELOG.md 2019-12-28 17:37:17 +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
c5c50dcfd0 Update CHANGELOG.md 2019-12-28 17:27:35 +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
e752b5dc92 Add Phaser.Actions.AlignTo() and Phaser.Display.Align.To.QuickSet() 2019-12-23 16:37: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
svipal
c1c4aedd2f
Merge pull request #1 from photonstorm/master
keeping up with phaser
2019-12-18 23:11:02 +01:00
Richard Davey
f61b947368 Update CHANGELOG.md 2019-12-18 14:55:15 +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
f733d1f01e Update CHANGELOG.md 2019-12-18 14:43:23 +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