Nathan Sweet
0544e14102
[lua] 4.0 porting complete.
2021-06-08 20:25:14 -04:00
Mario Zechner
35650a6bb2
[c] port of constraint application oder, see #1896
2021-06-07 16:57:16 +02:00
Mario Zechner
857b2b64d8
[cpp] port of constraint application oder, see #1896
2021-06-07 16:45:14 +02:00
Mario Zechner
4715608108
[c][cpp] Fix remaining 4.0 porting bugs, apply formatter.
2021-06-07 16:13:25 +02:00
Mario Zechner
c76cdccf88
[ts] Undo fixup in TextureAtlas. The change prevented multi-page atlas parsing from working due to !""==null in JS.
2021-06-07 13:27:47 +02:00
Nathan Sweet
d856ece2f2
SkeletonJson clean up.
2021-06-06 23:18:12 -04:00
Nathan Sweet
0b26b5e74a
[lua] Many fixes, a few things still broken.
2021-06-06 23:17:26 -04:00
Nathan Sweet
6428b82e1e
[lua] 4.0 port fixes.
2021-06-05 21:55:01 -04:00
Nathan Sweet
a5be08a62a
More clean up.
2021-06-05 21:16:36 -04:00
Nathan Sweet
137c3f69ed
[lua] 4.0 port, runs but LOVE is not rendering.
2021-06-05 21:16:25 -04:00
Nathan Sweet
700d2897a8
Various clean up.
2021-06-04 22:16:54 -04:00
Nathan Sweet
3b650f8db1
[lua] Timelines 4.0 port.
2021-06-04 22:15:32 -04:00
Nathan Sweet
a8b79a66e1
[c, cpp] Renamed frameIndex parameters.
...
frame: frame number, 0 to frameCount - 1.
frameIndex: index into frames[].
2021-06-04 10:50:26 -04:00
Nathan Sweet
7bc5d995a3
[c] Fixed some incorrect constants.
2021-06-04 10:40:04 -04:00
Nathan Sweet
3ecf7929bf
[ts] Use constant values instead of static fields.
...
Even this ugliness is less ugly than TypeScript static field access. Smaller too.
2021-06-04 01:35:59 -04:00
Nathan Sweet
afcd899bca
[ts] Removed error checking in loaders.
...
Safe to assume the data is valid. If not the ref impl can be used to check it, which has error checks.
2021-06-04 00:54:45 -04:00
Nathan Sweet
3c0a43687b
[lua] SkeletonJson 4.0 port, clean up.
2021-06-03 22:04:11 -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
e40bc3c151
[c] Fixed wrong curve index.
2021-06-03 21:24:36 -04:00
Nathan Sweet
11ea258d8e
[ts] Example loads both JSON and binary.
2021-06-03 18:03:32 -04:00
Nathan Sweet
7aa940a961
Fixes for reading mix X/Y.
2021-06-03 15:33:48 -04:00
Nathan Sweet
fe9baaf849
[lua] Move spine-lua source to spine-lua subfolder.
2021-06-02 14:37:57 -04:00
Mario Zechner
d285e25dcd
Merge branch '4.0-beta' of https://github.com/EsotericSoftware/spine-runtimes into 4.0-beta
2021-06-02 09:28:32 +02:00
Mario Zechner
69f0873122
[c] Timeline type and debugging prints.
2021-06-02 09:28:24 +02:00
Harald Csaszar
538245fcda
[unity] Fix for UpdateWhenInvisible issue introduced in commit 5cb54bd. Closes #1897 . See #1883 .
2021-06-01 17:23:36 +02:00
Mario Zechner
a71d73928d
[c] Fix frame and curve array initialization in timelines, add debugging methods.
2021-05-31 15:58:18 +02:00
Mario Zechner
315ad0e523
[ts] Update build artifacts.
2021-05-31 11:49:37 +02:00
Harald Csaszar
87b6810675
[unity] Fixed compile error introduced by commit 963da75 (moved Search() method between classes).
2021-05-31 11:43:14 +02:00
Nathan Sweet
81744da44a
[ts] Port of fix for applying a constraint reverting changes from other constraints.
...
#1896
2021-05-31 01:42:33 -04:00
Nathan Sweet
6dfae6df3c
Missing port: Fixed AnimationState crash when the number of timelines changes during a mix.
...
Ref impl commit: b99df7286aa933411f90eda6dbdeffd936058ae4
2021-05-31 01:26:41 -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
551f33b2d1
[ts] Clean up, build fixes.
2021-05-30 20:17:54 -04:00
Nathan Sweet
9e00e5c701
[as3] Port of fix for applying a constraint reverting changes from other constraints.
...
#1896
2021-05-30 17:07:53 -04:00
Nathan Sweet
6ab69e62fc
[as3] SkeletonBinary 4.0 port.
...
#1796
2021-05-30 16:54:09 -04:00
Nathan Sweet
05327b8d11
[ts] Clean up.
2021-05-30 16:53:56 -04:00
Nathan Sweet
a5bbe44477
[libgdx] Clean up.
2021-05-30 13:03:41 -04:00
Nathan Sweet
80734017e0
[as3] Use function to get JSON values, better matches spine-ts.
2021-05-30 13:02:28 -04:00
Harald Csaszar
e7533dff0f
[csharp] Port of commit 14b3170 "Keep slot deform when changing the attachment if the new attachment is compatible with the deform.", see #1896 .
2021-05-28 12:36:13 +02: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
Harald Csaszar
602aa0f109
[examples][xna] Updated manually generated normal- and rim-mask maps for Raptor, using latest atlas format.
2021-05-27 21:15:35 +02:00
Harald Csaszar
8bced33fc6
[xna] Fixed a compile error in Atlas loading (in a non-Unity #if codebranch).
2021-05-27 19:41:45 +02:00
Nathan Sweet
1ffab53d97
[libgdx] Javadoc typos.
2021-05-27 13:18:46 -04:00
Nathan Sweet
7dc954f943
[as3] Fixed all warnings. Improved color parsing.
2021-05-27 13:18:46 -04:00
Nathan Sweet
ec164cf479
[starling] Fixed missing comma.
2021-05-27 13:18:46 -04:00
Harald Csaszar
7b1469c32b
[csharp] Ported commit 4f73fbb, "Fixed applying a constraint reverting changes from other constraints.", see #1896 .
2021-05-27 18:35:52 +02:00
badlogic
e6a14ff532
[c] 4.0 porting, complete but with bugs.
2021-05-26 15:17:20 +02: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
Harald Csaszar
bb239c326e
Merge branch '3.8' into 4.0-beta
2021-05-25 17:25:58 +02:00
Harald Csaszar
fab2b6e4ce
[unity] Hopefully fixed Spine Preferences textureSettingsReference setting changing between MacOS and Win. See #1895 .
2021-05-25 17:22:08 +02:00
Nathan Sweet
c8f5d2f6dd
Updated README and launch configuration for latest VS Code and download links.
2021-05-22 22:33:10 -04:00