150 Commits

Author SHA1 Message Date
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
08a680c972 spine-unity, added flip timelines. 2014-10-02 18:09:38 +02:00
NathanSweet
53437a6159 Fixed FfdTimeline for spine-c. 2014-10-01 01:31:52 +02:00
Nathan Sweet
f865e95a7c Merge pull request #296 from nikibobi/fix-295
Fixes problem with IK classes not found
2014-10-01 00:02:36 +02:00
NathanSweet
57f24ff8cc Clean up. 2014-09-30 01:27:41 +02:00
NathanSweet
e5d3d380c7 Fixed AttachmentTimeline from missing first key.
http://esotericsoftware.com/forum/viewtopic.php?p=16600#p16600
2014-09-27 01:02:57 +02:00
NathanSweet
7aadd9bce7 Variable naming, "previous" rather than "last". 2014-09-24 16:16:57 +02:00
NathanSweet
3ed7fb6865 Changed how scale is applied.
Scale is now multiplicative, as it was intended to be.
http://esotericsoftware.com/forum/viewtopic.php?p=16259#p16259
This change means skeletons need to be exported again using Spine 2.0.00+.
2014-09-24 16:14:42 +02:00
NathanSweet
37f332d149 Fixed IK constraint bend direction keys. 2014-09-24 15:37:12 +02:00
Borislav Kosharov
2d17ceb681 Fixes problem with IK classes not found
Just manually added the files to the solution. Fixes #295
2014-09-23 01:43:38 +03: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
2d5b2cdb87 Refactoring and clean up. 2014-08-31 15:22:41 +02: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
7f6abc8c00 Fixed mixing from uninitialized slot vertices.
http://esotericsoftware.com/forum/viewtopic.php?f=9&t=2775
2014-06-03 18:37:42 +02:00
NathanSweet
cf41610f8a Minor fixes. 2014-05-23 10:46:26 +02:00
NathanSweet
01c0e1881f Minor changes. 2014-05-21 22:28:50 +02:00
NathanSweet
f1468c44e3 Clean up.
Setting Attachment clears vertices count.
2014-05-21 10:11:45 +02:00
NathanSweet
386134febe Removed unnecessary cast, property access. 2014-05-21 10:11:16 +02:00
NathanSweet
07d92bfde4 Updated line ending so Unity stops complaining. 2014-05-17 14:37:08 +02:00
NathanSweet
11055a22e4 Fixed mesh attachment using the slot vertices length. 2014-05-16 19:43:57 +02:00
Christian Oeing
6169ad1e88 FIXED: spine-csharp.csproj - Added missing files to project. 2014-05-13 11:30:36 +02:00
NathanSweet
496466a1cc Hull length is no longer nonessential. 2014-05-10 15:33:00 +02:00
NathanSweet
83be769cc5 Read new atlas format that has width and height for each page. 2014-05-05 15:07:53 +02:00
NathanSweet
22c58fd8dc Fixed reading FFD. 2014-05-05 15:06:34 +02:00
NathanSweet
6432e43ea2 Clean up. 2014-04-29 20:27:31 +02:00
NathanSweet
5623631026 Clean up. 2014-04-28 17:51:17 +02:00
NathanSweet
04c0fec844 Fixed NPE. 2014-04-28 17:51:07 +02:00
NathanSweet
c1c12677ba API improvements.
Before I get too many damned runtimes done. ;)
2014-04-28 16:49:20 +02:00
NathanSweet
df971f7c70 Fixed skinned meshes with FFD. 2014-04-28 16:08:17 +02:00
NathanSweet
a76c396528 Separated updateRegions() from setMesh() to facilitate lazy loading atlas regions.
Moved setting path into SkeletonJson.
2014-04-28 13:29:06 +02:00
NathanSweet
b316b8d3e1 Scale mesh vertices! 2014-04-26 23:25:52 +02:00
NathanSweet
15b3f0979b Method to flip v and v2 in UVs. 2014-04-25 18:19:56 +02:00
NathanSweet
5b68fe5190 Meshes, FFD and skinning for spine-csharp and spine-xna.
Also updated example projects for spine-unity and spine-tk2d, but no meshes, FFD or skinning for those two yet.
2014-04-24 17:32:23 +02:00
NathanSweet
26e4fb0d74 License header update.
2 -> 2.1 (clearer how permission is granted, formatting).
2014-04-23 12:04:43 +02:00
NathanSweet
df70264a5b Go back to clearing the entry after the "end" listeners.
Changing the AnimationState state from an "end" listener is problematic even when the entry is cleared before the listener, so better to make the track that is ending available to the listener.
2014-03-17 16:53:33 +01:00
NathanSweet
f0e4b5e9b8 Fixed AnimationState error. 2014-03-13 16:19:54 +01:00
NathanSweet
951fe77c09 Merge branch 'origin/master' 2014-03-09 12:15:23 +01:00
NathanSweet
aff250daf4 Allow a track to mix with the track below.
http://esotericsoftware.com/forum/viewtopic.php?f=7&t=2248
2014-03-09 12:06:36 +01:00
Nathan Sweet
806d121e3d Merge pull request #198 from pharan/patch-1
Allow Skin.AddAttachment (C#) to overwrite safely
2014-03-08 16:12:44 +01:00
NathanSweet
211f82fedd Clear the track before calling end on the listener. 2014-03-08 00:20:26 +01:00
John
9e69a711b5 Allow Skin.AddAttachment to overwrite safely
Allow Skin.AddAttachment to overwrite an existing attachment as intended.
( For more info, see the Remarks section of: http://msdn.microsoft.com/en-us/library/k7z0zy8k%28v=vs.110%29.aspx )
2014-03-04 05:12:49 +08:00
NathanSweet
66a336e219 Adjusted line endings. 2014-02-05 18:09:16 +01:00
John
c5bc9a3cf4 AnimationState C# events subscription
Using the "event" keyword DOESN'T require the use of EventArgs derived classes as part of the method signature.

Events provide a (standard) layer of safety by preventing the nulling or complete reassignment.
It restricts external class interaction with the event to subscription with the += operator and unsubscription with the -= operator. This prevents unrelated objects from accidentally unsubscribing other objects from the event.

The null check is still required though.

For people who followed the examples, worked with the original events and only used += to subscribe to events, this change shouldn't affect client code at all.
2014-01-31 18:36:41 +08:00
John
7699e9b28f Fixed "CompleteDelete" typo in C# event delegates
Supposed to be "CompleteDelegate"?
2014-01-31 01:33:46 +08:00
NathanSweet
4216077c0e Better AnimationState event delegates. 2014-01-26 21:08:09 +01:00
NathanSweet
68d829556a Added getter for tracks.
http://www.esotericsoftware.com/forum/viewtopic.php?f=7&t=1982
2014-01-26 16:46:30 +01:00