664 Commits

Author SHA1 Message Date
Nathan Sweet
e04e7b58f3 Adjusted fix for IK constraint NaN when parent has zero scale. 2023-04-05 17:58:42 -04:00
Nathan Sweet
3fd5ed2287 Fixed IK constraint NaN when a parent bone has zero scale. 2023-04-04 20:07:21 -04:00
Nathan Sweet
4bad9ec25e [libgdx] Fixed typo in transform constraint shortcut for 0 mix. 2022-11-30 12:57:49 -04:00
Nathan Sweet
c9af18e153 [libgdx] Javadoc. 2022-11-06 13:10:34 -04:00
Mario Zechner
975a3fa30a [libgdx] Fix UVs for null region in RegionAttachment.updateRegion() 2022-09-15 07:48:58 +02:00
Nathan Sweet
d6adbe96d8 [libgdx] Allow calling RegionAttachment#updateRegion when region is null.
Mesh already allows this. SkeletonJson/Binary call `updateRegion` when the sequence is null, which fails before this commit if the attachment loader doesn't set a region. That is a valid usecase, eg to set regions later.

This also orders setting the UVs array indices to 0-7.
2022-09-13 18:12:31 -04:00
Mario Zechner
30863a69c2 [maven-release-plugin] prepare for next development iteration 2022-07-18 14:03:33 +02:00
Mario Zechner
cd3118f9e0 [maven-release-plugin] prepare release spine-libgdx-4.1.0 2022-07-18 14:02:24 +02:00
Nathan Sweet
4efd63f89c [libgdx] Use linked mesh sequence properties when inheriting a sequence timeline. Also allow a linked mesh with no sequence when the source mesh has one. 2022-06-18 18:57:11 -04:00
Nathan Sweet
81baef0b5b [libgdx] Fixed crash when a pingpong sequence has 1 frame. 2022-06-18 13:45:13 -04:00
Nathan Sweet
a1e782a533 [libgdx] Javadoc for skeleton transform properties. 2022-06-16 11:19:51 -04:00
Nathan Sweet
4d493ca558 [libgdx] Clean up vertex effect removal. 2022-06-02 12:37:54 -04:00
Mario Zechner
c056db02ee [libgdx] Remove VertexEffect, see #2076 2022-05-30 15:02:22 +02:00
Nathan Sweet
7a66564df2 [libgdx] Fixed SkeletonAttachment. 2022-05-01 12:05:24 -04:00
Nathan Sweet
7c25bb476f [libgdx] Eclipse project files to set encoding. 2022-04-25 10:11:56 -04:00
Nathan Sweet
b7d6cf819c [gdx] Throw if SkeletonRenderer batch doesn't support clipping. 2022-04-16 14:33:50 -04:00
Nathan Sweet
aced5aa489 [libgdx] Added TwoColorPolygonBatch#getPremultipliedAlpha. 2022-02-02 16:19:09 -04:00
Nathan Sweet
9271eb239a Removed spring constraints.
The physics features have been moved to 4.2.
2022-01-31 11:42:49 -04:00
Nathan Sweet
6135fa8684 [libgdx] Made fixes from 4.1-beta-physics in 4.1-beta. 2022-01-31 11:21:07 -04:00
Luke Ingram
fd617b562e [libgdx] Fixed AnimationState.trackEntry()
Some TrackEntry fields weren't reset to their default values. @NathanSweet you did a bug
2022-01-28 11:03:36 -04:00
Harald Csaszar
091ece0aa3 Merge branch '4.0' into 4.1-beta 2022-01-26 15:27:59 +01:00
Nathan Sweet
a5b67629c8 [libgdx] Fixed additive scaling mixing.
Fixes:
http://esotericsoftware.com/forum/Mixing-two-animations-on-additive-track-problem-16953

Problem was introduced by f4021177f9bc71af93509763232b2401589f7acf which tried to fix:
http://esotericsoftware.com/forum/About-negative-bone-scale-Web-Player-16410
2022-01-26 09:39:15 -04:00
Mario Zechner
fb4976ce74 [libgdx] Updated README.md, changed version to 4.1.0 2022-01-23 22:18:52 +01:00
Nathan Sweet
d57653772f Javadoc. 2022-01-18 14:27:40 -04:00
Nathan Sweet
c21891835d Added TrackEntry#shortestRotation. 2022-01-18 14:17:41 -04:00
Nathan Sweet
5093fadd22 Javadocs. 2021-12-13 15:42:22 -04:00
Nathan Sweet
a898aed293 Added pingpongReverse to SequenceTimeline. 2021-12-13 15:07:40 -04:00
Mario Zechner
c7b54dc9b3 [libgdx] Fix copy constructor of region and mesh attachments
Only copy sequence if != null.
2021-11-04 17:13:00 +01:00
Mario Zechner
a12e3ffe37 [libgdx] Fix SequenceTimeline JSON parsing
"stop" -> "hold"
2021-10-14 00:26:52 +02:00
Nathan Sweet
02a85972de Javadocs. Don't use generics for Sequence#apply. 2021-10-07 22:26:44 -10:00
Nathan Sweet
7155626dc0 Fixed sequence leading zeros. 2021-10-06 01:52:39 -10:00
Nathan Sweet
34870fd759 Sequence clean up.
* Removed unused generics.
* Sequence missing from copy constructors.
* Renamed stop->hold.
2021-10-05 19:46:19 -10:00
Nathan Sweet
39afd0e7ea Add small value to sequence timeline for float inaccuracy. 2021-10-05 00:35:54 -10:00
Nathan Sweet
f3b7d2acb2 Sequence playReverse -> onceReverse. 2021-10-04 23:59:40 -10:00
Nathan Sweet
a037fbbb31 Sequence play -> once. 2021-10-04 23:42:03 -10:00
Nathan Sweet
35347bf6a3 Only update the region if the attachment has a region. 2021-10-04 22:20:06 -10:00
Nathan Sweet
d798334a5e Sequence attachment fixes. 2021-10-04 20:48:58 -10:00
Nathan Sweet
f7ae127115 Changed AnimationState animation time so it continues past animation end if non-looping and animation end is >= animation duration.
This allows sequences to continue to play in the common case where animation end is not being used to stop the animation early.
2021-10-04 00:58:42 -10:00
Nathan Sweet
515d238886 JSON and binary loading for sequences. 2021-10-04 00:57:25 -10:00
Nathan Sweet
eb5e19036d Attachment name in slot attachment timelines is now optional. 2021-10-04 00:21:02 -10:00
Nathan Sweet
3cb04204f4 Clean up. 2021-10-02 03:03:22 -10:00
Nathan Sweet
6e938b32ea Rewrote sequence attachment as a sequence property on region and mesh attachments. 2021-10-01 22:53:08 -10:00
Nathan Sweet
920604dff7 TextureRegionAttachment -> HasTextureRegion. 2021-09-25 23:04:56 -10:00
Nathan Sweet
f4e893ef88 Clean up. 2021-09-25 20:34:25 -10:00
Nathan Sweet
ff95b27bf6 Load sequence attachments from JSON.
EsotericSoftware/spine-editor#9
2021-09-24 21:08:53 -10:00
Nathan Sweet
457aa3a894 Initial comment for sequence attachments (frame-by-frame).
EsotericSoftware/spine-editor#9
2021-09-24 21:00:26 -10:00
Nathan Sweet
96a998b82d Spine Runtimes License Agreement update (September 24, 2021). 2021-09-24 18:18:19 -10:00
Nathan Sweet
772f69be41 Initial commit for spring constraints. 2021-09-22 00:21:59 -10:00
Nathan Sweet
2614811ef8 Find bones and slots by index, not name. 2021-09-21 21:42:39 -10:00
Nathan Sweet
036b02a917 Javadoc for chain scale bone parent requirement. 2021-09-19 19:30:25 -10:00