31 Commits

Author SHA1 Message Date
Mario Zechner
4d72bf940c [ts] Formatting 2023-12-03 22:07:56 +01:00
Mario Zechner
2eb1033b65 Update example exports to 4.2.09-beta 2023-12-01 17:04:11 +01:00
Mario Zechner
5e0bb98fa0 [ts][webgl] Added sack example 2023-12-01 15:01:58 +01:00
Mario Zechner
c90823f698 Merge branch '4.1' into 4.2-beta
# Conflicts:
#	spine-ts/package-lock.json
#	spine-ts/package.json
#	spine-ts/spine-canvas/package.json
#	spine-ts/spine-core/package.json
#	spine-ts/spine-phaser/package.json
#	spine-ts/spine-pixi/package.json
#	spine-ts/spine-player/package.json
#	spine-ts/spine-threejs/package.json
#	spine-ts/spine-webgl/example/drag-and-drop.js
#	spine-ts/spine-webgl/package.json
2023-11-28 12:19:02 +01:00
Mario Zechner
8a80baa0ac [cpp][ts] Improved test beds. 2023-11-27 12:06:52 +01:00
Mario Zechner
98da54402f [ts] Update all examples to pass Physics to updateWorldTransform() 2023-11-26 13:10:58 +01:00
Mario Zechner
f0ad8e2024 [ts] 4.1.27 release. 2023-04-17 16:26:38 +02:00
Mario Zechner
98f060b435 [ts] Refactor how textures are stored in texture regions, fix renderers, add custom attachment WebGL example. 2023-04-17 16:12:26 +02:00
Mario Zechner
e01ba364df [ts][webgl] Added example demonstrating how to drag bones. Closes #2151. 2022-09-12 14:02:09 +02:00
Mario Zechner
5a9982b2fb [ts] Removed VertexEffect, see #2076 2022-05-30 14:55:29 +02:00
Mario Zechner
e4372e5329 [ts] Enable TS strict mode. Closes #2058 2022-04-07 21:24:48 +02:00
Mario Zechner
1a1b551e8b [runtimes] Re-exported examples with 4.1.23-beta, populated runtime examples. 2022-03-25 13:40:03 +01:00
Mario Zechner
1fb3b53c5b [ts][webgl] Closes #1976, PolygonBatcher disables CULL_FACE and restores the previous setting on end() 2022-03-20 15:06:49 +01:00
Mario Zechner
8910544049 Merge branch '4.0' into 4.1-beta
# Conflicts:
#	spine-ts/package-lock.json
#	spine-ts/package.json
#	spine-ts/spine-canvas/package.json
#	spine-ts/spine-core/package.json
#	spine-ts/spine-player/package.json
#	spine-ts/spine-threejs/package.json
#	spine-ts/spine-webgl/package.json
2022-03-17 00:10:28 +01:00
Mario Zechner
e436d873fa [ts][webgl] Fix drag-and-drop.js not setting animation. 2022-03-16 23:48:47 +01:00
Mario Zechner
e96f3a0a98 Merge branch '4.0' into 4.1-beta
# Conflicts:
#	spine-ts/.vscode/launch.json
#	spine-ts/package-lock.json
#	spine-ts/package.json
#	spine-ts/spine-canvas/package.json
#	spine-ts/spine-core/package.json
#	spine-ts/spine-player/package.json
#	spine-ts/spine-threejs/package.json
#	spine-ts/spine-webgl/package.json
2022-03-08 22:06:38 +01:00
Mario Zechner
6887aa617a [threejs] Fix clipping not being ended, better alpha test support. 2022-03-08 22:03:01 +01:00
Mario Zechner
b48e2c33b8 [ts] More sequence fixes, see #1956
Also fixed runtime exports script, must copy all dragon atlas pages.
2021-10-13 21:42:11 +02:00
badlogic
a0f1ed1b9b [runtimes] Fixed and updated example exports with 4.1.04-beta
- Fixed SkeletonBinary.ts
- Updated dragon example to use sequences
2021-10-13 17:52:34 +02: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