Commit graph

13650 commits

Author SHA1 Message Date
Richard Davey
cf0b872636 CreateDOMContainer will now use div.style.cssText to set the inline styles of the container, so it now works on IE11. Fix #4674 2019-07-24 15:16:08 +01:00
Richard Davey
6bc8e7c7c6 Trying to get batching working with Scene Renderer 2019-07-23 17:33:29 +01:00
Richard Davey
eda554bd1d Oh pixelStorei you tricky little beast! 2019-07-23 17:33:08 +01:00
Richard Davey
0c87eef039 Fixed non-keyed skeleton names 2019-07-22 17:28:11 +01:00
Richard Davey
143986fddb New plugin build 2019-07-22 13:18:21 +01:00
Richard Davey
0c9f5f26a3 Always base w/h on scale of 1 2019-07-22 13:18:13 +01:00
Richard Davey
d1bad8a1c1 Set PMA to true 2019-07-22 13:12:43 +01:00
Richard Davey
8cc91ce9b5 Always set PMA 2019-07-22 13:12:32 +01:00
Richard Davey
7658f0e0cb Fixed initial bounds + origin creation 2019-07-22 13:12:18 +01:00
Richard Davey
fbb815ce60 Set proper display sizes 2019-07-22 10:36:51 +01:00
Richard Davey
9e9d264973 getPixels defaults to 0x0 2019-07-21 16:18:21 +01:00
Richard Davey
de195fe820 Now supports multiple atlases per Spine set 2019-07-19 18:24:59 +01:00
Richard Davey
e23cd39f99 Update CHANGELOG.md 2019-07-19 15:16:14 +01:00
Richard Davey
08c09b539d Added enableDebug and removeDebug from the Input Plugin, allowing you to create debug shapes to test where input hit areas are. 2019-07-19 15:16:10 +01:00
Richard Davey
aceecf0b95 InputManager.resetCursor will now check if the canvas element still exists before resetting the cursor on it. Fix #4662 2019-07-19 14:32:07 +01:00
Richard Davey
a1dad3587e Update CHANGELOG.md 2019-07-18 10:36:18 +01:00
Richard Davey
3a85d8bdc8 Added the new Geometry type properties 2019-07-18 10:36:11 +01:00
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