289 Commits

Author SHA1 Message Date
NathanSweet
b93686c185 [libgdx] Added SkeletonDrawable. 2018-03-22 12:03:37 +01:00
NathanSweet
409f7ed133 [libgdx] Delegate to the specific batch rendering methods. 2018-03-22 12:03:26 +01:00
badlogic
4f446e7952 [maven-release-plugin] prepare for next development iteration 2018-02-23 11:12:40 +01:00
badlogic
03f3aadca3 [maven-release-plugin] prepare release spine-libgdx-3.6.52.1 2018-02-23 11:12:34 +01:00
badlogic
2987e2ae69 [maven-release-plugin] prepare for next development iteration 2018-01-22 12:16:16 +01:00
badlogic
fc02cbba07 [maven-release-plugin] prepare release spine-libgdx-3.6.51.1 2018-01-22 12:16:10 +01:00
badlogic
dd61552c82 [libgdx] Fix for #1064, delay was calculated incorrectly for non-loop previous track entries. 2018-01-12 11:08:49 +01:00
Nathan Sweet
882f49f5a9 Fix not returning to setup pose when multiple mixing from entries end at same time
#1024
2017-10-28 00:20:33 +02:00
Nathan Sweet
1514b4acbb Removed bad fix for #1024 2017-10-28 00:05:56 +02:00
NathanSweet
28fd5aff09 [libgdx] Don't use the dip fix if mixing is complete.
closes #1024
2017-10-23 18:30:46 +02:00
NathanSweet
472392190f [libgdx] Documented track entry timeline mix types.
#1024
2017-10-23 18:15:49 +02:00
NathanSweet
77b38c2ed1 [libgdx] Javadocs. 2017-10-20 22:00:08 +02:00
NathanSweet
bcf90240db [libgdx] Fixed using path constraint length spacing with zero length bones. Safer float zero checks. 2017-10-19 12:44:00 +02:00
NathanSweet
33d4c60ac7 [libgdx] Don't mix from uninitialized vertices. Clear vertices instead of leaving them in current state before first key when alpha is 1. More efficient clearing of deform before first key. 2017-10-10 19:11:20 +02:00
NathanSweet
812510e948 [libgdx] Avoid batch flush when switching between normal and additive rendering with PMA. 2017-10-09 11:52:29 +02:00
NathanSweet
f06bfd9f16 [libgdx] Better exception message for Batch that can't render meshes. 2017-10-09 11:44:00 +02:00
Nathan Sweet
5e829cb006 [gdx] Changed pma flag to uniform. Added blendFuncSeparate.
Functionally the same but seems a bit cleaner versus using the dark color's alpha.

#1003
2017-09-30 15:42:01 +02:00
Nathan Sweet
8ab5ad4b6c [gdx] Minor cleanup for PMA tint black.
#1003
2017-09-30 14:40:13 +02:00
badlogic
2c45dd2f1e [libgdx] Ported new tint black shader. See #1003. @nathansweet please have a look. 2017-09-30 09:27:08 +02:00
badlogic
221372e409 [libgdx] Fixed non-PMA rendering in SkeletonRenderer. Colors were always premultiplied by alpha. 2017-09-30 09:18:41 +02:00
badlogic
69923111b9 [libgdx] Breaking change: SkeletonRenderer no longer handles updating skeletons attached via SkeletonAttachment. Introduced new Skeleton#updateWorldTransform(Bone) that must be explicitely called by the user before rendering skeletons including attached skeletons. See SkeletonAttachmentTest for an example. Closes #1005 2017-09-27 14:03:05 +02:00
NathanSweet
e4ee88574f [libgdx] Better Skeleton#setSkin javadocs. 2017-09-22 14:24:42 +02:00
Nathan Sweet
247d94f10b [libgdx] Better exception message. 2017-09-04 13:41:34 +02:00
Nathan Sweet
c8d595565b Fixed interrupting a mix with a new entry that has 0 mixDuration.
closes #970
2017-08-23 12:15:58 +02:00
NathanSweet
e62d8a921c Merge remote-tracking branch 'origin/3.6' into 3.6 2017-07-31 13:15:03 +02:00
NathanSweet
a0b7bb6c44 [libgdx] Convenience method to add all attachment from one skin to another. 2017-07-31 13:14:58 +02:00
badlogic
84fe30a2bf [runtimes] Fixed handling of zero length bones in PathConstraint if spacing is length based. Closes #957 2017-07-31 11:29:03 +02:00
badlogic
d950da644f [xna] More clipping debugging 2017-07-21 16:12:34 +02:00
badlogic
8f6725db33 [libgdx] Fix applying flipping for noScale/noScaleOrReflection transform mode. See #951 2017-07-19 13:55:32 +02:00
NathanSweet
61e54a5771 [libgdx] Don't use DIP_MIX across tracks.
`DIP_MIX` finds the next entry which does NOT key the timeline property and mixes out the "dip fix" (which is where a timeline is fully applied because a subsequent timeline keys the same property). This handles the case of A->B->C->D where A, B, and C key the same property but D doesn't. A uses the dip fix, then when D mixes in, `DIP_MIX` causes A to mix out, affecting B and C. If D is in another track, it is applied concurrently with A, B, and C so should not cause A to mix out.
2017-06-24 03:06:50 +02:00
NathanSweet
1a92702456 Less odd control flow.
End result is the same.
2017-06-22 10:35:08 +02:00
NathanSweet
5138d703f3 Merge remote-tracking branch 'origin/3.6' into 3.6 2017-06-21 15:46:38 +02:00
NathanSweet
a8e1faf4dd [libgdx] Fixed mixing unweighted meshes that aren't keyed on frame zero.
closes #925
2017-06-21 15:46:33 +02:00
badlogic
ddf38c0ce1 [libGDX] VertexEffect now also lets you modify UVs and light/dark color. 2017-06-21 14:35:55 +02:00
badlogic
c9de3116f0 [maven-release-plugin] prepare for next development iteration 2017-06-19 22:42:53 +02:00
badlogic
521f459764 [maven-release-plugin] prepare release spine-libgdx-3.6.34.0 2017-06-19 22:42:46 +02:00
NathanSweet
c5907b6714 [libgdx] Ignore clipping attachments with too few vertices.
Needed for editor, check not necessary for other runtimes.
2017-06-19 14:04:19 +02:00
NathanSweet
8a78eb4cf5 [libgdx] Thread safety for acquiring next VertexAttachment ID. 2017-06-12 16:47:16 +02:00
NathanSweet
5540b47f21 Changed Timeline#apply to enum parameters, AnimationState special cases track 0 to apply setup pose before first key. 2017-06-12 02:48:58 +02:00
NathanSweet
a8577b78a7 Shift attachment IDs to reduce effort needed to compute DeformTimeline ID. 2017-06-10 18:28:16 +02:00
NathanSweet
45870ef028 Added vertex attachment IDs for DeformTimeline. 2017-06-10 18:21:15 +02:00
NathanSweet
464e9b3362 [libgdx] Removed sysouts.
Dang amateurs!
2017-06-02 00:09:59 +02:00
NathanSweet
ef6ccb84d3 [libgdx] Fixed deform timelines not mixing to/from setup pose. 2017-06-01 23:44:09 +02:00
NathanSweet
088a870463 [libgdx] Return true from AnimationState#apply if any animation was applied.
Makes it easier to know when you don't need to call updateWorldTransform.
2017-06-01 21:14:34 +02:00
NathanSweet
787170fa46 [libgdx] Don't need an immediate mode renderer. 2017-06-01 16:48:04 +02:00
NathanSweet
ac72220dc0 [libgdx] Made Skin lookup object non-static.
closes #911
2017-05-28 23:15:58 +02:00
NathanSweet
b8da5a1d44 Clean up. 2017-05-27 17:54:24 +02:00
NathanSweet
42fa637508 [libgdx] Added vertex effects. 2017-05-27 17:43:18 +02:00
NathanSweet
d7c9feb0b5 [libgdx, c] Avoid relying on NaN behavior.
#903
2017-05-24 17:14:33 +02:00
NathanSweet
a69f9d579f Removed mixing from limit, dispose track entries ASAP.
#899
2017-05-24 03:32:36 +02:00