Commit graph

207 commits

Author SHA1 Message Date
Richard Davey
0704611ee4 SpineContainer is a new Game Object available via this.add.spinecontainer to which you can add Spine Game Objects only. It uses a special rendering function to retain batching, even across multiple container or Spine Game Object instances, resulting in dramatically improved performance over using regular Containers. Fix #5174 2020-08-25 18:27:55 +01:00
Richard Davey
482f016898 A Spine Game Object with setVisible(false) will no longer still cause internal gl commands and is now properly skipped, retaining any current batch in the process. Fix #5174 2020-08-25 18:23:27 +01:00
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
2008035ca1 New Spine 3.8.95 plugin build 2020-08-25 13:43:08 +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
1d7a576fd6 Because of course a new webpack version means new config rules 2020-08-25 13:27:14 +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
Richard Davey
20fabba0b9 Impact Physics is now removed from the core API 2020-02-04 14:52:04 +00:00
Richard Davey
32c01038e0 FacebookInstantGamesPlugin.showAd and showVideo will now break out of the ad iteration search once a valid ad has been found and called. Previously, it would carry on interating if the async didn't complete quickly. Fix #4888 2020-01-14 22:16:41 +00: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
ca65399c13 spelling: updatefail 2019-10-29 02:40:08 -04:00
Josh Soref
e35c06eff5 spelling: overridden 2019-10-29 02:27:43 -04: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
02975813c7 JSDocs fix 2019-10-11 18:32:05 +01:00
Richard Davey
55516a0686 Update copy-to-examples.js 2019-10-11 18:17:34 +01:00
Richard Davey
9b6b7228b5 New Spine Plugin dist files 2019-10-11 18:17:27 +01:00
Richard Davey
834a582158 New Spine 3.9 latest runtimes 2019-10-11 18:15:22 +01:00
Richard Davey
008ae69f58 Added Spine Runtime build configs 2019-10-11 16:01:13 +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
d67a71efc8 New Spine Plugin dist build 2019-09-27 16:18:00 +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
f2a0594c40 New Debug Plugin build 2019-09-27 13:44:38 +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
c59aa16bb4 Leaderboard extends Event Emitter, which was missing in the TypeScript defs. Fix #4703 2019-09-26 13:45:01 +01:00
Richard Davey
9485eef5c7 Leaderboard.getConnectedScores incorrectly specified two parameters, neither of which were used. Fix #4702 2019-09-26 13:42:59 +01:00
Richard Davey
c6e7213fe4 The documentation for the chooseContext method has been fixed. Fix #4425 2019-09-26 13:36:36 +01:00
Richard Davey
82401fc74f Calling gameStarted in a game that doesn't load any assets would cause the error {code: "INVALID_OPERATION", message: "Can not perform this operation before game start."}. The plugin will now has a new internal method gameStartedHandler and will redirect the flow accordingly based on asset loading. Fix #4550 2019-09-26 13:20:59 +01:00
Richard Davey
163ab4fc19 Calling showAd or showVideoAd will now check to see if the ad has already been displayed, and skip it when iterating the ads array, allowing you to display an ad with the same Placement ID without preloading it again. Fix #4728 2019-09-26 13:11:28 +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