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
f84022a730
Merge branch '4.1' into 4.2-beta
2024-03-07 18:27:08 +01:00
Harald Csaszar
3b8069f4b9
[csharp] Fixed "rgb2" timeline "light" color failing to read when having hexstring length 8 instead of 6. Closes #2476 .
2024-03-07 18:15:16 +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
2220f16e75
[csharp] Fixed formatting, removed unnecessary braces.
2024-03-04 17:09:50 +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
fa9028881d
[csharp] Minor: fixed formatting.
2024-01-11 17:08:25 +01:00
Harald Csaszar
c7a81230ff
[csharp] Fixed PhysicsConstraint ignoring load scale.
2024-01-11 17:05:10 +01:00
Harald Csaszar
fe53638f69
[csharp] Ported 4.2-beta physics.
2023-11-17 17:18:18 +01:00
Harald Csaszar
c8f2370e75
[csharp] Fix json TransformConstraint timtline mixShearY value being ignored.
2023-10-26 20:56:42 +02:00
Harald Csaszar
4b822f2242
[csharp] Port of commit 546d55a. Fixed reading shearY mix for transform constraint timelines.
2023-10-02 11:51:29 +02: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
2459755f8c
[csharp] Fixed IndexOutOfBounds at loading sequence attachments from json on older dotnet runtime version. Clsoes #2213 .
2022-12-14 17:44: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
Nathan Sweet
dc9a6ebe7f
[as3][c][cpp][csharp][libgdx][lua][ts] Fixed loading transform constraint timelines from JSON data.
...
* Fixed SkeletonJson not allocating enough memory for curves (maximum of 6 curves/key, not 4). Fixes email: FMfcgzGkbDfvckWcFxWlsTWzFhMXsTDw
* Removed SkeletonData and Skeleton methods: findBoneIndex, findSlotIndex. Bones and slots have an index field that should be used instead.
* Removed SkeletonData and Skeleton methods: find*ConstraintIndex. Only SkeletonJson needed these, they don't need to be in the public API.
* Used a local for number of frames where it was used many times.
2021-09-12 18:15:19 -06:00
Mario Zechner
d12b15ca8d
[csharp] Format all source code using formatters/.editorconfig
2021-08-18 18:59:53 +02:00
Harald Csaszar
8a47f548a3
[csharp] Fixed bezier json curve out of bounds array access. Closes #1921 .
2021-07-07 17:57:43 +02:00
Harald Csaszar
950760903b
[csharp] Port of bugfix commits 8e21d09 and 9b37c31, resetting mixBlend and stepped timelines. See #1903 .
2021-06-15 09:09:10 +02:00
Nathan Sweet
d856ece2f2
SkeletonJson clean up.
2021-06-06 23:18:12 -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
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
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
badlogic
b67bf992a0
Single bone IK fix and license header update. Closes #1580 , closes #1581 .
2019-12-20 12:20:46 +01:00
NathanSweet
842dffbd83
[all] Source clean up, formatting, and tabs for indentation.
2019-08-27 15:57:14 +02:00
Harald Csaszar
08f1741e2b
[csharp] Fixed two more differences between SkeletonJson reference implementation and csharp version. See #1411 .
2019-07-17 14:50:15 +02:00
Harald Csaszar
234daf516e
[unity] Fixed json curve import: was mis-interpreting curves as linear instead of a smooth curve. Closes #1411 .
2019-07-17 13:37:08 +02:00
Harald Csaszar
505719c1f1
[unity] Added soft IK support. See #1383 .
2019-06-20 10:19:17 +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
badlogic
4c104ef885
Merge branch '3.6' into 3.7-beta
2018-03-14 10:24:44 +01:00
pharan
0b01953690
[csharp] Some cleanup.
2018-03-08 22:38:28 +08:00
pharan
83778a76c1
[csharp] Add audioPath to EventData and SkeletonData
2018-01-19 02:47:44 +08:00
John
76b7e245bd
[csharp] Fixes for clipping.
...
based on : ea6319820f
Fixes: https://github.com/EsotericSoftware/spine-runtimes/pull/936
2017-07-11 06:37:32 +08:00
pharan
3bd5183721
[csharp] Remove Unity 4 and fix Unity 5+ check.
2017-06-18 21:57:22 +08:00