75 Commits

Author SHA1 Message Date
Mario Zechner
e4372e5329 [ts] Enable TS strict mode. Closes #2058 2022-04-07 21:24:48 +02: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
fb0a658ecf 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-01-24 22:23:03 +01:00
Mario Zechner
02b894d8da [ts][player] Added SpinePlayer.dispose(), closes #2020 2022-01-24 22:04:29 +01:00
Mario Zechner
81927051ff [ts] Port of sequence attachments, see #1956
SkeletonJson parsing of sequence timelines incomplete. Untested.
2021-10-13 01:14:58 +02:00
Mario Zechner
7876897c59 Merge branch '4.0' into 4.1-beta 2021-10-11 16:17:19 +02:00
Mario Zechner
d296fa3efa [ts] Closes #1966, PolygonBatcher does not flush if the blend mode has not changed. 2021-10-11 16:16:55 +02:00
Bastiaan
08dd033e51
SkeletonDebugRenderer fix in drawBones (#1965)
skeleton.x and skeleton.y are already added in bone.worldX and
bone.worldY.
See Bone.ts => updateWorldTransformWith.
2021-10-11 15:27:08 +02:00
Nathan Sweet
96a998b82d Spine Runtimes License Agreement update (September 24, 2021). 2021-09-24 18:18:19 -10:00
Mario Zechner
deeb845011 [ts] Removed logging from CameraController, update to version 4.0.14. 2021-09-20 21:16:52 +02:00
Mario Zechner
168bea6fdb [ts] Updated to version 4.0.13 2021-09-18 23:20:30 +02:00
Mario Zechner
02e334942b [ts] Formatting. 2021-09-18 23:14:07 +02:00
Mario Zechner
2d35cfa765 [ts] Add pinch zoom and mouse wheel support to Input
Add CameraController for examples.
2021-09-18 22:43:28 +02:00
badlogic
cda5c0f052 [ts] Added CameraController, drag & drop example 2021-09-18 01:58:14 +02:00
Mario Zechner
cd5f561739 [runtimes] Fix formatting. 2021-09-14 01:58:39 +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
babe296157 [ts] Formatting 2021-09-07 15:49:37 +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
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
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
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
474dae82a0 ES2015 modulification of spine-ts core. 2021-08-20 16:24:10 +02:00