Commit graph

13176 commits

Author SHA1 Message Date
Hua
bc40d09114 Set dirty flag only when render state is changed 2019-07-18 14:00:16 +08:00
Richard Davey
3e93f20529 New Spine plugin build 2019-07-17 16:59:58 +01:00
Richard Davey
1e7a368798 Update CHANGELOG.md 2019-07-17 16:59:50 +01:00
Richard Davey
9af50236e6 Update SpineGameObject.js 2019-07-17 16:59:47 +01:00
Richard Davey
f4002471d7 Updated context lost / restored handlers 2019-07-17 16:38:00 +01:00
Richard Davey
7d1f8181a3 createSkeleton now supports multiple objects in a single json export 2019-07-17 16:14:11 +01:00
Richard Davey
00663ed7d7 Update CHANGELOG.md 2019-07-17 15:10:24 +01:00
Richard Davey
96511901c4 Rendering a Spine object when a Camer has renderToTexture enabled on it would cause the object to be vertically flipped. It now renders correctly in both cases. Fix #4647 2019-07-17 15:10:18 +01:00
Richard Davey
d5d9d990d8 New dist build 2019-07-17 14:40:58 +01:00
Richard Davey
e1d10e32cd Update CHANGELOG.md 2019-07-17 14:40:51 +01:00
Richard Davey
6609774217 Now cleans up after itself properly. Fix #4562 2019-07-17 14:39:50 +01:00
Richard Davey
c0d677ee8c Added display origin and size component 2019-07-17 14:39:11 +01:00
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