14 Commits

Author SHA1 Message Date
Mario Zechner
e436d873fa [ts][webgl] Fix drag-and-drop.js not setting animation. 2022-03-16 23:48:47 +01:00
Mario Zechner
6887aa617a [threejs] Fix clipping not being ended, better alpha test support. 2022-03-08 22:03:01 +01:00
badlogic
c19d84f194 [ts] Disable alpha in WebGL context. 2021-09-18 02:16:20 +02:00
badlogic
cda5c0f052 [ts] Added CameraController, drag & drop example 2021-09-18 01:58:14 +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
Mario Zechner
a8da830de2 [ts] Clean-up of dress-up example. 2021-09-07 21:15:30 +02:00
Mario Zechner
8d309ce899 [ts] Fix css and resizing issue in dress-up example. 2021-09-07 20:53:27 +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
badlogic
68413182fb [ts] Use the new AssetManager.require instead of AssetManager.get in example. 2021-09-07 01:10:28 +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
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
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
474dae82a0 ES2015 modulification of spine-ts core. 2021-08-20 16:24:10 +02:00