596 Commits

Author SHA1 Message Date
Nathan Sweet
9b37c31cae [libgdx] Fixed loading stepped timelines from JSON.
closes #1902
2021-06-14 22:28:09 -04:00
Nathan Sweet
8e21d09c79 [libgdx] Fixed pooled track entries not resetting mixBlend.
closes #1746
2021-06-14 22:18:35 -04:00
badlogic
cf24f5d678 Merge branch '3.8' into 4.0-beta
# Conflicts:
#	spine-libgdx/spine-libgdx/pom.xml
#	spine-libgdx/spine-skeletonviewer/src/com/esotericsoftware/spine/SkeletonViewer.java
#	spine-ts/build/spine-all.js.map
#	spine-ts/build/spine-canvas.js.map
#	spine-ts/build/spine-core.js.map
#	spine-ts/build/spine-player.js.map
#	spine-ts/build/spine-threejs.js.map
#	spine-ts/build/spine-webgl.js.map
2021-06-10 15:10:00 +02:00
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
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
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
b05422bf0d [libgdx] Added SkeletonLoader#readSkeletonData(InputStream). 2021-03-13 19:07:48 +01:00
Nathan Sweet
8c4d03c8be Fixed reading path constraint mix timelines in binary data. 2021-03-01 18:18:05 +01:00
Nathan Sweet
12d83571ae [libgdx] Javadoc. 2021-01-05 22:46:00 -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
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
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
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