Commit graph

15506 commits

Author SHA1 Message Date
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
Richard Davey
74f24a06f3 Use new GetLineToPoints function 2020-08-18 17:05:06 +01:00
Richard Davey
1a1275958f Only test unique angles 2020-08-18 17:04:55 +01:00
Richard Davey
4678fc7186 Geom.Intersects.GetLineToPoints is a new function that checks for the closest point of intersection between a line segment and an array of points, where each pair of points form a line segment. 2020-08-18 17:04:32 +01:00
Richard Davey
0c06bb20e0 Update CHANGELOG.md 2020-08-17 15:05:49 +01:00
Richard Davey
06c92f9af8 Geom.Intersects.GetRaysFromPointToPolygon is a new function that emits rays out from the given point and detects for intersection against all given polygons, returning the points of intersection in the results array. 2020-08-17 15:05:46 +01:00
Richard Davey
ceb96665b8 Bumped version 2020-08-17 15:05:39 +01:00
mk360
748e699d43 update setPadding jsdoc 2020-08-10 08:21:26 +03:00
Bulat Khasanov
8e1b5e757d Allow to pass font in TextStyle 2020-08-09 23:34:31 +03:00
halilcakar
6915fd3420 Fix incorrect event names in ProcessQueue.js#205, 222 2020-08-09 19:55:09 +03:00
Svipal
40a26256c4 oop 2020-08-09 15:55:00 +02:00
Svipal
809d0b7495 merged master 2020-08-09 13:13:09 +02:00
Svipal
241d4193e8 let's try again 2020-08-09 12:33:52 +02:00
Svipal
97bb9b4a8f bad bad idea 2020-08-09 12:33:26 +02:00
Svipal
c77731d127 bad idea 2020-08-09 12:24:56 +02:00
Svipal
b4a1473fea test 2020-08-09 12:13:29 +02:00
Svipal
a72efc8ac8 Update ParseTileLayers.js 2020-08-09 11:50:25 +02:00
Richard Davey
0cca001845 3.50 Beta 1 dist 2020-08-06 17:30:51 +01:00
Richard Davey
7cc616c7b8 Bump version 2020-08-06 17:07:16 +01:00
Richard Davey
75da5b2f22 Reset all textures on rebind, which is what Externs need when finishing 2020-08-06 17:06:26 +01:00
Richard Davey
e77639561b Use charIndex, not i 2020-08-06 17:06:10 +01:00
Richard Davey
6aaf54e8a7 Don't add frame if empty 2020-08-05 14:15:01 +01:00
Richard Davey
cae1de043f Update CHANGELOG.md 2020-08-05 12:48:19 +01:00
Richard Davey
96a64eae4e ParseXMLBitmapFont has a new optional parameter texture. If defined, this Texture is populated with Frame data, one frame per glyph. This happens automatically when loading Bitmap Text data in Phaser. 2020-08-05 12:46:28 +01:00
Richard Davey
d98d305e2f Frame.setUVs is a new method that allows you to directly set the canvas and UV data for a frame. Use this if you need to override the values set automatically during frame creation. 2020-08-05 12:45:07 +01:00
Richard Davey
a2c9c3cef6 Fix char right adjustment 2020-08-05 11:48:25 +01:00
Richard Davey
00e5c5fe0f Update BitmapTextSize.js 2020-08-04 11:25:10 +01:00
Richard Davey
ee01d36918 Update BitmapTextCharacter.js 2020-08-04 11:25:07 +01:00
Richard Davey
1db3ba72f8 Cache shadow values 2020-08-04 11:25:03 +01:00
Richard Davey
50dcc624df Get Character using char top, right and bottom 2020-08-04 11:24:56 +01:00
Richard Davey
1ae0cfc619 Include char top, right and bottom values 2020-08-04 11:24:43 +01:00
Richard Davey
b64c85c25c Update CHANGELOG.md 2020-08-04 10:35:29 +01:00
Richard Davey
380cc422b2 The ScaleManager.updateBounds method is now called every time the browser fires a 'resize' or 'orientationchange' event. This will update the offset of the canvas element Phaser is rendering to, which is responsible for keeping input positions correct. However, if you change the canvas position, or visibility, via any other method (i.e. via an Angular route) you should call the updateBounds method directly, yourself. 2020-08-04 10:35:29 +01:00
Richard Davey
4b003ee7c4
Merge pull request #5250 from samme/docs/setInteractive
Rename all setInteractive() arguments, and docs
2020-08-04 09:49:32 +01:00
samme
981a4b1a0a Rename all setInteractive() arguments, and docs 2020-08-03 13:33:30 -07:00
Richard Davey
2c1249e4e9 Update CHANGELOG.md 2020-08-03 17:54:44 +01:00
Richard Davey
0d04e40e28 Updated jsdocs 2020-08-03 17:54:40 +01:00
Richard Davey
111a4e1ce2 Calling Rectangle.setSize() wouldn't change the underlying geometry of the Shape Game Object, causing any stroke to be incorrectly rendered after a size change. 2020-08-03 17:54:29 +01:00