679 Commits

Author SHA1 Message Date
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
Mario Zechner
8831c7d96e Add index.ts for core, scripts for dev and build. 2021-08-20 16:59:48 +02:00
Mario Zechner
2420a2e48a Remove old tsconfigs. 2021-08-20 16:24:52 +02:00
Mario Zechner
474dae82a0 ES2015 modulification of spine-ts core. 2021-08-20 16:24:10 +02:00
Mario Zechner
0bf2fb6059 Revert "Formatting errors to test GH Action."
This reverts commit 1800b235458b331b87bed27ce5aee55575163fc7.
2021-08-18 21:21:09 +02:00
Mario Zechner
1800b23545 Formatting errors to test GH Action. 2021-08-18 21:15:37 +02:00
Mario Zechner
61f63549d4 Apply tsfmt to TypeScript sources, formatting pass on .ts files. 2021-08-16 19:34:27 +02:00
Nathan Sweet
8d99332f7f [all] Fixed AnimationState#addEmptyAnimation when the track is empty.
http://esotericsoftware.com/forum/Spine-4-change-in-behavior-with-EmptyAnimation-16176
2021-07-28 20:32:53 -04:00
Nathan Sweet
0b01c0036e [as3][c][cpp][csharp][libgdx][ts] Fixed SkeletonBinary scale not being applied to some timelines.
closes #1928
2021-07-20 13:31:31 -04:00
Nathan Sweet
1bde7527c9 [ts] Better error when parent element is not found. 2021-07-19 16:58:17 -04:00
Nathan Sweet
7dcf77a805 [ts] Fixed omitting player config.showControls. 2021-07-18 17:40:27 -04:00
Ivan Popelyshev
9541688926
NBSP -> space (#1923) 2021-07-15 06:50:04 +02:00
badlogic
80e2b78dd1 [player] Don't force mipmaps if atlas page is non-POT in WebGL1 2021-07-09 18:32:04 +02:00
badlogic
7521838264 [webgl] Disable forced mipmaps in Safari. 2021-07-09 18:15:01 +02:00
badlogic
ade13216b3 [ts][webgl] Fix WebGL2 check for old Safari versions. 2021-07-09 17:53:36 +02:00
Nathan Sweet
97bc10ba28 [ts] Fixed popup not being hidden, clean up. 2021-06-30 20:18:25 -04:00
Nathan Sweet
87b9821e00 [as3][c][cpp][cs][libgdx][lua] Fixed crash with path constraint proportional spacing and tangent rotate modes. 2021-06-30 14:11:26 -04: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
0b18b58ba1 [ts] Player updates: pass delta to callbacks, adding config.loading, exposed more fields, use void 0 (shorter), remember touchdown offset for control bones, avoid new object each frame, clean up. 2021-06-23 11:43:29 -04:00
Nathan Sweet
7708e9a5a3 [ts] Player, create DOM first so any errors can be shown. 2021-06-23 00:45:15 -04:00
Nathan Sweet
b3c405e9ca [ts] Fixed multi touch runtime error.
Repro: touch down 1, touch down 2 (using second finger), touch up 1, touch up 2 -> error.
2021-06-22 23:08:09 -04:00