97 Commits

Author SHA1 Message Date
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
Mario Zechner
db6f624bc6 Merge branch '4.1' into 4.2-beta
# Conflicts:
#	spine-ts/package-lock.json
#	spine-ts/package.json
#	spine-ts/publish.sh
#	spine-ts/spine-canvas/package.json
#	spine-ts/spine-core/package.json
#	spine-ts/spine-phaser/package.json
#	spine-ts/spine-player/package.json
#	spine-ts/spine-threejs/package.json
#	spine-ts/spine-webgl/package.json
2023-04-17 16:29:45 +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
Harald Csaszar
954ab69bce Merge branch '4.1' into 4.2-beta 2023-04-06 13:30:38 +02:00
Mario Zechner
9382265484 [ts] Port of commit e04e7b5. Adjusted fix for IK constraint NaN when parent has zero scale. 2023-04-06 13:21:44 +02:00
Mario Zechner
db90982453 [ts] Formatting. 2023-04-05 15:10:31 +02:00
Mario Zechner
09c14b7b31 [ts] Fixed IK constraint NaN when a parent bone has zero scale. 2023-04-05 15:09:29 +02:00
Mario Zechner
22603c3f07 [ts] Fixed IK constraint NaN when a parent bone has zero scale. 2023-04-05 15:05:33 +02:00
Jimb Esser
905f4c6ece
[ts] Use existing, explicit atlas data instead of relying on an image's current width/height (#2085)
This fixes a bug where UVs would sometimes be wrong if an image's size is not the same as when originally exported.  This could happen in the wild to _any_ project, due to mobile ISPs/browsers that proxy requests and resize images before sending them to clients.
Fixing this also allows `spine-core` to work with engines that:
* use embedded, low-res textures while waiting for high res textures to load
* automatically provide lower resolution textures to low-end devices or low-resolution displays
2023-01-30 12:51:47 +01:00
Mario Zechner
1891d00025 Merge branch '4.1' into 4.2-beta 2023-01-16 14:00:14 +01:00
Mario Zechner
83945e17dc Apply formatter. 2023-01-16 14:00:01 +01:00
Mario Zechner
68a9096049 Merge branch '4.1' into 4.2-beta
# Conflicts:
#	.gitignore
#	spine-cpp/spine-cpp/src/spine/SkeletonBinary.cpp
#	spine-ts/package-lock.json
#	spine-ts/package.json
2022-12-27 11:48:02 +01:00
Mario Zechner
15bbf5701e [ts] Added Skeleton.yDown 2022-12-27 11:43:02 +01:00
Harald Csaszar
603c024791 Merge branch '4.1' into 4.2-beta 2022-11-30 18:41:39 +01:00
Luke Ingram
38ae6f886c [c][cpp][ts] Port of 4bad9ec25e3281361a6599509881397711722e58 2022-11-30 13:34:20 -04:00
Mario Zechner
33b31aeadd [ts] Port of commit 3ea4f66. AnimationState, fixed rotation mix when direction changes. See #2158. 2022-10-06 16:23:47 +02:00
Mario Zechner
c590944a51 Merge branch '4.1' into 4.2-beta
# Conflicts:
#	spine-cocos2dx/README.md
#	spine-godot/spine_godot/SpineSprite.cpp
#	spine-sdl/src/spine-sdl-cpp.cpp
#	spine-sfml/cpp/src/spine/spine-sfml.cpp
2022-09-15 08:39:43 +02:00
Mario Zechner
ba5f89f361 [ts] Correct order of UV assignements in RegionAttachment.updateRegion() 2022-09-15 07:46:33 +02:00
Mario Zechner
dc978ed05d [ts] Fix port of 899f7d7 2022-09-15 07:45:30 +02:00
Luke Ingram
1ef33f1d1a [ts] Port of d6adbe9.
See d6adbe96d8
2022-09-14 17:37:58 -04:00