Richard Davey
7add222a87
Update SpineGameObjectCanvasRenderer.js
2020-10-16 14:11:40 +01:00
Richard Davey
9a2c7ab154
Removed interpolationPercentage parameter
2020-10-16 14:11:34 +01:00
Richard Davey
beb26164a1
New debug build
2020-10-16 13:52:00 +01:00
Richard Davey
03bcacba2a
Update SpineGameObjectWebGLRenderer.js
2020-10-16 13:51:52 +01:00
Richard Davey
923b1351fa
The Spine Plugin now uses a single instance of the Scene Renderer when running under WebGL. All instances of the plugin (installed per Scene) share the same base Scene Renderer, avoiding duplicate allocations and resizing events under multi-Scene games. Fix #5286
2020-10-16 13:51:40 +01:00
Richard Davey
ff893b801a
New plugin build
2020-10-16 11:38:23 +01:00
Richard Davey
71226a1548
Testing if we can just pass off rendering directly.
2020-10-16 11:38:16 +01:00
Richard Davey
3fa295f541
Vastly reduced the complexity of the rendering. Now only gets called if it will actually render.
2020-10-16 11:38:04 +01:00
Richard Davey
67f24ea363
SpineGameObject.willRender
is no longer hard-coded to return true
. It instead now takes a Camera parameter and performs all of the checks needed before returning. Previously, this happened during the render functions.
2020-10-16 11:37:23 +01:00
Richard Davey
2a1223184f
New debug build
2020-10-14 15:16:21 +01:00
Richard Davey
271c88fab3
Handle negative scales
2020-10-14 15:16:07 +01:00
Richard Davey
ea36036688
New Spine Plugin dist build
2020-10-05 14:16:46 +01:00
Richard Davey
725e8bcbd6
SpineFile
now uses a !
character to split the keys, instead of an underscore, preventing the plugin from incorrectly working out the keys for filenames with underscores in them. Fix #5336
2020-10-05 14:15:15 +01:00
Richard Davey
e11c820570
Updated plugin
2020-09-29 12:13:36 +01:00
Richard Davey
3f2ad4dd79
SpineFile
will now check to see if another identical atlas in the load queue is already loading the texture it needs and will no longer get locked waiting for a file that will never complete. This allows multiple skeleton JSONs to use the same atlas data. Fix #5331
2020-09-29 12:13:25 +01:00
Richard Davey
09a6d0e862
Updated to 3.8.99 runtimes
2020-09-29 11:40:38 +01:00
Richard Davey
e9a143ac2a
Create README.md
2020-09-29 11:40:15 +01:00
Richard Davey
b93426439f
Added moduleResolution
so the runtimes build
2020-09-29 11:40:12 +01:00
Richard Davey
1665c1267d
Removed interpolationPercentage
and used new matrix function
2020-09-29 10:56:45 +01:00
Richard Davey
8af35be8f1
Make defaults match JSDocs
2020-09-17 18:06:59 +01:00
Richard Davey
18d0d58cb5
Spine Plugin updated for Beta 6
2020-09-11 16:53:50 +01:00
Richard Davey
8d02da00f2
Better conditional flow
2020-09-01 13:30:22 +01:00
Richard Davey
1406f23bd6
New dist debug builds
2020-09-01 13:06:07 +01:00
Richard Davey
d18e44d665
Fixed rebind order. Fix #5277
2020-09-01 13:05:54 +01:00
Richard Davey
1fa91daa39
The Spine Plugin destroy
method will now no longer remove the Game Objects from the Game Object Factory, or dispose of the Scene Renderer. This means when a Scene is destroyed, it will keep the Game Objects in the factory for other Scene's to use. Fix #5279
...
`SpinePlugin.gameDestroy` is a new method that is called if the Game instance emits a `destroy` event. It removes the Spine Game Objects from the factory and disposes of the Spine scene renderer.
2020-09-01 10:46:22 +01:00
Richard Davey
798fa8f5fd
The SpineFile
will no longer throw a warning if adding a texture into the Texture Manager that already exists. This allows you to have multiple Spine JSON use the same texture file, however, it also means you now get no warning if you accidentally load a texture that exists, so be careful with your keys! Fix #4947
2020-08-26 00:14:16 +01:00
Richard Davey
413a148a31
Updated docs and Creator param
2020-08-26 00:00:00 +01:00
Richard Davey
a9c32d4efa
The SpineGameObject.setAnimation
method will now use the trackIndex
parameter if ignoreIfPlaying
is set and run the check against this track index. Fix #4842
2020-08-25 23:59:42 +01:00
Richard Davey
f97afe16e7
New Spine Plugin build
2020-08-25 18:30:07 +01:00
Richard Davey
6c26e27286
Update copy-to-examples.js
2020-08-25 18:29:58 +01:00
Richard Davey
2531b67dd1
New Container factory functions
2020-08-25 18:28:45 +01:00
Richard Davey
ce8039cb90
Spine Game Objects now use -1 as their default blend mode, which means 'skip setting it'.
2020-08-25 18:28:35 +01:00
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
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
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
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
331d5605ad
All new versions of the Spine plugin built
2019-08-08 13:32:26 +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
f27606bdaa
New plugin build
2019-08-07 17:43:25 +01:00
Richard Davey
dc332f1e1e
JSDocs added for whole Spine Plugin
2019-08-07 17:43:19 +01:00
Richard Davey
c6e477cd85
New Spine plugin build
2019-08-07 15:24:52 +01:00
Richard Davey
03da666466
Fixed Spine Canvas rendering
2019-08-07 15:24:42 +01:00
Richard Davey
692e0b1d46
Updated plugin
2019-08-05 17:52:01 +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
b209a9b416
New plugin build
2019-08-03 11:08:47 +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
cb49d8909b
New plugin build
2019-08-02 17:29:05 +01:00
Richard Davey
ffb87d594d
Handle negative scales
2019-08-02 17:28:58 +01:00
Richard Davey
9a7b8bfc88
New plugin build
2019-08-02 01:51:52 +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
ecee32b0b2
New plugin build
2019-08-01 17:45:31 +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