Richard Davey
4c6458b500
Update CHANGELOG.md
2020-07-29 18:12:43 +01:00
Richard Davey
ee92d1dac9
Geom.Intersects.GetLineToPolygon
is a new function that checks for the closest point of intersection between a line segment and an array of polygons.
2020-07-29 18:12:40 +01:00
Richard Davey
771509d6c2
Phaser.Types.Math.Vector4Like
is a new data type representing as Vector 4 like object.
2020-07-29 17:42:12 +01:00
Richard Davey
23c00d148d
Phaser.Types.Math.Vector3Like
is a new data type representing as Vector 3 like object.
2020-07-29 17:41:59 +01:00
Richard Davey
acab9294f3
Update CHANGELOG.md
2020-07-29 17:16:00 +01:00
Richard Davey
517183fd2e
Geom.Intersects.GetLineToLine
is a new function that will return a Vector3 containing the point of intersection between 2 line segments, with the z
property holding the distance value.
2020-07-29 17:15:57 +01:00
Richard Davey
41c76d88b1
Beta tag
2020-07-24 15:34:00 +01:00
Richard Davey
11bb1f20c1
Update CHANGELOG.md
2020-07-23 18:06:20 +01:00
Richard Davey
fb1306e8f2
The MatterAttractors
plugin, which enables attractors between bodies, has been fixed. The original plugin only worked if the body with the attractor was _first_ in the world bodies list. It can now attract any body, no matter where in the world list it is. Fix #5160
2020-07-23 18:06:17 +01:00
samme
7685067310
Docs: Phaser.Physics.Arcade.Group#defaults
...
#4171 , #5153
2020-07-23 09:48:53 -07:00
Richard Davey
0999824015
Update CHANGELOG.md
2020-07-23 17:35:47 +01:00
Richard Davey
86f35ef9cf
Updated docs
2020-07-23 17:35:47 +01:00
Richard Davey
b6b570fb91
Merge pull request #5233 from samme/patch-3
...
Docs: protect ScaleManager#onFullScreenChange
2020-07-23 17:10:14 +01:00
Richard Davey
b51a40c1a1
Update RenderTexture.js
2020-07-23 17:01:37 +01:00
Richard Davey
bb3b67c16f
Update RenderTextureWebGLRenderer.js
2020-07-23 17:01:25 +01:00
Richard Davey
25e1d7daea
Update CHANGELOG.md
2020-07-23 16:24:47 +01:00
Richard Davey
c31a9ad4e5
WebGLRenderer.unbindTextures
is a new method that will activate and then null bind all WebGL textures.
2020-07-23 16:24:44 +01:00
Richard Davey
556b5b05be
Update TextureSource.js
2020-07-23 16:23:14 +01:00
Richard Davey
9607ce89c7
Update RenderTextureWebGLRenderer.js
2020-07-23 16:22:46 +01:00
Richard Davey
9b278554d3
RenderTexture.resize
(which is called from setSize
) wouldn't correctly set the TextureSource.glTexture
property, leading to bindTexture: attempt to use a deleted object
errors under WebGL.
2020-07-23 16:22:38 +01:00
samme
02f6c51ff5
Docs: protect ScaleManager#onFullScreenChange
...
#5229
2020-07-22 11:22:43 -07:00
Richard Davey
27426dd0b6
Testing RenderTextures (currently broken, will fix next week)
2020-07-17 18:08:39 +01:00
Richard Davey
0ff08a2994
Update RopeWebGLRenderer.js
2020-07-17 17:07:34 +01:00
Richard Davey
1eb3464f30
Use multi-texturing
2020-07-17 17:05:05 +01:00
Richard Davey
99aa8bc2a7
Update CHANGELOG.md
2020-07-17 17:04:54 +01:00
Richard Davey
8210700124
Enable the pipelines again
2020-07-17 17:04:49 +01:00
Richard Davey
491ca62373
The TextureTintStripPipeline
now extends TextureTintPipeline
and just changes the topolgy, vastly reducing the filesize.
2020-07-17 17:04:40 +01:00
Richard Davey
8d976d6ed5
WebGLRenderer.textureFlush
is a new property that keeps track of the total texture flushes per frame.
2020-07-17 16:36:18 +01:00
Richard Davey
a310bd08c0
Update CHANGELOG.md
2020-07-17 15:49:07 +01:00
Richard Davey
f3ebada1e0
Tidy up everything after rendering
2020-07-17 15:49:03 +01:00
Richard Davey
9280a73bf9
StaticTilemapLayer
now includes the ModelViewProjection
mixin, so it doesn't need to modify the pipeline during rendering.
2020-07-17 15:48:53 +01:00
Richard Davey
ea8102f1f5
Update CHANGELOG.md
2020-07-17 13:58:41 +01:00
Richard Davey
10c19bd24d
StaticTilemapLayer.upload
will now set the vertex attributes and buffer the data, and handles internal checks more efficiently.
2020-07-17 13:58:38 +01:00
Richard Davey
6e15f6b77d
Refactored to tidy it up and also now works with Light2D pipeline
2020-07-17 13:56:56 +01:00
Richard Davey
8bb49332a9
Always set rotation
2020-07-17 13:55:50 +01:00
Richard Davey
d11a16deaa
Added forceZero
and setAttribPointers
...
`WebGLPipeline.forceZero` is a new property that informs Game Objects if the pipeline requires a zero bound texture unit.
* `WebGLPipeline.setAttribPointers` is a new method that will set the vertex attribute pointers for the pipeline.
2020-07-17 13:55:39 +01:00
Richard Davey
dc04949d3d
Needs fixing tomorrow
2020-07-16 18:10:40 +01:00
Richard Davey
f89d53ca0d
Update DynamicTilemapLayerWebGLRenderer.js
2020-07-16 17:43:14 +01:00
Richard Davey
7712d0459d
Update CHANGELOG.md
2020-07-16 17:43:10 +01:00
Richard Davey
97f601f378
LightsManager.cull
now takes the viewport height from the renderer instead of the game config
2020-07-16 17:42:58 +01:00
Richard Davey
507cbf63b5
Update CHANGELOG.md
2020-07-16 17:00:02 +01:00
Richard Davey
d942e2bd47
Update TextWebGLRenderer.js
2020-07-16 16:59:59 +01:00
Richard Davey
848377b8d8
The TileSprite Game Objects now support rendering with normal maps.
2020-07-16 16:59:53 +01:00
Richard Davey
fea1ade5b7
Update WebGLRenderer.js
2020-07-16 16:59:45 +01:00
Richard Davey
51f0111700
Update CHANGELOG.md
2020-07-16 16:17:20 +01:00
Richard Davey
12fc51e2e2
If normal map set, advance the current active texture
2020-07-16 16:17:16 +01:00
Richard Davey
3dd6d8a1a4
Remove forceZero and added textureUnit
2020-07-16 16:16:57 +01:00
Richard Davey
5e8c28d468
Removed batchTexture as it's no longer needed
2020-07-16 16:16:42 +01:00
Richard Davey
68585f1718
The Text Game Object now supports rendering in Light2d, no matter which font, stroke or style it is using.
2020-07-16 16:16:26 +01:00
Richard Davey
76de5c246a
Update ForwardDiffuseLightPipeline.js
2020-07-16 15:51:12 +01:00