1218 Commits

Author SHA1 Message Date
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
308da950df [ts] Fixed test-drawcalls asset paths. 2021-10-13 15:24:28 +02: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
Mario Zechner
c4627294ed Merge branch '4.0' into 4.1-beta 2021-09-28 09:21:13 +02:00
Mario Zechner
a3f463a416 [ts] Update package-lock.json. 2021-09-28 09:21:03 +02:00
jmlee2k
674f53cccc
[ts] Made AnimationStateListener functions optional (#1955)
Co-authored-by: Jordan Lee <jordan.lee@aberrantsoftware.com>
2021-09-25 10:42:45 +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
52b9d236a1 [ts] Updated to version 4.0.12 2021-09-18 23:12:34 +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
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
badlogic
f7b4036daf [ts] Updated to version 4.0.11 2021-09-17 02:53:07 +02:00
badlogic
2f55c53ee8 [ts] Update version to 4.0.10 2021-09-17 02:32:07 +02:00
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