116 Commits

Author SHA1 Message Date
Mario Zechner
e9bcaa7a9b [canvaskit] Fix JSON loading. 2024-07-09 14:22:11 +02:00
Mario Zechner
a1f077d43c [ts][canvaskit] Added CanvasKit runtime for NodeJS and browser environments 2024-07-05 15:18:06 +02:00
Mario Zechner
369dfb8b83 [ts] Added SkeletonClipping.clipTrianglesUnpacked, changed NumberLikeArray, introduced IntLikeArray, made Texture more generic
clipTrianglesUnpacked will write only x/y vertex positions to clippedVertices and u/v to clippedUVs. This can be used for runtimes that do not use packed vertices.
2024-07-05 12:28:54 +02:00
Davide Tantillo
2ac0307c84 [ts] Port of commit c2fe1a3, Added TrackEntry IsNextReady. See #2547. 2024-06-11 15:18:26 +02:00
Davide Tantillo
b4d61790f7 [ts] Port of earlier clipping cleanup commit 485de74: SkeletonClipping.ClipTriangles clean up. 2024-06-11 15:18:26 +02:00
Davide Tantillo
0e78386633 [ts] Ported clipping fixes for colinear points (a0caef6 and 932c33a). See #2546.. 2024-06-11 11:06:28 +02:00
Davide Tantillo
8bca84f46e [ts] Used lambda for Color.toRgb888 2024-05-17 12:23:36 +02:00
Richard Fu
89831677e4 [ts][pixi] Add tint property for Pixi's convention. 2024-05-17 12:23:36 +02:00
Davide Tantillo
09f742d7c6 [ts] Fix SkeletonJson frame count set for PhysicsConstraintResetTimeline 2024-05-16 17:38:20 +02:00
Davide Tantillo
24dc328b15 [ts] Port of commit 687260a: Removed SlotData#path.
The name now always contains the full path.
2024-05-15 14:05:27 +02:00
Mario Zechner
f212ece369 [ts] Fix incorrect handling of Physics.none in Skeleton.updateWorldTransform 2024-05-14 10:17:52 +02:00
Mario Zechner
524b65f43c Formatting 2024-05-07 10:32:41 +02:00
Mario Zechner
b8580bb4ed [ts] setMixDurationWithDelta -> setMixDurationWithDelay 2024-05-07 10:32:41 +02:00
Mario Zechner
baf6ea020a [ts] Fix TrackEntry.mixDuration, add TrackEntry.setMixDurationWithDelay(), closes #2518 2024-05-06 09:01:45 +02:00
Mario Zechner
0a828099e9 Formatting 2024-05-03 12:47:24 +02:00
Davide Tantillo
f3097222f9 [ts] Skeleton.getBounds() applies clipping, see #2515. Port of commits b043e5c, 637321a and 2049bed. 2024-05-03 10:42:25 +02:00
Davide Tantillo
25acb4caf1 [ts] Port of commit cb48737 (partially - no copy constructor) 2024-05-01 11:13:49 +02:00
Davide Tantillo
f0fbceb6f7
[ts] Fix AnimationState complete event bad porting from 88b009c 2024-04-24 10:02:59 +02:00
Davide Tantillo
dca79e4731
[ts] Fix SkeletonBinary read sequence. Fix Animation ScaleYTimeline. 2024-04-16 13:07:08 +02:00
Davide Tantillo
8b5c66b8f8
[ts] Port of commit 508e501: Don't wrap angles for transform constraint absolute local. 2024-04-02 09:33:02 +02:00
Davide Tantillo
03d78d4381
[ts] Port of commits c83a867, f4f22cd, 1a83e96 (inherit timeline and minor fixes). 2024-03-28 17:17:50 +01:00
Davide Tantillo
107f5ca5e6 [ts] Port of commit 88b009c: AnimationState, improved triggering complete event. 2024-03-28 17:14:39 +01:00
Davide Tantillo
e78095e5c6
[ts] Gravity takes yDown in consideration. 2024-03-26 11:13:52 +01:00
Mario Zechner
355f7ed15b Apply formatting 2024-03-19 12:16:35 +01:00
Mario Zechner
be767b21ea [ts] Port latest physics changes. 2024-03-19 09:58:07 +01:00
Mario Zechner
73cb252bef [ts] Port physics translation and rotation methods. 2024-01-24 12:10:24 +01:00
Mario Zechner
bd1acdc1d6 [ts] Scale gravity/wind when loading skeleton, see #2446 2024-01-16 12:16:05 +01:00
Mario Zechner
b8f3a8b8ae [ts] Fix SkeletonJson physics constraints and timelines parsing. 2023-12-19 15:09:48 +01:00
Mario Zechner
b22d1562a7 Formatting 2023-12-06 04:03:29 +01:00
Mario Zechner
cf18003c49 [ts] Fix for physics constraint shear 2023-12-05 19:49:00 +01:00
Mario Zechner
dfc05e075e [ts] Fix field initializers of PhysicsConstraintData 2023-12-05 14:07:54 +01:00
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
f384795471 [ts] Fix parenthesis in sortPhysicsConstraint check 2023-12-01 14:55:36 +01:00
Mario Zechner
fd0c20a2c7 Formatting 2023-11-29 00:44:00 +01:00
Mario Zechner
355a91de79 Merge branch '4.1' into 4.2-beta
# Conflicts:
#	spine-flutter/CHANGELOG.md
#	spine-flutter/lib/assets/libspine_flutter.wasm
#	spine-flutter/pubspec.yaml
#	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/package.json
2023-11-28 13:41:20 +01:00
Mario Zechner
b62cb372e5 [ts] Fix for #2412 2023-11-28 13:28:00 +01:00
Mario Zechner
98da54402f [ts] Update all examples to pass Physics to updateWorldTransform() 2023-11-26 13:10:58 +01:00
Mario Zechner
4598da9a21 [ts] Temporarily use Physics.update everywhere 2023-11-26 12:58:14 +01:00
Mario Zechner
cc60317e4d [ts] Unsafed changes... 2023-11-22 17:33:55 +01:00
Mario Zechner
a5f7d68d12 [ts] Clean-up sorting of physics constraints. 2023-11-22 16:57:39 +01:00
Mario Zechner
c7aac73dee [ts] Port of physics constraints, SkeletonJson and SkeletonBinary incomplete. 2023-11-22 16:55:54 +01:00
Mario Zechner
b09e189c64 [ts] Add missing .js extensions. 2023-11-06 13:32:35 +01:00
Mario Zechner
8d832b3834 [ts] Add missing .js extensions. 2023-11-06 13:30:50 +01:00
Mario Zechner
944ccdce3e 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/package.json
2023-11-06 12:47:46 +01:00
Mario Zechner
9d4d86ced3 [ts] Attempt to fix incompatibility with Node's ESM implementation. See #2407 2023-11-06 12:42:00 +01:00
Mario Zechner
74b7882efa Merge branch '4.1' into 4.2-beta 2023-07-31 13:29:29 +02:00
Mario Zechner
4047f1ba07 Updated license headers. 2023-07-31 13:29:16 +02:00
Mario Zechner
5103a3da38 Merge branch '4.1' into 4.2-beta 2023-04-21 08:52:38 +02:00
Mario Zechner
ac424c9164 Formatting. 2023-04-21 08:52:24 +02:00