Commit graph

15493 commits

Author SHA1 Message Date
Richard Davey
1766f66984 Update JSDocs 2020-08-24 14:58:24 +01:00
Richard Davey
16dbcfef22 Update CHANGELOG.md 2020-08-24 14:47:55 +01:00
Richard Davey
f586cd472a global.Phaser = Phaser has been removed, as it's no longer required by the UMD loader, which should make importing in Angular 10 easier. Fix #5212 2020-08-24 14:47:53 +01:00
Richard Davey
5ab9e2e677 Update CHANGELOG.md 2020-08-24 14:27:42 +01:00
Richard Davey
6bc077d731
Merge pull request #5269 from halilcakar/master
Fix for #5019
2020-08-24 14:26:03 +01:00
halilcakar
7593a80880 Merge branch 'master' of https://github.com/photonstorm/phaser 2020-08-22 13:25:32 +03:00
Richard Davey
f61040d98a Update package-lock.json 2020-08-22 10:33:55 +01:00
Richard Davey
2be33489ed Update CHANGELOG.md 2020-08-22 10:33:49 +01:00
Richard Davey
3484ded2b7 You can now use this.renderer from within a Scene, as it's now a Scene-level property and part of the Injection Map. 2020-08-22 10:33:46 +01:00
Richard Davey
a9f7b5b86a Update CHANGELOG.md 2020-08-21 16:42:44 +01:00
Richard Davey
5b08be9a50 3.50.0 Beta 2 2020-08-21 16:42:41 +01:00
Richard Davey
0cd4d0fc54 Update WebGLRenderer.js 2020-08-21 16:23:04 +01:00
Richard Davey
9a1dc640f8 Fix gl access 2020-08-21 16:17:29 +01:00
Richard Davey
0dd07333af Updated to use MultiPipeline 2020-08-21 16:14:59 +01:00
Richard Davey
5f1ecfe073 Update CHANGELOG.md 2020-08-21 16:07:51 +01:00
Richard Davey
5c39254f36 Testing new config approach 2020-08-21 16:04:26 +01:00
Richard Davey
209b39b38c New pipeline names and single texture flag 2020-08-21 16:03:29 +01:00
Richard Davey
468c03dfe5 Much better docs and handling of config values 2020-08-21 16:03:07 +01:00
Richard Davey
4b4af50ca9 Quicker return 2020-08-21 16:02:43 +01:00
Richard Davey
37fdde7911 New typedefs for pipeline configs 2020-08-21 16:02:30 +01:00
Richard Davey
600385ac29 A brand new pipeline for single-texture custom pipelines 2020-08-21 16:01:53 +01:00
Richard Davey
57040554ef Renamed the pipelines to make them less ambiguous and sorted out lots of config properties 2020-08-21 16:01:39 +01:00
Richard Davey
8f5ee5391f Removed redundant consts 2020-08-21 15:59:41 +01:00
Richard Davey
6435772646 Shaders renamed to match new pipeline names 2020-08-21 15:41:12 +01:00
Richard Davey
96072e58a9 Update CHANGELOG.md 2020-08-21 09:45:02 +01:00
Richard Davey
eb4b2d737a Deps update 2020-08-21 09:44:58 +01:00
Richard Davey
14ad202adc Use new Utils function 2020-08-21 09:44:52 +01:00
Richard Davey
8edbbb2e2d Renderer.WebGL.Utils.parseFragmentShaderMaxTextures is a new function that will take fragment shader source and search it for %count% and %forloop% declarations, replacing them with the required GLSL for multi-texture support, returning the modified source. 2020-08-21 09:44:43 +01:00
Rex
29e317db39 Get ascent and descent from context.measureText method
Get ascent and descent from context.measureText method instead of scanning image data.
2020-08-21 10:42:24 +08:00
halilcakar
8aa54e86a0 Remove console.log 2020-08-20 23:29:15 +03:00
halilcakar
b4e1b5af77 Fix for #5019 2020-08-20 15:27:29 +03:00
Richard Davey
f2bd22d581 Update CHANGELOG.md 2020-08-20 10:48:33 +01:00
Richard Davey
84ef02743b The WebGL Renderer will now add the pipelines during the boot method, instead of init. 2020-08-20 10:48:30 +01:00
Richard Davey
e3142f313f WebGLPipeline.hasBooted is a new boolean property that tracks if the pipeline has been booted or not, which is now far more important in 3.5 than in previous versions. This is checked in the WebGLRenderer.addPipeline method, and if not set, the pipeline is booted. Fix #5251 #5255 2020-08-20 10:47:21 +01:00
Richard Davey
50c629dca8 Merge branch 'master' of https://github.com/photonstorm/phaser 2020-08-20 10:22:43 +01:00
Richard Davey
ab55a71634 Update CHANGELOG.md 2020-08-20 10:22:38 +01:00
Richard Davey
8c55fc7ee2 TweenManager.getTweensOf has a new parameter includePending. If set, it will also check the pending tweens for the given targets and return those in the results as well. Fix #5260 2020-08-20 10:22:35 +01:00
Richard Davey
ed33253fb1
Merge pull request #5235 from mk360/text-padding
[types] allow Text#setPadding to receive an object
2020-08-20 10:04:35 +01:00
Richard Davey
c98a43c9d4
Merge pull request #5258 from khasanovbi/font
Allow to pass font in TextStyle
2020-08-20 10:03:02 +01:00
Richard Davey
733de64d46
Merge pull request #5257 from halilcakar/master
Fix incorrect event names in ProcessQueue.js#205, 222
2020-08-20 09:57:08 +01:00
Richard Davey
ab605eed78 Remove false import 2020-08-19 13:19:07 +01:00
Richard Davey
3ffb1e2dba Update CHANGELOG.md 2020-08-19 13:14:39 +01:00
Richard Davey
b1b8a74cf9 RenderTexture.fill would fail to fill the correct area under WebGL if the RenderTexture wasn't the same size as the Canvas. It now fills the given region properly. 2020-08-19 13:14:36 +01:00
Richard Davey
c89b619508 Update CHANGELOG.md 2020-08-18 18:05:48 +01:00
Richard Davey
2db1496511 Geom.Polygon.Simplify is a new function that takes a polygon and simplifies the points by running them through a combination of Douglas-Peucker and Radial Distance algorithms, potentially dramatically reducing the number of points while retaining its shape. 2020-08-18 18:05:45 +01:00
Richard Davey
305ea40baf Update GetRaysFromPointToPolygon.js 2020-08-18 18:05:38 +01:00
Richard Davey
62d72730fa Update CHANGELOG.md 2020-08-18 17:24:49 +01:00
Richard Davey
616dbfceb5 Earcut, used for polygon triangulation, has been updated from 2.1.4 to 2.2.2. 2020-08-18 17:24:45 +01:00
Richard Davey
24e3a0ca42 Update CHANGELOG.md 2020-08-18 17:05:16 +01:00
Richard Davey
995cfb6271 Expose new function 2020-08-18 17:05:12 +01:00