1013 Commits

Author SHA1 Message Date
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
Nathan Sweet
549e9ae67b [libgdx] Added separate keying for translateX/Y, scaleX/Y, shearX/Y, and colorRGB/A.
The first editor version able to export data in this format is 4.0.24-beta.

EsotericSoftware/spine-editor#26
EsotericSoftware/spine-editor#27
2020-11-10 17:43:47 -08:00
Nathan Sweet
a814535110 [libgdx] Expose TwoColorPolygonBatch#setupMatrices(). 2020-10-28 15:58:17 -07:00
Nathan Sweet
f42f4bc3b3 [libgdx] Fixed javadocs, binary -> linear search. 2020-10-26 15:47:18 -07:00
badlogic
2545b4efdc Fix libGDX versioni in Maven and Gradle builds. 2020-10-22 14:52:59 +02:00
Nathan Sweet
3ab0b72033 [libgdx] Fixed skeleton data loader scale for IK constraint timelines. 2020-10-21 21:31:47 -07:00
Nathan Sweet
453b49f55d [libgdx] Fixed reading dark colors from JSON. 2020-10-14 19:13:27 -07:00
Nathan Sweet
01250b0491 Expose debug renderer colors. 2020-10-14 14:47:59 -07:00
Nathan Sweet
da6d73a365 Fixes for latest libgdx (scrolled now takes x/y floats). 2020-10-13 17:34:56 -07:00
Nathan Sweet
98a6c8f696 Exported examples with export.sh 4.0.05-beta and ran runtimes.sh. 2020-10-10 16:22:40 -07:00
Nathan Sweet
3bfbc75a6a Fixed SkeletonBinary scale for path constraint position/spacing. 2020-10-06 13:23:32 -07:00
Nathan Sweet
1dbbec55fc Added setDefaultShader and a bind method for customization when a texture is bound (eg to set shader values). 2020-10-05 23:08:26 -07:00
Nathan Sweet
4e34c0bae1 [libgdx] Removed updateCacheReset optimization.
closes #549
2020-09-20 22:42:05 -07:00
Nathan Sweet
21ebb2db4b [libgdx] Fixed scale timelines not combining key scale with setup pose. 2020-08-20 14:08:53 -07:00
Nathan Sweet
c7e3729546 [skeletonviewer] Better place for test code. 2020-08-13 11:49:16 +02:00
Nathan Sweet
31d040ee05 Merge branch '3.8' into 4.0-beta
# Conflicts:
#	spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/AnimationState.java
2020-08-12 22:24:43 +02:00
Nathan Sweet
829035330b [libgdx] Fixed incorrect mixing when interrupting a mix with a 3rd entry using hold previous.
closes #1738
2020-08-12 22:17:22 +02:00
Nathan Sweet
83931434cc [skeletonviewer] Don't apply hold previous to track 0 or to the first entry on a track. 2020-08-12 22:03:21 +02:00