63 Commits

Author SHA1 Message Date
Mario Zechner
61f63549d4 Apply tsfmt to TypeScript sources, formatting pass on .ts files. 2021-08-16 19:34:27 +02:00
Ivan Popelyshev
9541688926
NBSP -> space (#1923) 2021-07-15 06:50:04 +02:00
Nathan Sweet
b8bf2a9bbb [ts] Added AssetManager#require which throws an error for an asset that isn't loaded. 2021-06-28 01:53:26 -04:00
Nathan Sweet
286552b8fa [ts] Player, simplified config.mipmaps. 2021-06-22 21:38:57 -04:00
Nathan Sweet
4062ccb1a9 [ts] TextureAtlas and AssetManager updates.
* AssetManager's textureLoader returns Texture.
* AssetManager#loadTexture success gives a Texture.
* TextureAtlas no longer has a textureLoader, it creates all the pages without a texture set.
* TextureAtlasRegion no longer has a texture, use region.page.texture instead.
* AssetManager#loadTextureAtlas no longer parses the atlas text twice. It creates the atlas, then loads and sets all the textures.
2021-06-22 15:33:01 -04:00
Nathan Sweet
43cb6dfe22 [ts] AssetManager and Player updates to support sharing assets.
* Removed # parsing from SpinePlayer, replaced with config.jsonField.
* Refactored AssetMananger to split downloading from asset creation.
* Allow Downloader to be specified in SpinePlayer config so multiple players don't download the same assets.
* Added AssetManager#loadJson so the text is only parsed once.
* TextureAtlas is still parsed multiple times. :(
* AssetMananger clean up, catch more errors, log error, don't keep rendering after an error.
2021-06-18 02:31:10 -04:00
Mario Zechner
8bb38a7fb0 [ts] Ensure clipper.clipEnd() is called appropriately. See #1694 2021-06-14 15:20:08 +02:00
Nathan Sweet
7df74c2fa4 Various fixes, clean up.
* Added missing CurveTimeline#shrink calls. c and cpp got BOZO comments until the method is added.
* SkeletonJson#readCurve clean up.
* ts, use shorthand for null checks.
* csharp, don't use unnecessary hasNext local.
2021-06-03 21:42:35 -04:00
badlogic
688d855006 [runtimes] Updated examples with Editor version 4.0.58-beta. 2021-03-01 10:05:26 +01:00
badlogic
9087ed61ae [ts] Updated parser to new atlas format
Not quite working yet.
2020-12-28 12:11:25 +01:00
badlogic
88f0d98dd2 [ts] Finished 4.0 port. See #1796 2020-11-27 17:53:27 +01:00
Nathan Sweet
98a6c8f696 Exported examples with export.sh 4.0.05-beta and ran runtimes.sh. 2020-10-10 16:22:40 -07:00
badlogic
e60a60ccd5 [ts][threejs] SkeletonMesh now takes an option SkeletonMeshMaterialParametersCustomizer function that allows you to modify the ShaderMaterialParameters before the material is finalized. Use it to modify things like THREEJS' Material.depthTest etc. See #1590. 2020-01-11 14:08:58 +01:00
badlogic
b67bf992a0 Single bone IK fix and license header update. Closes #1580, closes #1581. 2019-12-20 12:20:46 +01:00
badlogic
154849484c [ts] Updated threejs backend to version r111. Closes #1560. 2019-12-05 14:07:58 +01:00
badlogic
bb51ec7f23 Updated examples, removed stretch-ik stretchyman. 2019-08-05 17:31:15 +02:00
badlogic
2b5e521c34 [threejs] Closes #1412, added dispose() method to SkeletonMesh and required underlying code. 2019-07-24 13:21:42 +02:00
badlogic
f8f495524e Updated example exports, fixed up example projects with mix-and-match skin api demo. 2019-07-09 13:47:05 +02:00
badlogic
6850a019ec Updated examples again, final binary format change. 2019-06-19 18:02:20 +02:00
badlogic
5f13f1b8e6 Exported all examples with 3.8.25-beta to include file format changes in .json and .skel files. 2019-06-19 16:56:47 +02:00
badlogic
5d974e4480 Added mix-and-match assets, modified export scripts, added libGDX sample. See #1375. 2019-06-13 15:58:16 +02:00
badlogic
1ec6e26b71 Updated example exports and copies in runtime example projects to the latest .json and .skel formats. 2019-06-05 11:20:43 +02:00
badlogic
3aa14d9b86 [ts] Ported skin bones/constraints changes. See #1346. 2019-06-04 15:53:34 +02:00
badlogic
2dc619a76c [threejs] Don't mark buffer objects for an update if they are zero length. Fixes #1345. 2019-05-15 17:15:36 +02:00
badlogic
09130b15df Merge branch '3.7' into 3.8-beta 2019-05-02 11:43:36 +02:00
badlogic
7f7e5f0fec Updated license headers and LICENSE files. 2019-05-02 11:38:19 +02:00
badlogic
c68d85a1fc [c][cpp] Ported addition of x/y bounding coordinates to SkeletonData. See #1325. 2019-04-16 14:06:41 +02:00
badlogic
4406cdfba0 Updated examples in example projects. 2019-02-19 15:59:30 +01:00
badlogic
7a803f8b1b Updated example project exports. 2018-12-03 17:12:03 +01:00
badlogic
238523d0fc Updated assets in all runtime example projects except Unity and UE4. 2018-11-19 13:28:58 +01:00
badlogic
c95af40579 Updated all exports, using PMA now where possible in all examples. Did not update UE4 and Unity assets, these need to be updated manually. 2018-11-15 10:58:30 +01:00
badlogic
a4584a1a1c [ts] Added event volume and balance, see #1171. 2018-09-06 14:45:55 +02:00
badlogic
74734bc542 [runtimes] Re-exported samples with 3.7. 2018-09-03 15:16:20 +02:00
badlogic
4b66fffcd7 [cpp] Updated samples to include stretch IK flag, implemented stretchy IK for C++. 2018-08-14 14:30:11 +02:00
Mario Zechner
ac7fe7ca80 Updated examples to 3.7, including stretchy ik. 2018-08-03 14:57:10 +02:00
badlogic
c24990a1c4 Merge branch '3.6' into 3.7-beta 2018-01-22 16:13:22 +01:00
badlogic
fe9ae97747 [ts][threejs] Fixed bug in core AssetManager when loading multi-page atlases. Rewrote THREE.JS renderer to support multi-page atlases. Fixed clipping in THREE.JS backend. Closes #1066, closes #677. 2018-01-22 16:11:42 +01:00
badlogic
b547280eb9 Updated samples, added owl. 2018-01-18 15:18:31 +01:00
badlogic
8d4a14b200 [ts][threejs] Added VertexEffect to SkeletonMesh 2017-06-21 16:32:12 +02:00
badlogic
b685e490c1 [ts][webgl] Fixed vertex effects for clipped attachments 2017-06-21 16:19:49 +02:00
badlogic
9bd1153518 Updated examples and runtime demo code 2017-06-19 16:47:28 +02:00
badlogic
8bd058f82e [starling] Updated to Starling 2.1. Added coin sample 2017-04-14 15:58:15 +02:00
badlogic
bd16d0fde8 [ts][threejs] Implemented clipping. 2017-04-13 10:45:25 +02:00
badlogic
848f3d382c [runtimes] Updated remaining samples/runtimes 2017-04-11 13:14:53 +02:00
badlogic
0b40dd7a9f Updated exports 2017-03-27 10:19:51 +02:00
badlogic
fe8eae4b8e [c] Ported 3.6 changes, two color timeline, changed updateWorldVertices to computeWorldVertices, point attachment, transform constraint local and relative mode. Does not actually render two color tinted slots yet. Also updated example exports 2017-01-30 16:31:16 +01:00
badlogic
808aea73c6 [ts] Fixed all backends. Need to implement TwoColorBatcher for WebGL backend 2017-01-26 16:35:21 +01:00
badlogic
ab226ab681 [runtimes] re-exported examples with Spine 3.5.03-beta 2016-10-17 14:08:00 +02:00
badlogic
02130d242e [runtimes] Updated examples to beta exports 2016-10-17 12:48:15 +02:00
NathanSweet
c0fdc454a2 Fixed inconsistent newlines.
License header was followed by \n\n and files ended with \n. Changed to \r\n.
2016-10-15 23:45:16 +02:00