74 Commits

Author SHA1 Message Date
Luke Ingram
88aa654a77 [csharp] Port of commit 687260a: Removed SlotData#path. 2024-05-15 09:07:12 -04:00
Harald Csaszar
e630d1bda7 [csharp] Port of commit f4f22cd. Added bone transform inheritance timeline. Renamed TransformMode to Inherit. 2024-03-27 17:28:29 +01:00
Harald Csaszar
dce854e785 [csharp] Fixed a porting error of leftover break. See commit 8dd7016. 2024-03-21 18:06:30 +01:00
Harald Csaszar
d1c09687e8 [csharp] Port of commit 98c5be6. Use delta for physics limit, apply limit to scale. 2024-03-07 15:25:22 +01:00
Harald Csaszar
8dd7016a72 [csharp] Port of commits 254a484 and f762a94: Added physics limit, smaller binary size. 2024-03-06 18:18:41 +01:00
Harald Csaszar
8e56a6c920 [csharp] Port of commit 1dbbfda: Added skeleton reference scale. Fixed leftover gravity and wind timeline scale. 2024-03-04 16:28:51 +01:00
Harald Csaszar
468656ba0e [csharp] Port of commit 11b339b. Added slot path nonsessential data. 2024-01-22 18:43:18 +01:00
Harald Csaszar
be25484ac2 [csharp] Renamed utility method ReadByte to ReadUByte to prevent future porting pitfalls (see preceding commit). 2024-01-12 19:48:47 +01:00
Harald Csaszar
cb33b34a4a [unity] Fixed wond IKConstraint timeline bend-direction with skeleton binary. Closes #2448. 2024-01-12 19:10:38 +01:00
Harald Csaszar
c7a81230ff [csharp] Fixed PhysicsConstraint ignoring load scale. 2024-01-11 17:05:10 +01:00
Harald Csaszar
626e661ecf [csharp] Fixed compile error on e.g. Unity version 2017.1 not supporting 0b111 litterals. 2023-11-17 17:52:59 +01:00
Harald Csaszar
fe53638f69 [csharp] Ported 4.2-beta physics. 2023-11-17 17:18:18 +01:00
Mario Zechner
4047f1ba07 Updated license headers. 2023-07-31 13:29:16 +02:00
Harald Csaszar
01b8c06800 [csharp] Code cleanup: replaced var with explicit type names. 2023-01-10 13:03:56 +01:00
Harald Csaszar
5a95f90c67 Merge branch '4.0' into 4.1-beta 2022-03-22 15:22:06 +01:00
Harald Csaszar
559af1159b [csharp] Minor bugfix of binary 3.8 version fallback reading logic. 2022-03-22 15:20:06 +01:00
Harald Csaszar
3250e74e26 [csharp][unity] Port sequence attachment. See #1956. Also port of other 4.1-beta branch changes compared to 4.0. 2021-11-03 15:26:22 +01:00
Nathan Sweet
96a998b82d Spine Runtimes License Agreement update (September 24, 2021). 2021-09-24 18:18:19 -10:00
Mario Zechner
d12b15ca8d [csharp] Format all source code using formatters/.editorconfig 2021-08-18 18:59:53 +02:00
Nathan Sweet
0b01c0036e [as3][c][cpp][csharp][libgdx][ts] Fixed SkeletonBinary scale not being applied to some timelines.
closes #1928
2021-07-20 13:31:31 -04:00
Nathan Sweet
a5be08a62a More clean up. 2021-06-05 21:16:36 -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
8c4d03c8be Fixed reading path constraint mix timelines in binary data. 2021-03-01 18:18:05 +01:00
Harald Csaszar
7ef2fc96db [csharp] Porting of commits dbd90ca, da1b280, 10d5a91 and e14db0e (includes 4.0 format changes). Fixed errors in color parsing introduced by previous porting 4.0 commit.
* Added separate X and Y for transform constraint translate and scale mix.
* Renamed `xxxMix` to `mixXxx` to avoid names like `scaleXMix`.
* Added separate X and Y sliders for path constraint translate mix.
* Added a proportional spacing mode to path constraints.
* Fixed path constraint when a parent bone of the path is scaled.
2020-11-16 21:01:11 +01:00
Harald Csaszar
407c591a2c [csharp] Ported commits 549e9ae and 6e709a1, (format changes for 4.0.24-beta) "Added separate keying for translateX/Y, scaleX/Y, shearX/Y, and colorRGB/A.". Updated example skeletons. 2020-11-12 19:34:21 +01:00
Harald Csaszar
b62c531487 [unity] Now failing more gracefully when loading of binary skeleton data fails. Fixed memory leak when loading incompatible binary skeleton asset. Closes #1799. See #1497. 2020-10-28 19:33:13 +01:00
Harald Csaszar
d2529d410b [csharp] Porting of major 4.0-beta runtime changes. Remaining Unity assets will be updated in separate commit. See #1796. 2020-10-22 14:44:13 +02:00
Harald Csaszar
a7e2c9d52a [csharp] SkeletonBinary: Optimization of ReadFloat and ReadInt performance, overall ~10% performance gain. Closes #1698. 2020-06-12 11:37:37 +02:00
badlogic
b67bf992a0 Single bone IK fix and license header update. Closes #1580, closes #1581. 2019-12-20 12:20:46 +01:00
Harald Csaszar
bc522117b1 [csharp] Fixed a typo in SkeletonBinary.cs that led to a compile error. 2019-08-07 14:48:44 +02:00
badlogic
336288cb2e [csharp] fix parsing of default skins without attachment for binary files. 2019-08-07 11:43:29 +02:00
Harald Csaszar
505719c1f1 [unity] Added soft IK support. See #1383. 2019-06-20 10:19:17 +02:00
Harald Csaszar
55daa017d5 [csharp] Fixed a mistake of last porting commit 217ebe8: Binary format, added a string table. Changed some lines to be closer to ref-impl. 2019-06-05 20:57:20 +02:00
Harald Csaszar
217ebe8888 [csharp] Port of commits 7249fd6, 30a1a9b, 634887f: Binary format, added a string table. csharp: Moved separate functions to SkeletonInput class for unification with reference impl. 2019-06-05 19:57:23 +02:00
Harald Csaszar
5193613445 [csharp] Port of commit ec5b721: Set array sizes up front rather than shrink afterward. Also changed IkConstraintData.Bones type from List<BoneData> to ExposedList<BoneData> for unification reasons. 2019-06-05 18:43:24 +02:00
Harald Csaszar
4a684f63bf [csharp] Ported more skin API changes of commits eae88a0 and b87ff73 (Added Mesh#newLinkedMesh(), replaced VertexAttachment#applyDeform with VertexAttachment#deformAttachment), see #841. 2019-05-31 21:25:46 +02:00
Harald Csaszar
c63bc7b88f [csharp] See #1346: Port bone/constraint association with skins. Also contains second (and final) partial port of commit ff5b854. Adapted spine-unity for skin changes. Fixed a bug in Skin setter property. 2019-05-22 18:37:57 +02:00
Harald Csaszar
a009c35b82 [csharp] Ported skin API changes, see #841. 2019-05-17 13:54:56 +02:00
badlogic
09130b15df Merge branch '3.7' into 3.8-beta 2019-05-02 11:43:36 +02:00
badlogic
7f7e5f0fec Updated license headers and LICENSE files. 2019-05-02 11:38:19 +02:00
badlogic
d337f587b7 [csharp] Ported addition of x/y bounding coordinates to SkeletonData. See #1325. 2019-04-16 14:55:54 +02:00
Harald Csaszar
f186a83fca [csharp] Unified all line endings of files in spine-csharp to lf. 2018-12-24 12:43:06 +01:00
pharan
0d33b54ef0 [csharp] Add event volume and balance. 2018-09-06 20:33:41 +08:00
pharan
cbd6b2617e [csharp] Port IkConstraint unform and compress. 2018-08-24 05:54:02 +08:00
pharan
d5354cb6bf [csharp] Ported stretchy IK. See https://github.com/EsotericSoftware/spine-runtimes/issues/1142 2018-08-14 23:45:38 +08:00
pharan
83778a76c1 [csharp] Add audioPath to EventData and SkeletonData 2018-01-19 02:47:44 +08:00
pharan
ca9f46d92b [csharp] Fix (IS_UNITY) symbol. 2017-07-20 19:03:11 +08:00
badlogic
63c3a48014 [csharp] Added clipping attachment, loading and subs for clipping code 2017-04-19 14:14:09 +02:00
John
3697e431ee [csharp] Fix reading dark color from binary. 2017-02-28 22:37:46 +08:00
badlogic
03c41b7667 [csharp] Fixed transform constraint binary reading, didn't read local/relative properties 2017-02-20 10:59:27 +01:00