1180 Commits

Author SHA1 Message Date
badlogic
cb179c73dc [libgdx] Fix signing config for snapshot releases 2021-06-10 15:00:50 +02:00
badlogic
0549aaa541 [maven-release-plugin] prepare for next development iteration 2021-06-10 14:09:01 +02:00
badlogic
139e5dfefd [maven-release-plugin] prepare release spine-libgdx-3.8.99.1 2021-06-10 14:08:55 +02:00
badlogic
3678f3800b [libgdx] More changes to pom.xml 2021-06-10 14:08:30 +02:00
badlogic
337441127f [libgdx] Update plugin versions 2021-06-10 14:05:25 +02:00
badlogic
7cb7a9e64b [libgdx] Use latest libGDX release 2021-06-10 13:54:33 +02:00
badlogic
70167fdb0f [libgdx] Preparation for 3.8.99.1 relesae 2021-06-10 13:49:50 +02:00
Nathan Sweet
0544e14102 [lua] 4.0 porting complete. 2021-06-08 20:25:14 -04:00
Nathan Sweet
c7ac5b21a8 [libgdx] Added version field to SkeletonViewer.
Needed to rebuild with latest build system.
2021-06-08 16:02:56 -04:00
Nathan Sweet
d856ece2f2 SkeletonJson clean up. 2021-06-06 23:18:12 -04:00
Nathan Sweet
a5be08a62a More clean up. 2021-06-05 21:16:36 -04:00
Nathan Sweet
700d2897a8 Various clean up. 2021-06-04 22:16:54 -04:00
Nathan Sweet
7df74c2fa4 Various fixes, clean up.
* Added missing CurveTimeline#shrink calls. c and cpp got BOZO comments until the method is added.
* SkeletonJson#readCurve clean up.
* ts, use shorthand for null checks.
* csharp, don't use unnecessary hasNext local.
2021-06-03 21:42:35 -04:00
Nathan Sweet
7aa940a961 Fixes for reading mix X/Y. 2021-06-03 15:33:48 -04:00
Nathan Sweet
963da7561e [csharp] Code style update.
* `else` on same line as `if` brace.
* `var` only when the type is shown.
* Removed unnecessarily locals, eg `var events = this.events; var eventsItems = events.Items;`.
* Don't indent `case`.
* ExposedList for EventQueue just so iteration can use array indexing.
* EventQueue, inner members (struct/enum) after methods.
* No braces for single line `if/else/for`.
* Removed comments noting ref impl code, eg `// abc.setSize(xyz);`.
* Removed comments that didn't add to what the code shows, eg `// Pooling`.
* Removed comments not in ref impl about implementation details, eg `// nextTrackLast == -1 ...`.
* Removed commented code we are not using.
* Use local with list.Items when iterating.
2021-05-31 01:26:41 -04:00
Nathan Sweet
a5bbe44477 [libgdx] Clean up. 2021-05-30 13:03:41 -04:00
Nathan Sweet
14b317008b [libgdx] Keep slot deform when changing the attachment if the new attachment is compatible with the deform.
Forum discussion:
http://esotericsoftware.com/forum/Swapping-a-linked-mesh-attachment-causes-a-flicker-15869?p=69490#p69490
2021-05-27 18:37:46 -04:00
Nathan Sweet
1ffab53d97 [libgdx] Javadoc typos. 2021-05-27 13:18:46 -04:00
Nathan Sweet
4f73fbbb39 [libgdx] Fixed applying a constraint reverting changes from other constraints.
Previously: When a bone in the update cache is updated, the local transform is used. This causes any applied transform to be lost, losing the pose from any previously applied constraints.

After this commit: Before processing the update cache, first all bones applied transform is set to the local transform. Next, when a bone in the update cache is updated, the applied transform is used. This keeps the pose from any previously applied constraints. Additionally, instead of using the `appliedValid` flag, the applied transform is always updated after making changes to the world transform.

Forum discussion:
http://esotericsoftware.com/forum/Editor-Parent-constraint-order-breaks-child-constraints-15774?p=69494#p69494
2021-05-25 13:12:55 -04:00
badlogic
f94113e4db Merge branch '3.8' into 4.0-beta 2021-05-07 12:02:36 +02:00
badlogic
e59d6be170 [libgdx] Closes #1886, use PolygonSpriteBatch in simple tests. 2021-05-07 12:01:15 +02:00
Nathan Sweet
be5efc5fa7 [libgdx] Update version for JsonRollback. 2021-05-06 15:31:59 -07:00
Nathan Sweet
9795ef1a1d [libgdx] Minor clipping improvements.
* Don't return clipping polygon count (editor no longer needs it).
* Avoid returning to the pool, then immediately getting it out again.
2021-04-08 15:40:28 +02:00
Nathan Sweet
33bce01fee [libgdx] Allow uniform for two bone IK. 2021-04-01 00:47:09 +02:00
Nathan Sweet
f9862b10b3 [libgdx] Stretch forces 0 child Y, avoid acos and division. 2021-03-31 18:03:46 +02:00
Nathan Sweet
af336cc23a [libgdx] Don't set font color every frame. 2021-03-15 12:37:41 +01:00
Nathan Sweet
4ecca69cff [libgdx] Added FboTest. Use ScreenUtils#clear. 2021-03-15 12:37:16 +01:00
Nathan Sweet
b05422bf0d [libgdx] Added SkeletonLoader#readSkeletonData(InputStream). 2021-03-13 19:07:48 +01:00
Mario Zechner
365b242a46 [libgdx] Update Gradle build to use latest libGDX release. 2021-03-10 21:56:57 +01:00
Nathan Sweet
8c4d03c8be Fixed reading path constraint mix timelines in binary data. 2021-03-01 18:18:05 +01:00
Nathan Sweet
8f7a9254f4 Minor Skeleton Viewer improvements. 2021-03-01 17:51:42 +01:00
badlogic
688d855006 [runtimes] Updated examples with Editor version 4.0.58-beta. 2021-03-01 10:05:26 +01:00
Nathan Sweet
0f518bf57d Fixed Skeleton Viewer NPE on load. 2021-02-26 11:24:50 +01:00
Nathan Sweet
ec14789c02 [libgdx] JsonRollback, added limited support for 4.0.xx to 3.8.99. 2021-01-06 18:54:20 -08:00
Nathan Sweet
12d83571ae [libgdx] Javadoc. 2021-01-05 22:46:00 -08:00
Nathan Sweet
be84904181 Fixed Skeleton Viewer for libgdx TextureAtlas changes. 2021-01-02 18:41:51 -08:00
Nathan Sweet
8d75855191 [libgdx] Refactored SkeletonViewer into multiple files. Load PMA setting from new atlas format. 2020-12-23 16:27:34 -08:00
Nathan Sweet
93695d5eed [libgdx] Added a frame-by-frame example. 2020-12-20 22:58:07 -08:00
Nathan Sweet
f8d6359b32 [csharp][unity] Updated TextureAtlas parsing for latest format. 2020-12-20 15:26:05 -08:00
Nathan Sweet
08927258cc [libgdx] Use separate color/alpha blend functions to fix non-PMA FBO rendering.
closes #1540
2020-12-08 17:26:31 -08:00
Nathan Sweet
53c29ab95a Added SkeletonAssetManagerTest. 2020-12-02 11:49:47 -08:00
Nathan Sweet
df489b1f4a [libgdx] Fixed an infinite loop with path constraint. 2020-11-23 17:37:48 -08:00
Nathan Sweet
1b4973628c [libgdx] Fixed path constraint spacing for zero length bones. 2020-11-22 20:37:08 -08:00
Nathan Sweet
3cab1615ad [libgdx] Added Skeleton#setColor(float, float, float, float). 2020-11-19 18:12:03 -08:00
Nathan Sweet
e14db0ec2c [libgdx] Fixed path constraint when a parent bone of the path is scaled.
closes EsotericSoftware/spine-editor#499
2020-11-15 23:50:34 -08:00
Nathan Sweet
10d5a918ca [libgdx] Added a proportional spacing mode to path constraints.
EsotericSoftware/spine-editor#414
2020-11-15 23:50:34 -08:00
Nathan Sweet
da1b280275 [libgdx] Added separate X and Y sliders for path constraint translate mix. 2020-11-15 17:10:14 -08:00
Nathan Sweet
dbd90caa53 * Added separate X and Y for transform constraint translate and scale mix.
* Renamed `xxxMix` to `mixXxx` to avoid names like `scaleXMix`.
2020-11-14 18:59:42 -08:00
Nathan Sweet
391917d37b [libgdx] Fixed AlphaTimeline and loading RGB timelines in skeleton data. 2020-11-12 12:33:58 -08:00
Nathan Sweet
6e709a160f [libgdx] Fixed RGB2Timeline and loading skeleton data data. 2020-11-12 00:06:38 -08:00