139 Commits

Author SHA1 Message Date
badlogic
a4584a1a1c [ts] Added event volume and balance, see #1171. 2018-09-06 14:45:55 +02:00
badlogic
74734bc542 [runtimes] Re-exported samples with 3.7. 2018-09-03 15:16:20 +02:00
NathanSweet
9b259c66e0 Added TrackEntry#holdPrevious to avoid dipping in higher tracks.
Also:
- Added mixingTo to make track entries a doubly linked list, removing the need for the mixingTo array.
- Renamed dip->hold, timelineData->timelineMode, timelineDipMix->timelineHoldMix ("dip" naming was bad).
2018-08-16 02:51:49 +02:00
badlogic
4b66fffcd7 [cpp] Updated samples to include stretch IK flag, implemented stretchy IK for C++. 2018-08-14 14:30:11 +02:00
Mario Zechner
ac7fe7ca80 Updated examples to 3.7, including stretchy ik. 2018-08-03 14:57:10 +02:00
NathanSweet
d9a6b9151b Changed skeleton flipX/Y to scaleX/Y.
Cleans up applying transforms and is more powerful. Allows scaling a whole skeleton which has bones that disallow scale inheritance.
2018-07-02 16:45:06 +02:00
NathanSweet
83331fa892 [libgdx] Removed unused import. 2018-04-15 18:24:53 +02:00
badlogic
c97553474e Added new assets for libGDX tests. 2018-04-12 10:24:42 +02:00
badlogic
b547280eb9 Updated samples, added owl. 2018-01-18 15:18:31 +01:00
NathanSweet
bda035e836 Added additive mixing, still a WIP. 2017-10-27 00:23:41 +02:00
NathanSweet
406a8fba13 [libgdx] Fixed off by 1 errors. 2017-10-21 21:48:04 +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
942fb4917d [libgdx] Removed unused import. 2017-07-31 13:17:01 +02:00
badlogic
65d1f51acc [c][sfml] Added spVertexEffect, and some math utilities. Fixed unit tests. 2017-06-26 14:00:00 +02:00
NathanSweet
3c1c829e97 Remove unused import. 2017-06-21 21:25:26 +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
9bd1153518 Updated examples and runtime demo code 2017-06-19 16:47:28 +02:00
NathanSweet
55b558064a Removed spineboy-old binary. 2017-06-17 18:00:02 +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
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
42fa637508 [libgdx] Added vertex effects. 2017-05-27 17:43:18 +02:00
NathanSweet
b882fb8c51 Support for multiple mixing without dipping.
The multiple mixing setting has been removed. Multiple mixing is always done and dipping is avoided for adjacent track entries.

This is pretty close to complete. Mixing `a -> b` where both key property `x` avoids dipping. If the mix is interrupted by `c`, the dipping is properly mixed out. However, if `c` *also* keys `x`, a dip is seen.

This is good test JSON data:
http://n4te.com/x/1948-6b1G.txt
The problem can be seen by doing `m1 -> m1-dup` then interrupting the mix with `m1`.

Related issues: #621, #815, #899, #900
2017-05-16 04:35:54 +02:00
badlogic
8920840ecf [starling] Fixed renderer, ignores path attachments. Fixed samples, click on sprites to advance to next sample. Updated assets 2017-04-11 13:11:02 +02:00
badlogic
bb93011144 [libgdx] Fixed Box2D test, offset bounding boxes by skeleton x/y 2017-04-11 12:25:09 +02:00
Nathan Sweet
ff98e136a1 Bit of reorganization.
It's pretty now!
2017-04-07 16:54:07 +09:00
Nathan Sweet
c2b1140ef0 Unused import. 2017-04-04 23:26:17 +09:00
badlogic
18f0e6fe7f [libgdx] Fixed SkeletonClipping, ensure input clipping area is clockwise 2017-04-03 11:42:19 +02:00
Nathan Sweet
1254b06a91 Fixed AnimationState tests, added notes. 2017-04-01 16:59:40 +09:00
Nathan Sweet
7235f7c6b1 Moved SkeletonClipping to utils, since it isn't public API. 2017-04-01 08:52:06 +09:00
Nathan Sweet
7829b39e00 Added spiral test. 2017-04-01 08:48:40 +09:00
Nathan Sweet
57535b68dd Applied Nate's beautifier and standard set of useless optimizations. 2017-03-31 19:52:06 +09:00
badlogic
9ca215f2e9 [libgdx] Refactored SkeletonRenderer, moved clipping related code to SkeletonClipping, removed stencil clipping 2017-03-31 11:18:39 +02:00
badlogic
1675658f1a Merged with Nate's changes 2017-03-31 10:25:45 +02:00
badlogic
ace38dca5f [libgdx] Added convex decomposition to SkeletonRenderer. 2017-03-31 10:22:25 +02:00
Nathan Sweet
bc3cbf22e8 Clipping attachment loading, clean up. 2017-03-31 10:45:45 +09:00
badlogic
b8a603d6af [libgdx] Fixed up software clipping test 2017-03-30 16:03:37 +02:00
badlogic
23fd36a5f1 [libgdx] Improved and cleaned up decomposer 2017-03-30 15:31:24 +02:00
badlogic
1617eae131 [libgdx] Generating random concave polygons is hard. 2017-03-30 11:40:19 +02:00
badlogic
61d5a3de5a [libgdx] Working version of convex decomposer, can improve result by merging left over triangles at end of decomposition 2017-03-30 10:55:11 +02:00
badlogic
afd2a95594 [libgdx] Added first iteration of convex decomposer. Needs testing.2 2017-03-29 17:19:53 +02:00
badlogic
dc53f8d293 [libgdx] Clipper assumes counter clockwise order, easier to adapt decomposition algorithm that way 2017-03-29 14:30:11 +02:00
badlogic
242eaf2bcc [libgdx] Remove Array.add, avoid copying 2017-03-28 18:03:43 +02:00
badlogic
a10fd95e1b [libgdx] More micro optimizations for clipper. 2017-03-28 12:20:10 +02:00
badlogic
8866925570 [libgdx] Many micro optimizations, shaved off 40% of software clipping runtime. 2017-03-27 20:39:20 +02:00
badlogic
019a8e6587 [libgdx] Using Raptor for clip test, better worst case approximation 2017-03-27 19:26:35 +02:00
badlogic
6ae0c319ac [libgdx] Minor cleanup & optimizations, timing code in ClipTest 2017-03-27 19:05:35 +02:00
badlogic
af3b5655fc [libgdx] Added software clipping to SkeletonRenderer. Requires a polygon sprite batch and convex clipping attachment. 2017-03-27 18:50:44 +02:00
badlogic
c73971eb4c [libgdx] Refactored clipping code to take array, offset, stride, added triangulation and barycentric interpolation of UVs. 2017-03-27 16:52:58 +02:00
badlogic
b3ac8a7f72 [libgdx] Added SutherlandHodgmanClipper and corresponding SoftwareClippingTest 2017-03-27 15:20:00 +02:00
badlogic
0b40dd7a9f Updated exports 2017-03-27 10:19:51 +02:00