923 Commits

Author SHA1 Message Date
Nathan Sweet
2fceeeb366 [libgdx] Transform constraint JSON, scale offset, fixed error message. 2025-04-07 17:26:06 -04:00
Nathan Sweet
66435fea9e [libgdx] Constraint clean up. 2025-04-06 00:30:39 -04:00
Nathan Sweet
f08d58dc98 License header update. 2025-04-05 13:42:13 -04:00
Nathan Sweet
0f1022fb3f [libgdx] Fixed reading transform constraint mixes from JSON. 2025-04-03 17:14:04 -04:00
Nathan Sweet
a1326bc6dd [libgdx] Fixed transform constraint mixing, AnimationState javadocs. 2025-04-03 10:56:42 -04:00
Nathan Sweet
726dc08bf2 [libgdx] Fixed binary loader for transform constraints. 2025-04-02 15:58:23 -04:00
Nathan Sweet
764eafa212 [libgdx] Transform constraint relative->additive and mix applies on "to" side. 2025-04-02 15:25:02 -04:00
Nathan Sweet
7a366cd6f5 [libgdx] Use transform constraint mix for the "to" property. 2025-04-01 23:29:21 -04:00
Nathan Sweet
df06ab29e7 [libgdx] Added transform constraint X/Y offset. 2025-04-01 23:20:48 -04:00
Nathan Sweet
fcb9788e27 [libgdx] Renamed transform constraint target->source and path constraint target->slot. 2025-04-01 13:56:28 -04:00
Nathan Sweet
d459b040d0 [libgdx] Transform constraint fixes, javadoc. 2025-03-30 17:07:59 -04:00
Nathan Sweet
3b78925ca8 [libgdx] Eclipse classpath updated to Java 16. 2025-03-30 06:29:11 +02:00
Nathan Sweet
d474e0d66a [libgdx] Gradle and Maven updated to Java 16. 2025-03-29 18:12:27 -04:00
Nathan Sweet
79c832793d Transform constraint property mapping. 2025-03-29 18:00:17 -04:00
Nathan Sweet
a68a509076 [libgdx] Updated to Java 16 with libgdx's Eclipse null analysis settings. 2025-03-29 17:57:10 -04:00
Nathan Sweet
aa7667fb80 Javadoc. 2025-03-18 22:54:49 -04:00
Nathan Sweet
7a50323479 Merge branch '4.2' into 4.3 2025-03-13 16:04:43 -04:00
Nathan Sweet
c1cbe3ce5f Minor javadoc wording. 2025-03-13 16:04:31 -04:00
Nathan Sweet
f1e0f0f728 Fixed animation not being mixed out in some cases.
Repro, with any animation playing:
state.setAnimation(0, "shoot", true).setMixDuration(0.2f);
state.apply(skeleton);

Reverts 8d058fb4f4479a041fce1ff3379ba794856c9a3c. We can't know when it's safe to discard a queued animation. Users should avoid queuing animations they don't actually want.

Prefer `to.nextTrackLast != -1` for "was applied", as `to.mixTime > 0` is user writable and not quite the same.
2025-03-13 12:46:24 -04:00
Nathan Sweet
f93aa7183c Fix SkeletonRendererDebug drawing lines for attachments that aren't rendered due to skin bones. 2025-02-21 20:16:32 -04:00
Nathan Sweet
68d262b531 Improved rendering performance when an attachment is fully inside a clipping attachment.
Reuse the original vertices rather than clipping's triangle soup.
2025-02-20 00:36:25 -04:00
Davide Tantillo
5a71b51f02 [libgdx] Apply skeleton.scaleX/scaleY to wind and gravity. See #2729. 2025-01-30 11:13:27 +01:00
Mario Zechner
c05170d76a Formatting 2024-12-17 17:28:52 +01:00
Luke Ingram
e9cce58a1f [libgdx] Updates the Spine Runtimes License Agreement date, updates links to documentation. 2024-12-09 19:02:05 -04:00
Nathan Sweet
8d058fb4f4 [libgdx] Improved AnimationState behavior when paused.
Ie, when time scale is 0 or `update(0)` is used.

* Better check for whether the from entry has been applied at least once.
* Discard the from entry if both the from and to entries haven't advanced. Ie, the mix hasn't started for the from entry.
2024-12-06 12:44:01 -10:00
Nathan Sweet
9d49999e2b [libgdx] Changed SequenceTimeline to match AttachmentTimeline behavior. 2024-11-14 20:11:36 -10:00
Nathan Sweet
55e8cd3880 [libgdx] Increased minimum Java version to 1.8. 2024-11-06 21:56:32 -10:00
Nathan Sweet
d769c1a930 [libgdx] Fixed noRotationOrReflection with skeleton scale. 2024-08-28 21:07:18 -10:00
Nathan Sweet
877e705ddb [libgdx] Fix NaN in IKConstraint due to fp precision.
853b5ee165106a57bc18e1e5543c8e16311af62f
2024-08-06 19:21:45 -10:00
Nathan Sweet
bc15c4566e [libgdx] Fixed mixing out inherit timelines to the setup pose. 2024-08-02 16:29:13 -10:00
Nathan Sweet
d794d2649c [libgdx] SkeletonClipping, don't need local clippedUvs for single reference. 2024-07-26 09:14:09 -10:00
Nathan Sweet
11d3158643 [libgdx] Revert removal of spine-libgdx Eclipse project files.
This reverts (part of) commit eeb2ae691033b3670926f97b1bab2028c1584e3a.
2024-07-26 09:13:22 -10:00
Mario Zechner
a71dfd63e9 Formatting 2024-07-25 19:06:08 +02:00
Mario Zechner
26d10b80d4 [libgdx] Added SkeletonClipping.clipTrianglesUnpacked()
Used on Android or anytime we want separate vertex attribute arrays. SkeletonClipping.getClippedUvs() will only return a non-empty result if this new method was invoked.
2024-07-25 17:02:46 +02:00
Mario Zechner
eeb2ae6910 [libgdx] Switch to Gradle 8.4, publish to Maven Central via Maven. 2024-07-25 17:00:55 +02:00
Mario Zechner
12f11cbbf9 Add spine-android to formatter 2024-07-24 20:37:00 +02:00
Mario Zechner
14d21f8409 [maven-release-plugin] prepare for next development iteration 2024-07-24 17:53:14 +02:00
Mario Zechner
5ea99dd2e1 [maven-release-plugin] prepare release spine-libgdx-4.2.1 2024-07-24 17:53:11 +02:00
Mario Zechner
e2954788e1 [maven-release-plugin] rollback the release of spine-libgdx-4.2.1 2024-07-24 17:47:13 +02:00
Mario Zechner
facb8299a6 [maven-release-plugin] prepare for next development iteration 2024-07-24 17:44:14 +02:00
Mario Zechner
30cf3bcfba [maven-release-plugin] prepare release spine-libgdx-4.2.1 2024-07-24 17:44:12 +02:00
Denis Andrasec
e2bdecd9ef Merge branch '4.2' into spine-android 2024-07-17 16:57:25 +02:00
Nathan Sweet
112bea0603 [libgdx] Fixed physics constraint limit with negative skeleton scale.
ref #2576
2024-07-12 07:08:47 -10:00
Nathan Sweet
be3aa5f70e [libgdx] Scale physics constraint limits with skeleton scale. 2024-07-11 18:56:27 -10:00
Denis Andrasec
e7a075eeb6 Add Animation State Events sample 2024-07-04 15:39:42 +02:00
Nathan Sweet
932c33a251 [libgdx] Improved clipping fix. 2024-06-08 12:47:33 -04:00
Nathan Sweet
8a5873a145 [libgdx] Javadoc. 2024-06-08 12:47:09 -04:00
Nathan Sweet
c2fe1a3d77 [libgdx] Added TrackEntry#isNextReady().
closes #2540
2024-06-06 16:34:23 -04:00
Nathan Sweet
a0caef69f5 Improved clipping stability for colinear points. 2024-06-06 13:08:23 -04:00
Nathan Sweet
0e13cdbb76 [libgdx] Use frames local. 2024-05-16 13:29:01 -04:00