151 Commits

Author SHA1 Message Date
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
Nathan Sweet
95b593ef1f Added WIP stencil-based clipping attachment. 2017-03-25 11:04:17 +09:00
badlogic
fe8eae4b8e [c] Ported 3.6 changes, two color timeline, changed updateWorldVertices to computeWorldVertices, point attachment, transform constraint local and relative mode. Does not actually render two color tinted slots yet. Also updated example exports 2017-01-30 16:31:16 +01:00
NathanSweet
6fb9a4e991 Merge branch 'master' into 3.6-beta 2016-12-06 16:57:05 +01:00
NathanSweet
932467e3ac [libgdx] Fixed AnimationStateTests. 2016-12-02 04:28:15 +01:00
NathanSweet
efd0b31723 Added PointAttachment. 2016-11-30 01:11:09 +01:00
NathanSweet
a24fea41c0 Merge branch 'master' into 3.6-beta 2016-11-28 19:25:30 +01:00
NathanSweet
75b44deda0 [libgdx] Added test for two setAnimation calls with mixing. 2016-11-28 16:39:38 +01:00
NathanSweet
7e4ce21951 [libgdx] Added tracking to AnimationState pool. 2016-11-28 16:28:16 +01:00
NathanSweet
6a2b0f50de Renamed test events to 0 and 1, matching their indices, added a third test event. 2016-11-28 15:52:03 +01:00
NathanSweet
e9a1a5d080 Added a third test event. 2016-11-28 15:48:51 +01:00
NathanSweet
19bb3ccf35 Renamed test events to 0 and 1, matching their indices. 2016-11-28 15:42:12 +01:00
NathanSweet
77099330ad Refactored skeleton renderer, added two color tint polygon renderer. 2016-11-28 00:41:41 +01:00
NathanSweet
6d7217d44c [libgdx] Fixed AnimationStateTests.
It now takes one extra frame for a track to be cleared when trackEnd is reached.
2016-11-23 16:52:17 +01:00
NathanSweet
36000e3c55 Updated to v3.5 (merge dev branch).
# Conflicts:
#	spine-c/src/spine/AnimationState.c
2016-11-15 23:10:23 +01:00
NathanSweet
c0fdc454a2 Fixed inconsistent newlines.
License header was followed by \n\n and files ended with \n. Changed to \r\n.
2016-10-15 23:45:16 +02:00
badlogic
5aa27771c3 [runtimes] Updated ALL sources to use latest Spine Runtimes License v2.5. Manually checked all the things... 2016-10-13 15:12:05 +02:00
Mario Zechner
5b1814cff3 spine-lua, spine-love, spine-corona update to 3.4.02 (#722)
The spine-lua API has been updated to be compatible with Spine version 3.4.02 (latest stable). The spine-lua API now supports path constraints, transform constraints, uses the new way we encode meshes etc. There are no API breaking changes, only API additions, such as PathConstraints and TransformConstraints as well as additional methods to Skeleton and similar classes. The internals of the spine-lua API have also been updated to follow Lua best performance practices by localizing heavily and using meta tables for "class methods". The spine-lua API now also loads texture atlases as exported by Spine. All that is required for a consumer is to supply an image loading function for their specific engine/framework. We provide implementations for spine-love and spine-corona.

The spine-love API can now render all Spine attachment types, including meshes and linked meshes. The API has changed. Where previously a "class" Skeleton existed with a draw function, the new spine-love API introduces a new SkeletonRenderer. See the example on API usage.

The spine-corona API can now also render all Spine attachment types. The API has not changed.
2016-10-11 16:33:25 +02:00
NathanSweet
fce9f56a18 Updated examples.
#664
2016-08-09 21:29:01 +02:00
NathanSweet
e16df6cbd4 Examples updated to 3.4.00. 2016-07-13 14:26:04 +02:00
NathanSweet
00f75cf3fa [libgdx] Updated examples. 2016-07-06 16:39:04 +02:00
NathanSweet
14db99eea8 Updated examples. 2016-07-06 16:38:24 +02:00
NathanSweet
9a310a9d24 [libgdx] Removed path/tank/test skeletons. 2016-07-06 15:54:59 +02:00
NathanSweet
4f05341f4c [libgdx] Can resurrect later. 2016-07-06 12:06:29 +02:00
Mario Zechner
eb540387e6 [c][sfml][cocos2d-x][cocos2d-objc] Updated to 3.3.07 (#629) 2016-07-05 19:53:24 +02:00
NathanSweet
ee29123dfa Spine v3.3 WIP 2016-05-21 00:40:07 +02:00
NathanSweet
7525c37941 Changed tests to Java 1.7. 2016-04-03 19:11:04 +02:00
NathanSweet
bb187daa10 SkinnedMeshAttachment renamed to WeightedMeshAttachment. 2016-02-14 22:48:38 +01:00
NathanSweet
323df5799e Simpler test animation. 2016-02-11 17:14:48 +01:00
NathanSweet
cf01d47796 Updated Event in anticipation of AnimationState changes. 2016-01-21 11:38:23 +01:00
NathanSweet
f8ad5514af AnimationState unit test.
Pharan, y u so silly?!
2016-01-11 09:16:55 +01:00
NathanSweet
37f2f9e880 Updated for Spine 3.0.00. 2016-01-11 00:32:36 +01:00
NathanSweet
27270a5781 Spine Runtimes license update.
Minor update to fix "SOFTARE" typo and clairfy how to get permission.
2015-04-24 21:33:24 +02:00
NathanSweet
fb7db79ff8 Update for latest libgdx. 2015-04-03 22:59:54 +02:00
NathanSweet
451f7fd18d Updated raptor example data. 2015-03-29 00:45:39 +01:00
NathanSweet
858ca30fd8 Update for latest libgdx. 2015-03-27 01:41:59 +01:00
NathanSweet
85dba4aa3a Added bone plotting example. 2015-03-16 14:38:35 +01:00
NathanSweet
b3b3b25a83 Added skin to tests project, for NormalMapTest. 2014-12-11 03:18:25 +01:00
NathanSweet
3ed63ef028 Moar boxes. 2014-11-30 12:42:23 +01:00