Commit graph

13421 commits

Author SHA1 Message Date
Richard Davey
d096ef6dcd Update CHANGELOG.md 2019-07-17 14:36:26 +01:00
Richard Davey
80c0f59b09 GameObjectCreator.remove is a new static function that will remove a custom Game Object creator type. 2019-07-17 14:36:10 +01:00
Richard Davey
4887696bfa GameObjectFactory.remove is a new static function that will remove a custom Game Object factory type. 2019-07-17 14:36:02 +01:00
Richard Davey
e710bec68b The WebAudioSoundManager will now remove the document touch handlers even if the Promise fails, preventing it from throwing a rejection handler error. 2019-07-17 14:35:10 +01:00
Richard Davey
75968a1ab0 PluginManager.removeGameObject is a new method that allows you to de-register custom Game Object types from the global Game Object Factory and/or Creator. Useful for when custom plugins are destroyed and need to clean-up after themselves. 2019-07-17 14:34:00 +01:00
Richard Davey
08325f2996 Update CHANGELOG.md 2019-07-16 17:41:11 +01:00
Richard Davey
630382e88d Added Game Object type look ahead and state for custom batching. 2019-07-16 17:41:08 +01:00
Richard Davey
240b849917 New WebGL renderer that uses proper batching, renderer look-ahead and a single mvp and skeleton placement 2019-07-16 17:36:26 +01:00
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