Commit graph

17751 commits

Author SHA1 Message Date
samme
ebb27e8ae4 Fix PathFollower end point when given to 2021-10-30 11:13:50 -07:00
Richard Davey
fab217ed9c Update CHANGELOG.md 2021-10-29 18:49:52 +01:00
Richard Davey
f7d81c4bd1 The default Tween._pausedState has changed from INIT to PENDING_ADD. This fixes a bug where if you called Tween.play immediately after creating it, it would force the tween to freeze. Fix #5454 2021-10-29 18:49:49 +01:00
Richard Davey
a568277e7f Update CHANGELOG.md 2021-10-29 18:26:16 +01:00
Richard Davey
5e2c00e69f Calling Tween.reset when a tween was in a state of PENDING_REMOVE would cause it to fail to restart. It now restarts fully. Fix #4793 2021-10-29 18:26:13 +01:00
Richard Davey
5a1be5d07d TweenManager.reset is a new method that will take a tween, remove it from all internal arrays, then seek it back to its start and set it as being active. 2021-10-29 18:25:14 +01:00
Richard Davey
66939d0621 Clarify scene data in docs. Fix #5001 2021-10-29 17:53:57 +01:00
Richard Davey
e731e9ff48 Update CHANGELOG.md 2021-10-29 15:47:45 +01:00
Richard Davey
8c6f5ec109 The ScriptFile Loader File Type has a new optional parameter: type. This is a string that controls the type attribute of the <script> tag that is generated by the Loader. By default it is 'script', but you can change it to 'module' or any other valid type. 2021-10-29 15:47:41 +01:00
Richard Davey
4d13f3f085 Update to webpack 5.61.0 2021-10-29 15:36:53 +01:00
Richard Davey
154d340f7f Update CHANGELOG.md 2021-10-28 15:01:51 +01:00
Richard Davey
3c429088e4 Use the new isRay parameter 2021-10-28 15:01:51 +01:00
Richard Davey
7b976d6d8e The Geom.Intersects.GetLineToPolygon method has a new optional parameter isRay. If true it will treat the line parameter as a ray, if false, as a line segment (the default). 2021-10-28 15:01:51 +01:00
Richard Davey
d587b8f5a7 The Geom.Intersects.GetLineToPoints method has a new optional parameter isRay. If true it will treat the line parameter as a ray, if false, as a line segment (the default). 2021-10-28 15:01:51 +01:00
Richard Davey
50b02e9cdf The Geom.Intersects.GetLineToLine method has a new optional parameter isRay. If true it will treat the first line parameter as a ray, if false, as a line segment (the default). 2021-10-28 15:01:51 +01:00
Richard Davey
8183d2bfd3 Update CHANGELOG.md 2021-10-28 15:01:51 +01:00
Richard Davey
20d4391c29 Calling ParticleEmitter.setScale would set the scaleY property to null, causing calls to setScaleY to throw a runtime error. scaleY is now a required property across both the Particle and Emitter classes and all of the conditional checks for it have been removed 2021-10-28 15:01:51 +01:00
Richard Davey
8c11324c08 Update package-lock.json 2021-10-28 01:19:57 +01:00
Richard Davey
c94719e0b8 Added alt swap frame 2021-10-28 01:19:52 +01:00
Richard Davey
be06610957 Preparing for beta 4 2021-10-27 18:09:56 +01:00
Richard Davey
21bbab80e4 3.60.0 Beta 3 dist files 2021-10-27 17:23:03 +01:00
Richard Davey
dd0033570a TSGen build 2021-10-27 17:22:16 +01:00
Richard Davey
209e292214 3.60.0 Beta 3 Defs 2021-10-27 17:22:06 +01:00
Richard Davey
03345ea60c Update WebGLPipeline.js 2021-10-27 17:21:59 +01:00
Richard Davey
9980c35c3e Update SpriteFXPipeline.js 2021-10-27 17:21:55 +01:00
Richard Davey
6aa75d8e5d Now works with multi-atlases and normal maps 2021-10-27 17:15:55 +01:00
Richard Davey
aeb34880ed Update CHANGELOG.md 2021-10-27 17:15:42 +01:00
Richard Davey
dbeefcc405 Update CompressedTextureFileConfig.js 2021-10-27 17:06:38 +01:00
Richard Davey
b3f34a0471 Update Text.js 2021-10-27 15:46:20 +01:00
Richard Davey
8a941dce98 Added optional shape config 2021-10-27 13:19:40 +01:00
Richard Davey
f6412c6ee6 Update CHANGELOG.md 2021-10-26 18:29:56 +01:00
Richard Davey
e92d6a21ec Update CHANGELOG.md 2021-10-26 18:24:10 +01:00
Richard Davey
c391ad6c87 Check if still input enabled 2021-10-26 18:24:06 +01:00
Richard Davey
0fcd785ceb Calling TimerEvent.reset in the Timer callback would cause the timer to be added to the Clock's pending removal and insertion lists together, throwing an error. It will now not add to pending removal if the timer was reset. Fix #5887 2021-10-26 18:23:46 +01:00
Richard Davey
cad69eda70 Update package-lock.json 2021-10-26 14:31:22 +01:00
Richard Davey
b3e5d26390 Update CHANGELOG.md 2021-10-26 14:31:18 +01:00
Richard Davey
50669c7bdf Updated jsdocs. Fix #5880 2021-10-26 14:31:15 +01:00
Richard Davey
29ada646e0 Updated docs 2021-10-26 00:04:37 +01:00
Richard Davey
4aaebb4118 Update package-lock.json 2021-10-26 00:00:44 +01:00
Richard Davey
94bd7e6d69 Update CHANGELOG.md 2021-10-26 00:00:39 +01:00
Richard Davey
17c76c831c The Multi Tint fragment shader now uses the new getSampler function approach from Phaser 4 2021-10-26 00:00:35 +01:00
Richard Davey
4d18ad6ff8 Removed GenerateSrc, removed need for forloop declaration 2021-10-26 00:00:20 +01:00
Richard Davey
27833cafc7 Fixed else block 2021-10-25 21:15:53 +01:00
Richard Davey
fa19bb2d88 Update CHANGELOG.md 2021-10-25 18:48:40 +01:00
Richard Davey
39a06f241b The SceneManager.bootScene method will now always call LoaderPlugin.start, even if there are no files in the queue. This means that the Loader will always dispatch its START and COMPLETE events, even if the queue is empty because the files are already cached. You can now rely on the START and COMPLETE events to be fired, regardless, using them safely in your preload scene. Fix #5877 2021-10-25 18:48:38 +01:00
Richard Davey
521ab71226 Update CHANGELOG.md 2021-10-25 18:25:28 +01:00
Richard Davey
43ed170cd7 ScaleManager.getParentBounds will now also check to see if the canvas bounds have changed x or y position, and if so return true, causing the Scale Manager to refresh all of its internal cached values. This fixes an issue where the canvas may have changed position on the page, but not its width or height, so a refresh wasn't triggered. Fix #5884 2021-10-25 18:25:24 +01:00
Richard Davey
d785eb1ab5 Update CHANGELOG.md 2021-10-25 18:05:45 +01:00
Richard Davey
64e343045e
Merge pull request #5869 from samme/feature/error-for-file-process-fails
Print a console error when file processing fails
2021-10-25 18:02:25 +01:00
Richard Davey
f6147757d5
Merge pull request #5871 from samme/docs/ObjectHelper
Docs: fix types in Phaser.Tilemaps.ObjectHelper#setFromJSON
2021-10-25 18:01:18 +01:00