110 Commits

Author SHA1 Message Date
Harald Csaszar
091ece0aa3 Merge branch '4.0' into 4.1-beta 2022-01-26 15:27:59 +01:00
Harald Csaszar
f5f91899f4 [csharp] Port fix of additive scale mixing. See #2028, see commit a5b6762. 2022-01-26 15:25:47 +01:00
Harald Csaszar
6f59a35f0d [csharp] Port of commit a898aed2: Added pingpongReverse to SequenceTimeline. 2021-12-13 20:34:21 +01:00
Harald Csaszar
90dd4bc8af [unity] SkeletonRootMotion components now respect TransformConstraint timelines. Closes #1944. 2021-11-16 18:01:00 +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
Harald Csaszar
cd8064774f [csharp][unity] Cleanup refactoring of TranslateTimeline.Evaluate code, see previous commit 91f7969c. See #1676. 2021-09-15 16:30:43 +02:00
Nathan Sweet
f4021177f9 [as3][c][cpp][csharp][libgdx][lua][ts] Don't treat scale sign as an instant transition when applying a timeline additively. 2021-09-15 00:28:43 -06:00
Harald Csaszar
91f7969cdc [csharp][unity] Adjusted spine-csharp and dependent modules to being used as separate UPM packages. See #1676. 2021-09-14 17:12:50 +02:00
Mario Zechner
d12b15ca8d [csharp] Format all source code using formatters/.editorconfig 2021-08-18 18:59:53 +02: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
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
ac542835b1 [csharp] Removed unused using statements which caused problems in some automated test context. 2020-10-23 14:32:40 +02: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
5b65f3f155 [csharp] Avoiding reallocations in Animation ctor by adding all HashSet entries at once. Closes #1709. 2020-06-24 11:46:07 +02:00
Harald Csaszar
37d569414d [csharp] Minor cleanup: removed unused variable, added null tests to legacy SpriteAttacher class. 2020-04-29 16:08:29 +02:00
Harald Csaszar
a0c0db0f5a [csharp] Fixed ColorTimeline and TwoColorTimeline result colors not being clamped. Closes #1664. 2020-04-24 16:56:53 +02:00
Harald Csaszar
39387b1015 [csharp] Port of commits dd1b3aaa and b566bfb0. Improved AnimationState deform mixing while attachment timelines mix out. See #1653. 2020-04-06 21:27:54 +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
8b9c9314f2 [unity] Fixed transition blending of Deform timeline. Led to difference of vertex location to reference implementation after animation transition. Closes #1525. 2019-10-18 15:17:24 +02:00
Harald Csaszar
570f8df178 [csharp] Store timeline ids inside set in Animation for O(1) lookup. See #1462. 2019-09-26 17:05:07 +02:00
NathanSweet
842dffbd83 [all] Source clean up, formatting, and tabs for indentation. 2019-08-27 15:57:14 +02:00
Harald Csaszar
505719c1f1 [unity] Added soft IK support. See #1383. 2019-06-20 10:19:17 +02:00
Harald Csaszar
1d0cce3707 [csharp] Port of more skin API changes, commits: 659c390, 7ee57dc, b3c2170, b71970a, 42c1c4a, 70cdf2d. See #841 2019-06-04 18:24:40 +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
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
Harald Csaszar
9deb3be61c [csharp] Ported AnimationState and Animation changes of commit bd306d4. See #1303. 2019-03-19 17:27:37 +01:00
Harald Csaszar
0da0294c83 [csharp] Fixed an error with property ID at deform timeline. Re-synced csharp code to ref impl as much as possible. See #1294. 2019-03-12 16:46:46 +01: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
536ccce9ea
[csharp] Update DrawOrderTimeline setup pose code. 2018-12-03 18:25:11 +08:00
pharan
5530805a3e
[csharp] Fix ColorTimeline.Apply before first key. 2018-11-28 23:26:45 +08:00
pharan
5b7dddd9ce [csharp] BoneTimeline and SlotTimeline interfaces. 2018-09-23 23:53:37 +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
b4c8deb283 [csharp] Animation and AnimationState 3.7 2018-01-19 05:34:20 +08:00
John
4277027e0d [csharp] Don't mix from uninitialized vertices. See https://github.com/EsotericSoftware/spine-runtimes/issues/1016 2017-10-11 17:09:59 +08:00
Serhii Yolkin
c9722319de [unity] SkeletonAnimator and Animation optimizations (#977)
* + SkeletonAnimator: optimizations, remove per-frame GC allocations on Unity 2017.1
+ Minor ScaleTimeline optimization

* [unity] Check + formatting SkeletonAnimator 2017.1
2017-09-01 17:56:18 +08:00
pharan
4e7a409a63 [csharp] Fixed mixing unweighted meshes that aren't keyed on frame zero. a8e1faf4dd 2017-06-22 11:27:46 +08:00
pharan
44a44aa6c6 [csharp] Changed Timeline.Apply. Animation, AnimationState handle setup pose before first key. 2017-06-13 08:49:29 +08:00
pharan
14d031cb78 [csharp] Added shifted vertex attachment IDs for DeformTimeline. 2017-06-11 00:38:38 +08:00
John
3c194a5c9d [csharp] Fixed deform timelines not mixing to/from setup pose.
ef6ccb84d3
2017-06-02 21:59:45 +08:00
pharan
eacb73c913 [csharp] Ported animation state changes, see https://github.com/EsotericSoftware/spine-runtimes/issues/904 2017-05-18 07:17:41 +08:00
pharan
7938375067 [csharp] Matching and cleanup. 2 of 2 2017-02-24 21:12:21 +08:00