Commit graph

161 commits

Author SHA1 Message Date
Richard Davey
d2517bf5f6 Updated date 2020-08-25 15:36:08 +01:00
Richard Davey
314c7975f8 Updates JSDocs. Fix #4979 2020-08-25 14:54:30 +01:00
Richard Davey
b1929b8579 The Spine Plugin will now work in HEADLESS mode without crashing. Fix #4988 2020-08-25 14:47:03 +01:00
Richard Davey
d38cae6682 Tweaked RT draw fix 2020-08-25 14:22:48 +01:00
Richard Davey
de0133e3cc Spine Game Objects can now be rendered to Render Textures. Fix #5184 2020-08-25 14:11:37 +01:00
Richard Davey
9bbdf8d0bc New Spine 3.8.95 runtimes 2020-08-25 13:28:34 +01:00
Richard Davey
4e28e4417e Use MultiPipeline 2020-08-25 13:27:57 +01:00
Richard Davey
0f1c917d6c Updated docs 2020-08-25 13:27:38 +01:00
Richard Davey
075ef7bb5e ESLint fix 2020-08-25 13:27:32 +01:00
Richard Davey
745ad037fe Fix #5098 2020-04-27 14:48:55 +01:00
Richard Davey
5c25269ca0
Merge pull request #5058 from jdcook/fix/spine-asset-pack
adding index to spine atlases when loading through asset pack
2020-04-27 13:16:03 +01:00
Richard Davey
0e8d292809
Merge pull request #4893 from FostUK/spine-manifest-loading
Support for loading spine files via manifest
2020-04-27 12:28:23 +01:00
Jared Cook
3ef60117a7 adding index to spine atlases when loading through asset pack 2020-03-27 13:06:34 -05:00
halilcakar
43f26ad31f Update JSDocs for events 2020-03-10 11:11:43 +03:00
Nick Tipping
294adfc707 Load images from atlas path. 2019-12-04 17:52:08 +00:00
Nick Tipping
35e8377869 Support for loading spine files via manifest
Adds loader prefix to textures
removes 'SP' prefix
Removes atlas extension via regex rather than string trim
2019-12-02 08:59:47 +00:00
Josh Soref
868c822e02 spelling: multiplied 2019-10-29 02:26:13 -04:00
Josh Soref
8e1b094ade spelling: allowing 2019-10-29 01:42:43 -04:00
Richard Davey
0ba697ee4a JSDoc updates 2019-11-18 16:02:34 +00:00
Richard Davey
44f93cde30 The Spine Plugin was not clearing down the resize event listener in WebGL, causing it to still fire even if the Scene was closed. Fix #4808 2019-10-17 13:25:32 +01:00
Richard Davey
834a582158 New Spine 3.9 latest runtimes 2019-10-11 18:15:22 +01:00
Richard Davey
b03ae6a9ad Typo fix 2019-09-30 14:24:52 +01:00
Richard Davey
4a5a81e0f2 MultiFile key fix. 2019-09-30 14:12:17 +01:00
Richard Davey
62ffdeca3d Now using setSkin for 3.8 runtimes. 2019-09-27 16:11:48 +01:00
Richard Davey
b82d809ec6 Using Loader.setPath to define the Spine assets locations could error if trying to load multiple files from different folders. It will now retain the path state at the time of invocation, rather than during the load. 2019-09-27 16:11:15 +01:00
Richard Davey
f9785d58e8 Fixed issue with factory functions 2019-09-27 16:04:15 +01:00
Richard Davey
5d75a4a7da The Spine Game Object will no longer set the default skin name to be 'default', it will leave the name empty. Fix #4764 2019-09-27 13:48:17 +01:00
Richard Davey
4462c98b89 Removed commented-out code 2019-09-27 13:44:12 +01:00
Richard Davey
850d46bde3 Fixed Texture Atlas cache issue, Scene Renderer disposal and GameObjectFactory bindings 2019-09-27 13:43:56 +01:00
Richard Davey
467e18598a Upgraded to Spine 3.8 runtimes 2019-09-27 11:29:58 +01:00
Richard Davey
d0c40b647f SpineCanvasPlugin.shutdown would try to dispose of the sceneRenderer, but the property isn't set for Canvas. 2019-09-04 14:25:56 +01:00
Richard Davey
9d32127659 Removed incorrect member state 2019-08-08 15:52:05 +01:00
Richard Davey
4d7e3fcf22 Fixed jsdocs 2019-08-08 15:51:56 +01:00
Richard Davey
57a2bb171e Updated Spine webpack configs and runtimes 2019-08-08 13:31:52 +01:00
Richard Davey
b3615b77df Added more jsdocs 2019-08-08 12:27:30 +01:00
Richard Davey
6c1d59ec2e Lots more jsdocs completed 2019-08-08 01:46:58 +01:00
Richard Davey
172ebef093 More docs added 2019-08-07 18:24:09 +01:00
Richard Davey
dc332f1e1e JSDocs added for whole Spine Plugin 2019-08-07 17:43:19 +01:00
Richard Davey
03da666466 Fixed Spine Canvas rendering 2019-08-07 15:24:42 +01:00
Richard Davey
7b8f4c638b Added Events and better 'ignore if playing' handling 2019-08-05 01:12:53 +01:00
Richard Davey
d43e755695 Added scale override and event listeners 2019-08-04 20:47:41 +01:00
Richard Davey
c94f603cc9 Finally rotation handles all edge-cases, including negative x and y scales 2019-08-03 11:08:40 +01:00
Richard Davey
ffb87d594d Handle negative scales 2019-08-02 17:28:58 +01:00
Richard Davey
969a574a75 Testing rotation fix (again) 2019-08-02 01:51:44 +01:00
Richard Davey
d2d03d0312 Fixed plugin ref 2019-08-02 01:51:32 +01:00
Richard Davey
83ef7402a1 Return this 2019-08-02 01:51:21 +01:00
Richard Davey
31b25043b9 New 3.7 runtimes 2019-08-02 01:50:26 +01:00
Richard Davey
c8d61d9549 Lots of new updates include alpha and tint support, bone angles, render overrides and more 2019-08-01 17:45:25 +01:00
Richard Davey
76eb71345d If it won't render but the batch is open, flush it 2019-08-01 17:45:10 +01:00
Richard Davey
27e9e66299 Delete SpineGameObjectFactory.js 2019-08-01 17:44:55 +01:00
Richard Davey
4ed1cf04fc Added 'make' support and refactored 'add' support 2019-08-01 17:44:41 +01:00
Richard Davey
7b96356cfc Fixed setSkin method and added other helper methods 2019-07-31 17:33:43 +01:00
Richard Davey
47eca23e26 Added refresh method and updated bones properly 2019-07-30 23:49:34 +01:00
Richard Davey
ec0773ab93 Removed Input class 2019-07-30 23:49:21 +01:00
Richard Davey
e23383040d Added worldToLocal method for webgl context 2019-07-29 23:16:40 +01:00
Richard Davey
dedab594fd Added getBoneList 2019-07-29 17:45:46 +01:00
Richard Davey
4293a444e3 Added getVector methods 2019-07-29 17:45:37 +01:00
Richard Davey
bc915403b2 Removed Spine events and added new methods 2019-07-29 13:46:35 +01:00
Richard Davey
7126a52d45 Docs update and move viewport changes to plugin 2019-07-29 13:46:22 +01:00
Richard Davey
d030e358f0 Listen for resize event 2019-07-29 13:46:07 +01:00
Richard Davey
19e602ba8e Testing skeleton w/h instead of bounds for size 2019-07-26 19:04:03 +01:00
Richard Davey
d8f44dc116 Fixed rotation conversion 2019-07-26 14:26:21 +01:00
Richard Davey
64b3e834d3 Testing rotation fix 2019-07-25 17:57:20 +01:00
Richard Davey
feeefc9a57 Exposed the debug methods 2019-07-25 15:27:20 +01:00
Richard Davey
868c045f62 Getting debugging working again 2019-07-25 15:27:08 +01:00
Richard Davey
3b46296c07 Added Spine runtime setBlendMode monkey patch to avoid batch flushing 2019-07-25 13:26:58 +01:00
Richard Davey
f36a0e5cac Removed Loader spiner 2019-07-25 13:26:41 +01:00
Richard Davey
e5d2d17972 Removed un-used code and added pma support 2019-07-25 13:17:17 +01:00
Richard Davey
0cff60c242 Now handles passing in pma to file loader 2019-07-25 13:17:08 +01:00
Richard Davey
b44eb25a63 Added pma flag 2019-07-25 13:16:48 +01:00
Richard Davey
c6750a9dc5 Using Scene renderer 2019-07-25 13:16:37 +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
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
de195fe820 Now supports multiple atlases per Spine set 2019-07-19 18:24:59 +01:00
Richard Davey
9af50236e6 Update SpineGameObject.js 2019-07-17 16:59:47 +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
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
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
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
cc6e7a8cc8 Support for Spine objects inside a container and no skeletons 2018-10-26 19:40:03 +01:00
Richard Davey
618f514392 No skeleton, no render! 2018-10-26 19:39:48 +01:00
Richard Davey
f17d0246af Added ability to create skeleton after creation 2018-10-26 19:39:30 +01:00
Richard Davey
28895c5162 Base Spine plugin now handles a lot more 2018-10-26 19:39:11 +01:00
Richard Davey
caa55e7ab3 Added optional child argument 2018-10-25 17:14:57 +01:00
Richard Davey
38f1ebef32 Added Flip component and extra methods 2018-10-25 16:27:13 +01:00
Richard Davey
79bd0342ac Added canvas debug 2018-10-25 16:27:00 +01:00
Richard Davey
6505e6837a Removed un-used calls 2018-10-25 16:26:48 +01:00
Richard Davey
1cdb4fbf80 Added debug renderer and shader 2018-10-25 14:14:26 +01:00
Richard Davey
b5573e5427 Now suppors camera matrix 2018-10-25 14:14:14 +01:00
Richard Davey
ff03c4389c Removed mvp as the plugin can use a single instance 2018-10-25 14:14:04 +01:00