70 Commits

Author SHA1 Message Date
Harald Csaszar
0357dd5ffa [csharp] Port of commit d7203ee. Improved fix for TransformMode.noRotationOrReflection with skeleton scale. See #1668. 2020-05-20 16:19:27 +02:00
Harald Csaszar
00173b4c60 [csharp] Port of commit de203d5: Fixed TransformMode.noRotationOrReflection applying skeleton scale twice. See #1668. 2020-05-05 15:16:47 +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
badlogic
73fc7867d8 [csharp] Made Skeleton.scaleX/scaleY private, Skeleton.ScaleY getter takes Bone.yDown into account. Fixes #1386. 2019-06-24 14:12:18 +02:00
Harald Csaszar
8cfe6be2c0 [csharp] Port of commit ccc5b2f: Fixed root bone transform for skeleton scale to use world axes. See #1373. 2019-06-13 15:18:55 +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
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
7f7e5f0fec Updated license headers and LICENSE files. 2019-05-02 11:38:19 +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
6abcac3882
[csharp] Fixed disable inherit scale.
Based on: cb5e05008a
Issue: #1224
2018-12-10 02:18:25 +08:00
pharan
8c55b1b5d0
[csharp] Fix world-to-local and local-to-world rotation functions to account for local rotation and shearX.
based on : 3851e201d8
2018-10-24 23:57:49 +08:00
pharan
0f7c01c469 [csharp] Changed skeleton flipX/Y to scaleX/Y. (see d9a6b9151b) 2018-07-12 18:03:08 +08:00
pharan
7e910cb8f7 [csharp] Minor cleanup. 2018-04-20 12:18:36 +08:00
pharan
aa32c1aefd [csharp] Line endings. 2018-01-18 00:38:32 +08:00
badlogic
20cdb9ec99 [csharp] Fix applying flipping for noScale/noScaleOrReflection transform mode. See #951 2017-07-19 13:57:20 +02:00
badlogic
1ad8e6b63c Merged with master, resolved conflicts 2017-03-02 13:04:44 +01:00
John
d7d6177372 [csharp] Fix disabled inheritance when yDown==true (#834)
http://esotericsoftware.com/forum/Flipped-bones-during-runtime-using-XNA-sample-project-7873
2017-02-28 04:23:09 +08:00
pharan
7938375067 [csharp] Matching and cleanup. 2 of 2 2017-02-24 21:12:21 +08:00
pharan
3736a5c3dc [csharp] Ported 3.6-beta changes. 2017-01-28 23:20:23 +08:00
NathanSweet
36000e3c55 Updated to v3.5 (merge dev branch).
# Conflicts:
#	spine-c/src/spine/AnimationState.c
2016-11-15 23:10:23 +01:00
pharan
a05ee4130f [csharp][unity][monogame][xna] Updated for compatibility with Spine 3.5.x 2016-11-01 23:46:47 +08:00
NathanSweet
c0fdc454a2 Fixed inconsistent newlines.
License header was followed by \n\n and files ended with \n. Changed to \r\n.
2016-10-15 23:45:16 +02:00
NathanSweet
7a18f0818c Every space in its place! (tm)
(whitespace clean up)
2016-10-15 23:15:41 +02:00
badlogic
5aa27771c3 [runtimes] Updated ALL sources to use latest Spine Runtimes License v2.5. Manually checked all the things... 2016-10-13 15:12:05 +02:00
John
6616ec1808 [csharp] Fixed world scale.
6cc91d579c
2016-08-19 11:13:23 +08:00
John
1c19365325 [csharp][monogame][unity][xna] Updated to 3.3.x (#623)
* [spine-csharp] Ported 3.3 changes of Animation and inner classes. Added MathUtils.Clamp

* [spine-csharp] Ported 3.3 changes of AnimationStateData. Updated .gitignore to exclude .meta files from spine-csharp

* [spine-csharp] Ported 3.3 changes of Bone

* [spine-csharp] Ported 3.3 changes of BoneData

* [spine-csharp] Ported 3.3 changes of Event

* [spine-csharp] Ported 3.3 changes to IKConstraint. Also got rid of the hideous labeled break. Replaced with while and sprinkled continues and break :D

* [spine-csharp] Mario is not good with labeled breaks. Fixed with goto

* [spine-csharp] Ported more 3.3 changes, only SkeletonJson and SkeletonBinary left. Unity runtime also needs updating with new changes

* [spine-csharp] fixed compilation errors initially not reported by Mono CS

* Minor clean up.

Every space has its place.™

* Match csharp 3.3 refactorings.

* [Unity] Minor cleanup in SkeletonBaker.

* Better exception messages.

* Removed extra usings. Matched whitespace style.

* Fixed Bone.cs method PascalCase and xml documentation.

* Fixed Exception ctor arguments.

* Fixed single bone IK mixing.

Matched libgdx commit:
e0ee18a088

* [spine-csharp] Port of 3.3 changes to SkeletonJson, incomplete

* [Unity] Ragdoll: account for shear and new constraints.

* [spine-csharp] Ported 3.3 changes to SkeletonJson

* [spine-csharp] Ported 3.3 changes to SkeletonBinary. Time for testing and debugging

* [spine-csharp] Fixed up XNA runtime

* Added simple example data in new exports/ folder

* [spine-csharp] Fixed bug in Slot construtor, wasn't assigning index. Fixed bug in CurveTimeline, argument guard was wrong. Fixed bugs in SkeletonJson, indexing to get duration of a timeline was wrong. Added simple example to spine-xna for easier debugging

* [spine-csharp] Fixed porting bug in ColorTimeline#apply, indexing was wrong

* [spine-csharp] Fixed SkeletonJson#ReadVertices, calling resize on temp lists was wrong. Updated goblin sample in spine-xna, fixed mesh attachment rendering in spine-xna.

* [spine-xna] Added binary exports, modified XNA game

* [spine-xna] Added tank example

* Some cleanup. Relabeled generic todos.

* Prevent SpineEditorUtilities from orphaning failed instantiations.

* Ignore PathAttachment when checking for required atlas regions.

* [spine-csharp] the great spaces to tabs battle

* [spine-csharp] Fixed inherit deform.

* [spine-csharp] Match Skeleton.java properties and stuff.

* [spine-csharp] Fixed enums, all upper cased now, using Enum.ParseType in case-insensitive mode

* [csharp] Ported 206e7f983c4df4d27fee6cac05d152eb2295c8b0 to csharp runtime. Fixes attachment keys on different tracks

* [csharp] Updated README.md

* [xna] [monogame] [unity] Updated README.md

* Revert "[csharp] Ported 206e7f983c4df4d27fee6cac05d152eb2295c8b0 to csharp runtime. Fixes attachment keys on different tracks"

This reverts commit 175216868dd00b4ae31cc717022242308c150f6a.

* [csharp] Fix to AttachmentTimeline#apply, fix for the fix for the fix for the revert for the fix

* [csharp] Matched and fixed more comments, summaries, exception messages and formatting.

* [csharp] Fix deformed weighted vertices condition + match libgdx closer.

* [csharp] Use internal ExposedList array for critical methods.

* [csharp] SkeletonJson and SkeletonBinary minor formatting and fixes.

* [unity] Match changes and fixes in spine-csharp 3.3 + better editor messages.

* [unity] Updated sample scenes and files.

* [csharp] Some formatting got left behind.

* [unity] New readme links + Removed redundant info.

* [exports] Remove dummy project.
2016-06-30 04:29:33 +08:00
John
f1406e2f85 Update spine-csharp to v3.2 (shearing) (#562)
* spine-csharp updated to 3.2.00.

* Some cleanup, catchup and fixes.

* Mix transform constraint scale and shear offsets.

* Update readmes.

* Clean up.

* Formatting.

* Fixed single bone IK with nonuniform scale. Improved two bone IK.
2016-06-01 02:25:30 +02:00
John
ba5e4073c3 Updated spine-csharp to 3.1.05: linked meshes. (#543)
* Updated spine-csharp to 3.1.00: linked meshes.

* Updated SkeletonBinary.cs for 3.1.05

based on:
3a06b829cc
8c55aa1f62

* Fixed skeleton flip when rotation and scale are disabled.

Based on: b22669711d

* Fixed IK when the parent has nonuniform scale and the child Y != 0.

Based on: bf902936aa

* Removed redundant locals.
2016-04-13 17:10:20 +02:00
NathanSweet
6c353c1a38 Fixed worldToLocal.
closes #544
2016-04-03 18:30:35 +02:00
NathanSweet
d93e1507fc Fixed disabling scale/rotation.
closes #525
2016-02-22 10:18:16 +01:00
NathanSweet
0f723b9fa7 A few fixes and minor improvements. 2016-02-17 03:52:22 +01:00
NathanSweet
b72d915036 Better yDown support. 2016-02-15 23:56:00 +01:00
NathanSweet
03606717a7 Fixed whitespace.
C# has such bad tools. :(
2016-02-15 21:03:49 +01:00
NathanSweet
ac2721c553 Fixed flipping to use world axes, fixed disable inherit scale and rotation when flipped. 2016-02-15 02:43:04 +01:00
NathanSweet
08b74f5b18 Updated spine-csharp to Spine v3. 2016-02-14 22:51:18 +01:00
NathanSweet
91340709d4 Source formatting.
So fresh and so clean!
2015-08-03 15:06:20 +02:00
ZimM
4057316a91 Merge remote-tracking branch 'remotes/upstream/master' into optimizations 2015-06-29 19:07:39 +02:00
NathanSweet
27270a5781 Spine Runtimes license update.
Minor update to fix "SOFTARE" typo and clairfy how to get permission.
2015-04-24 21:33:24 +02:00
ZimM
9ae48c2aac replaced List<T> with ExposedList<T> to avoid indexer overhead 2015-02-26 05:00:44 +02:00
NathanSweet
31848ad22a Minor clean up. 2014-11-16 00:09:37 +01:00
NathanSweet
14aeb49650 Clean up. 2014-10-04 13:36:05 +02:00
NathanSweet
22b2086f39 Flip for bones. Flip timelines now affect bones. "draworder" in JSON -> "drawOrder".
Falls back to "draworder" to not break existing JSON (for the time being).
2014-10-04 13:01:52 +02:00
NathanSweet
57f24ff8cc Clean up. 2014-09-30 01:27:41 +02:00
Fenrisul
f643dab32d Fixed accidental remerge 2014-09-04 05:39:08 -07:00
Fenrisul
0fa4aad44d Modified Bone.cs
Removed IEnumerable interface
Added public Children getter for children List
2014-09-04 05:37:06 -07:00
Fenrisul
14219d8462 Added children List<Bone> to Bone.cs and populated it inside Skeleton.cs
Changed Bone class to implement IEnumerable to easily traverse the child list.
2014-09-04 03:56:10 -07:00
NathanSweet
2cfb6ad980 Moved Skeleton refernce from Slot to Bone. 2014-08-31 12:47:04 +02:00
NathanSweet
e6e7f0bd5d IK constraints for spine-csharp. 2014-08-30 17:04:13 +02:00
NathanSweet
26e4fb0d74 License header update.
2 -> 2.1 (clearer how permission is granted, formatting).
2014-04-23 12:04:43 +02:00