699 Commits

Author SHA1 Message Date
badlogic
a884dd4c0d [ts] Inline source maps, fix Downloader for raw data URIs. 2021-09-17 02:29:08 +02:00
Nathan Sweet
77774608bf [as3][c][cpp][csharp][libgdx][lua][ts] Fixed updateAppliedTransform for the root bone. 2021-09-16 17:00:10 -06:00
Nathan Sweet
f4021177f9 [as3][c][cpp][csharp][libgdx][lua][ts] Don't treat scale sign as an instant transition when applying a timeline additively. 2021-09-15 00:28:43 -06:00
Mario Zechner
634e041ed8 [ts] Version 4.0.9. 2021-09-14 02:13:49 +02:00
Mario Zechner
579cae1c8d [ts] Include source content in sourcemaps of es6 module dist files. 2021-09-14 02:12:26 +02:00
Mario Zechner
81ffa13d2d [ts] Version 4.0.8. 2021-09-14 02:05:28 +02:00
Mario Zechner
2201af6ab0 [ts] Version 4.0.8. 2021-09-14 02:05:02 +02:00
Mario Zechner
cd83e9ad35 [ts] Fix typo in SkeletonJson.ts. 2021-09-14 02:04:38 +02:00
Mario Zechner
cd5f561739 [runtimes] Fix formatting. 2021-09-14 01:58:39 +02:00
Mario Zechner
c41cc94008 [runtime] Revert changes to owl-pro.spine
Conversion to 4.0.31 and export breaks additive blending even more.
2021-09-14 00:44:00 +02:00
Mario Zechner
67c0d39eab [runtimes] Fixed owl example project, export and runtime scripts
The owl example project was not keying the control bone, leading to incorrect additive blending. The export.sh and runtimes.sh script in example/export did not account for the folder structure change in spine-ts.
2021-09-14 00:02:04 +02:00
Nathan Sweet
dc9a6ebe7f [as3][c][cpp][csharp][libgdx][lua][ts] Fixed loading transform constraint timelines from JSON data.
* Fixed SkeletonJson not allocating enough memory for curves (maximum of 6 curves/key, not 4). Fixes email: FMfcgzGkbDfvckWcFxWlsTWzFhMXsTDw
* Removed SkeletonData and Skeleton methods: findBoneIndex, findSlotIndex. Bones and slots have an index field that should be used instead.
* Removed SkeletonData and Skeleton methods: find*ConstraintIndex. Only SkeletonJson needed these, they don't need to be in the public API.
* Used a local for number of frames where it was used many times.
2021-09-12 18:15:19 -06:00
Mario Zechner
a8da830de2 [ts] Clean-up of dress-up example. 2021-09-07 21:15:30 +02:00
Mario Zechner
21fa3c3e5f [ts] Updated spine-ts version to 4.0.7 2021-09-07 21:09:34 +02:00
Mario Zechner
9521e9243d [ts] Remove null-coalescing operator, esbuld keeps it, but won't work in old browsers. 2021-09-07 21:08:19 +02:00
Mario Zechner
0dc66e2e5a [ts] Updated spine-ts version to 4.0.6 2021-09-07 21:04:46 +02:00
Mario Zechner
8d309ce899 [ts] Fix css and resizing issue in dress-up example. 2021-09-07 20:53:27 +02:00
Mario Zechner
babe296157 [ts] Formatting 2021-09-07 15:49:37 +02:00
Mario Zechner
9e4ee3d2af [ts] Updated spine-ts version to 4.0.5 2021-09-07 15:40:49 +02:00
badlogic
486699162f Merge branch '4.0' of https://github.com/esotericsoftware/spine-runtimes into 4.0 2021-09-07 15:38:31 +02:00
badlogic
ad41761293 [ts] Added dress-up example
Shows how to render skins to thumbnails which can then be used in an HTML UI.
2021-09-07 15:38:23 +02:00
Nathan Sweet
2ae113d5a0 [ts] Fixed scale of constrained bones with transform constraint relative + local. 2021-09-06 23:32:26 -06:00
badlogic
68413182fb [ts] Use the new AssetManager.require instead of AssetManager.get in example. 2021-09-07 01:10:28 +02:00
badlogic
3ba8a2ffc2 [ts] Minor documentation changes. 2021-09-07 01:06:52 +02:00
badlogic
91a8b6a100 [ts] Added SpineCanvas, a simpler way to render via spine-webgl
Rewrote mix-and-match example as well as barebones example to illustrate usage.
2021-09-07 00:57:52 +02:00
Mario Zechner
040539a07d [ts] More README changes. 2021-09-01 15:26:01 +02:00
Mario Zechner
59d8aeeaf2 [ts] Updated README 2021-09-01 15:22:26 +02:00
Mario Zechner
8797e3c152 [ts] Update GH Action Node version. 2021-09-01 13:41:05 +02:00
Mario Zechner
716935977e [ts] VS Code launch config. 2021-09-01 13:35:52 +02:00
Mario Zechner
17be83dac3 [ts] Example index page 2021-09-01 13:32:28 +02:00
Mario Zechner
877b2ac2a0 [ts] Updated example package version. 2021-09-01 13:22:19 +02:00
Mario Zechner
6df2bda192 [ts] Minify IIFE artifacts, update version to 4.0.4. 2021-09-01 13:19:08 +02:00
Mario Zechner
57fe02c576 [ts] Updated version to 4.0.3 2021-09-01 12:49:51 +02:00
Mario Zechner
91daf25484 [ts] Updated README, fixed license and readme inclusion in packages. 2021-09-01 12:48:53 +02:00
Mario Zechner
3d3589f265 [ts] Refactor build, don't commit artifacts
npm install will automatically build everything necessary for local development and viewing the examples.
2021-09-01 11:09:31 +02:00
Mario Zechner
a9f6735106 Merge branch 'ts-modules' of https://github.com/esotericsoftware/spine-runtimes into ts-modules 2021-09-01 09:46:29 +02:00
Mario Zechner
5e0006863a [ts] Update version to 4.0.2 2021-09-01 09:46:23 +02:00
Mario Zechner
08e3a5eee4
[ts] Update README.md 2021-08-31 18:54:10 +02:00
Mario Zechner
a12e26be65 [ts] Wire up package.json files for publishing 2021-08-31 15:59:39 +02:00
Mario Zechner
de6cee955b [ts] Remove old namespaces, dev build
Previously, we'd export to global objects called spine.canvas, spine.webgl, spine.threejs. Going forward, all Spine APIs will be hosted by the global spine object when the runtime is used straight from the bundled .js files in the build/ folder. This is a minor change with a simple fix on the user side, i.e. replace spine.canvas. with spine.
2021-08-27 18:48:17 +02:00
Mario Zechner
39df4c7cbb [ts] Formatter pass 2021-08-27 17:24:18 +02:00
Mario Zechner
ef6f2efb1a [ts] Fix minification of player and threejs backends. 2021-08-27 00:23:02 +02:00
Mario Zechner
17c0cb00c2 [ts] Fix up player resources copying in build script. 2021-08-26 14:32:10 +02:00
Mario Zechner
58fe4ed229 [ts] Fix up build script. 2021-08-26 14:29:55 +02:00
Mario Zechner
187b2d88f1 [ts] Minor touch up of threejs example. 2021-08-26 14:28:14 +02:00
Mario Zechner
bf347df8af [ts] Modularized spine-threejs, removed threejs typings 2021-08-26 14:20:27 +02:00
Mario Zechner
17c342ac61 [ts] Modularize player, add package.json files, fix up module paths. 2021-08-25 21:00:17 +02:00
Mario Zechner
79f0abf765 [ts] Refactor module resolution, switch to esbuild 2021-08-25 19:30:46 +02:00
Mario Zechner
ca6b3d0bac [ts] Modularize spine-canvas, fixup rollup setup 2021-08-25 01:32:39 +02:00
Mario Zechner
3c2d39a936 Use rollup.js to generate a UMD bundle for spine-core. 2021-08-20 18:36:55 +02:00