Richard Davey
3b50fa65d6
WebGLSnapshot
will now flip the pixels in the created Image element if the source was a framebuffer. This means grabbing a snapshot from a Dynamic or Render Texture will now correctly invert the pixels on the y axis for an Image. Grabbing from the game renderer will skip this.
2022-10-31 22:47:14 +00:00
Richard Davey
7d594dd49a
Clarify snapshot docs
2022-10-31 22:46:44 +00:00
Richard Davey
474d5219ac
Update CHANGELOG-v3.60.md
2022-10-31 22:17:42 +00:00
Richard Davey
e878cebd16
Force it to return Color object
2022-10-31 22:17:39 +00:00
Richard Davey
22eae26007
WebRenderer.snapshotFramebuffer
and by extension, the snapshot methods in Dynamic Textures and Render Textures, has been updated to ensure that the width and height never exceed the framebuffer dimensions, or it'll cause a runtime error. The method snapshotArea
has had this limitation removed as a result, allowing you to snapshot areas that are larger than the Canvas. Fix #5707
2022-10-31 22:17:27 +00:00
Richard Davey
49cad2a837
Update CHANGELOG-v3.60.md
2022-10-31 18:08:05 +00:00
Richard Davey
af7ba68a19
When playing a chained animation, the nextAnim
property could get set to undefined
which would stop the next animation in the queue from being set. The check now handles all falsey cases. Fix #5852
2022-10-31 18:08:01 +00:00
Richard Davey
de3e864c2c
Update CHANGELOG-v3.60.md
2022-10-31 18:02:53 +00:00
Richard Davey
8434d45912
Animation.stop
is always called when a new animation is loaded, regardless if the animation was playing or not and the delayCounter
is reset to zero. This stops animations with delays preventing other animations from being started until the delay has expired. Fix #5680
2022-10-31 18:02:50 +00:00
Richard Davey
dfc794c339
Animation.showBeforeDelay
is a new optional boolean property you can set when creating, or playing an animation. If the animation has a delay before playback starts this controls if it should still set the first frame immediately, or after the delay has expired (the default).
2022-10-31 18:01:35 +00:00
Richard Davey
ba6af3a920
Conditionally set DEBUG
2022-10-31 16:17:16 +00:00
Richard Davey
e618e149e8
Update InputPlugin.js
2022-10-28 18:43:40 +01:00
Richard Davey
4f0029c03c
Added captureFrame, captureNextFrame, getFps, startCapture and stopCapture methods
2022-10-28 18:23:24 +01:00
Richard Davey
4a5f6adfe4
Enable for debugging
2022-10-28 18:22:57 +01:00
Richard Davey
6ad852f089
Update CHANGELOG-v3.60.md
2022-10-28 17:59:52 +01:00
Richard Davey
94942d6633
Update InputPlugin.js
2022-10-28 17:57:43 +01:00
Richard Davey
ae378e3820
Added resetPointers
method
2022-10-28 17:56:57 +01:00
Richard Davey
a11adfb040
Include SpectorJS in debug build
2022-10-28 17:54:11 +01:00
Richard Davey
598921b638
If in debug mode, add texture key to Spector meta data
2022-10-28 17:53:55 +01:00
Richard Davey
1657f9e843
If in debug mode, add to window
2022-10-28 17:53:41 +01:00
Richard Davey
b374ce6b1c
Include new WEBGL_DEBUG build flag
2022-10-28 17:53:28 +01:00
Richard Davey
d909af6b62
Added Pointer.reset
2022-10-28 17:50:26 +01:00
Richard Davey
f3e773d102
Much better docs and more concise function code.
2022-10-26 23:02:50 +01:00
Richard Davey
56561b2f6d
Updated docs
2022-10-26 23:02:36 +01:00
Richard Davey
fa0cd537f4
Preparing for Beta 14
2022-10-26 17:09:49 +01:00
Richard Davey
23315044f7
Phaser 3.60 Beta 13
2022-10-26 17:04:57 +01:00
Richard Davey
e868c5b284
Fix #6264
2022-10-26 15:24:41 +01:00
Richard Davey
0fbedd349b
Added getTarget
and setTargetValue
methods
2022-10-26 15:22:35 +01:00
Richard Davey
1336d0b1bd
Update CHANGELOG-v3.60.md
2022-10-26 15:08:55 +01:00
Richard Davey
4c0ad6946d
ScaleManager.listeners
has been renamed to domlisteners
to avoid conflicting with the EventEmitter listeners object. Fix #6260
2022-10-26 15:08:52 +01:00
Richard Davey
ddbb8aac26
Update CHANGELOG-v3.60.md
2022-10-26 15:05:42 +01:00
Richard Davey
58ef1ebc39
Merge pull request #6263 from Trissolo/master
...
When calling the 'Phaser/Geom/Intersects#LineToLine' method without passing in the third parameter, 'out', avoid creating a new Phaser.Geom.Point, as it will be totally inaccessible.
2022-10-26 15:04:35 +01:00
Richard Davey
2759837f8a
Fix #6265
2022-10-26 15:03:07 +01:00
Richard Davey
a363df576d
Update CHANGELOG-v3.60.md
2022-10-26 15:01:18 +01:00
Richard Davey
93a66e2ae2
Don't run a step with a negative delta
...
Fix #6253
2022-10-26 14:59:02 +01:00
Richard Davey
e94c2744e7
eslint update
2022-10-26 14:03:46 +01:00
Trissolo
822e1401cf
Replace the typedef of the last parameter with the more appropriate 'Phaser.Math.Vector2Like'
2022-10-26 08:58:55 +02:00
Trissolo
b9467f6f5e
If the 'out' parameter is not passed in, do not create an useless new Phaser.Geom.Point, because, having no external references, it will be unreachable.
2022-10-25 09:17:56 +02:00
Richard Davey
6d5bf93e24
Replace this.systems
with this.events
2022-10-20 16:57:57 +01:00
Richard Davey
4f7bbc8b61
Update PlaceOnCircle.js
2022-10-19 22:06:12 +01:00
Richard Davey
10ff7a3712
Improved jsdocs
2022-10-19 21:14:31 +01:00
Richard Davey
252bc784d7
Fix Ropes for new pipeline batch
2022-10-19 15:34:07 +01:00
Richard Davey
147479c992
Update TextureSource.js
2022-10-19 15:33:57 +01:00
Richard Davey
27a4804978
Consolidate vars
2022-10-19 15:22:53 +01:00
Richard Davey
43ebfd5b71
Merge pull request #6257 from samme/docs/rendertexture-origin
...
RenderTexture `origin` is now (0.5, 0.5) by default instead of (0, 0)
2022-10-17 18:39:03 +01:00
samme
f35b7c2048
RenderTexture origin
is now (0.5, 0.5) by default instead of (0, 0)
2022-10-17 10:12:44 -07:00
Richard Davey
4fa1599968
Update CHANGELOG-v3.60.md
2022-10-14 16:15:50 +01:00
Richard Davey
1eb692251b
The tempZone
used by GridAlign
has now had setOrigin(0, 0)
applied to it. This leads to more accurate / expected zone placement when aligning grid items.
2022-10-14 16:15:47 +01:00
Richard Davey
2445fce49d
Update CHANGELOG-v3.60.md
2022-10-14 15:39:43 +01:00
Richard Davey
12620abf52
Merge pull request #6252 from quocsinh/master
...
Fix Tween
2022-10-14 15:37:51 +01:00