Commit graph

13256 commits

Author SHA1 Message Date
Richard Davey
9fc7d741f1 Added rootBone support and removed runtime property, no longer needed 2019-07-16 17:35:47 +01:00
Richard Davey
4db503a4be Latest Spine runtimes plus new webpack config 2019-07-16 17:35:15 +01:00
Richard Davey
9cf24df41f Refactored into a single plugin that can handle both renderers - keeps it much cleaner 2019-07-16 17:34:48 +01:00
Richard Davey
1205a930e4 New dist build 2019-07-16 17:34:13 +01:00
Richard Davey
cb5c1c992b Don't lint the spine runtimes 2019-07-16 17:33:55 +01:00
Richard Davey
fd9b088154 Update CHANGELOG.md 2019-07-15 17:03:06 +01:00
Richard Davey
907d0dd4f2 Render Texture snapshot methods now work across WebGL and Canvas 2019-07-15 17:03:04 +01:00
Richard Davey
2df5335991 Added snapshotCanvas method 2019-07-15 17:02:46 +01:00
Richard Davey
41d007fe67 Origin.updateDisplayOrigin no longer applies a Math.floor to the display origins, allowing you to have a 0.x origin for a Game Object that only has a width or height of 1. This fixes issues with things like 1x1 rectangles displaying incorrectly during rendering. 2019-07-15 16:30:08 +01:00
Richard Davey
7d2b34f8ed Warn if invalid texture source 2019-07-15 15:42:25 +01:00
Richard Davey
35849237a9 Update CHANGELOG.md 2019-07-15 15:28:49 +01:00
Richard Davey
58865f2c34 The WebGL Lost and Restored Context callbacks were never removed, which could cause them to hold onto stale references. Fix #3610 2019-07-15 15:28:46 +01:00
Richard Davey
53076e09d1 Update ScaleManager.js 2019-07-15 15:28:31 +01:00
Richard Davey
b5662db113 New context lost / restored events 2019-07-15 15:28:23 +01:00
Richard Davey
ea2365a77d The SmoothedKeyControl minimum zoom a Camera can go to is now 0.001. Previously it was 0.1. This is to make it match the minimum zoom a Base Camera can go to. Fix #4649 2019-07-15 10:56:32 +01:00
Richard Davey
6752dce869 Update CHANGELOG.md 2019-07-14 16:25:05 +01:00
Richard Davey
dfba4ae817 Extract pixel from correct location for a framebuffer 2019-07-14 16:00:35 +01:00
Richard Davey
15d7b9c6ef Fixed jsdoc typos and added single pixel support 2019-07-14 13:56:44 +01:00
Richard Davey
99483f476c Added new properties 2019-07-13 15:23:07 +01:00
Richard Davey
4d61aa8556 Added the new methods snapshot, snapshotArea and snapshotPixel 2019-07-13 15:21:13 +01:00
Richard Davey
285babaf8c Added the new snapshotFramebuffer method 2019-07-13 15:20:57 +01:00
Richard Davey
d4b1a04beb WebGLSnapshot can now grab from a framebuffer 2019-07-13 15:20:42 +01:00
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