Commit graph

13184 commits

Author SHA1 Message Date
Richard Davey
a737cf0de5 Corrected manager type. 2019-07-13 10:50:06 +01:00
Richard Davey
d432a64576 CanvasTexture has been added to the Textures namespace so it can be created without needing to import it. The correct way to create a CanvasTexture is via the Texture Manager, but you can now do it directly if required. Fix #4651 2019-07-13 10:49:05 +01:00
Richard Davey
1fd4764e0e Update Path.js 2019-07-11 15:17:43 +01:00
Richard Davey
c20ff295eb Updated jsdocs 2019-07-11 15:14:40 +01:00
Richard Davey
03640c2bf9 Removed outdated yarn lockfile and updated travis 2019-07-11 14:50:45 +01:00
Richard Davey
dcf8b96095 Merge branch 'master' of https://github.com/photonstorm/phaser 2019-07-11 14:00:49 +01:00
Richard Davey
c566ff26ff Update CHANGELOG.md 2019-07-11 14:00:45 +01:00
Richard Davey
9dcff3b0fb
Merge pull request #4646 from rexrainbow/master
Remove event hook of children when destroyChildren is false
2019-07-11 11:48:14 +01:00
Hua
7134a1ef7b Remove event hook of children when destroyChildren is false 2019-07-10 15:59:25 +08:00
Richard Davey
4f87c7d441 Updated docs and frame source checks 2019-07-08 15:24:12 +01:00
Richard Davey
b612d03433 Update CHANGELOG.md 2019-07-08 14:59:21 +01:00
Richard Davey
131bf336ee Update Pointers every frame, if not already updated. 2019-07-08 14:59:19 +01:00
Richard Davey
84522136d0 We can now use the locked property and don't need to add to the movement values every frame. Fix #4611 2019-07-08 14:59:06 +01:00
Richard Davey
5f35a41d2f Update CHANGELOG.md 2019-07-08 13:29:52 +01:00
Richard Davey
af37728e31 Added onPointerLockChange handler. 2019-07-08 13:29:50 +01:00
Richard Davey
254f3843e5 Added locked property. 2019-07-08 13:29:39 +01:00
Richard Davey
c7e2fbb31c Calling input.mouse.requestPointerLock() will no longer throw an error about being unable to push to the Input Manager events queue. #4611 2019-07-08 13:27:46 +01:00
Richard Davey
8cf8caff0b Update CHANGELOG.md 2019-07-08 13:03:41 +01:00
Richard Davey
f71920646c Shader.uniforms now uses Extend instead of Clone to perform a deep object copy, instead of a shallow one, avoiding multiple instances of the same shader sharing uniforms. Fix #4641 2019-07-08 13:03:39 +01:00
Richard Davey
5f13fe8c7c Updated docs 2019-07-08 13:03:25 +01:00
Richard Davey
b8c0e6b856 Update .travis.yml 2019-07-03 16:55:53 +01:00
Richard Davey
bf45637658 Update CHANGELOG.md 2019-07-03 15:53:49 +01:00
Richard Davey
e012115df4 DynamicTilemapLayer.destroy will now no longer run its destroy sequence again if it has already been run once. Fix #4634 2019-07-03 15:53:47 +01:00
Richard Davey
da49fcc499 Update CHANGELOG.md 2019-07-03 15:47:43 +01:00
Richard Davey
5416deaa54 The UpdateList.remove method wouldn't flag the Game Object for removal properly if it was active. It now checks that the Game Object is in the current update list and hasn't already been inserted into the 'pending removal' list before flagging it. Fix #4544 2019-07-03 15:47:40 +01:00
Richard Davey
deca3c95a3 Calling Animation.setRepeat() wouldn't reset the repeatCounter properly, causing Sprite bound animation instances to fail to change their repeat rate. Fix #4553 2019-07-03 15:33:13 +01:00
Richard Davey
a8a7d45956 Removing a frame from a 2 frame animation would cause an error when a Sprite using that animation next tried to render. Fix #4621 2019-07-03 15:07:53 +01:00
Richard Davey
e011706b91 Use node 10 2019-07-03 14:32:01 +01:00
Richard Davey
5106b2c935 Animations with custom pivots, like those created in Texture Packer with the pivot option enabled, would be mis-aligned if flipped. They now render in the correct position, regardless of scale or flip on either axis. Fix #4155 2019-07-03 14:01:48 +01:00
Richard Davey
e8a4d569bb Update CHANGELOG.md 2019-07-03 12:02:59 +01:00
Richard Davey
83e54cfb16 The Animation component will no longer start an animation on a Sprite if the animation doesn't exist. Previously it would throw an error saying "Unable to read the property getFirstTick of null". 2019-07-03 12:02:56 +01:00
Richard Davey
f18665cfa1 The Animation Manager will now emit a console warning if you try and play an animation on a Sprite that doesn't exist. 2019-07-03 12:02:46 +01:00
Richard Davey
47b1d755a7 Fixed a bug in the WebGL and Canvas Renderers where a Sprite with a flipX or flipY value set would render the offset frames slightly out of place, causing the animation to appear jittery. Also, the sprite would be out of place by its origin. Fix #4636 #3813 2019-07-03 11:11:25 +01:00
Richard Davey
1b275c54ed Update CHANGELOG.md 2019-07-02 12:32:29 +01:00
Richard Davey
0d8a9bb7ae Fixed TextSyle typo. Fix #4630 2019-07-02 12:32:29 +01:00
Richard Davey
5a90e1f4ef
Merge pull request #4600 from ldd/fixDocs
Fix some JSDoc descriptions
2019-07-02 12:20:04 +01:00
Richard Davey
81497c5101
Merge pull request #4623 from samme/docs/scene-methods
New types for the optional scene methods
2019-07-02 12:19:13 +01:00
Richard Davey
0ddc307bfd
Merge pull request #4627 from samme/fix/createFromObjects
Fix unused scene argument in Tilemap#createFromObjects()
2019-07-02 12:18:01 +01:00
Richard Davey
e69a4f64de
Merge pull request #4628 from samme/fix/headless-clearRenderToTexture
Fix error destroying a scene in HEADLESS mode
2019-07-02 12:15:54 +01:00
Richard Davey
5142b8398e Update CHANGELOG.md 2019-07-02 12:13:46 +01:00
Richard Davey
8288eeb899 Updated docs 2019-07-02 12:13:43 +01:00
Richard Davey
41a6592c1e Swapped default state flag. Fix #4632 2019-07-02 12:13:34 +01:00
Richard Davey
d404a5d658 Update StaggerConfig.js 2019-07-01 17:10:38 +01:00
Richard Davey
77e830a557 Starting on docs 2019-07-01 14:56:56 +01:00
Richard Davey
52c0c85cb6 Fixed eased range grid stagger 2019-07-01 12:49:02 +01:00
Richard Davey
2b713b0038 Pre-calc the grid values 2019-07-01 12:19:05 +01:00
Richard Davey
95ad802c27 Getting Grid Range working 2019-06-30 16:59:58 +01:00
samme
0530fb2b56 Abort clearRenderToTexture() for missing renderer 2019-06-29 13:39:42 -07:00
samme
268d206e41 Fix scene arg in createFromObjects() 2019-06-29 12:13:15 -07:00
Richard Davey
2f60afe8f7 Finished all non-grid options, including proper ease, range and direction 2019-06-29 11:26:26 +01:00