689 Commits

Author SHA1 Message Date
NathanSweet
92c3fbe946 Throw right exception. 2013-08-16 12:23:04 +02:00
Nicholas Rodine
45e300bbfc Upgraded to VS2010. Removed XNA dependency. 2013-08-11 15:57:07 -04:00
NathanSweet
75d393d928 Braces on same line! 2013-08-10 12:28:23 +02:00
NathanSweet
d0ebe5515e Fixed atlas attachment loader. 2013-08-04 17:41:25 +02:00
NathanSweet
0784725106 Merge branch 'origin/master' 2013-08-02 15:09:06 +02:00
Borislav Kosharov
9408033356 Combined two similar ifs to one with xor 2013-08-02 14:01:43 +03:00
Borislav Kosharov
e6b98cd179 Simplified SkeletonData ToString in csharp runtime 2013-07-31 21:40:36 +03:00
Randolph Burt
2760fc3ddd Ensured MonoGame compatibility for Windows 8 Store Apps.
The security is such that you cannot load from a stream in the 'normal .net way' - you must instead use specific Windows.Storage methods.
2013-06-18 23:37:30 +01:00
NathanSweet
dcbd87d90a Added defaultMix to AnimationStateData. 2013-06-13 20:00:25 +02:00
NathanSweet
e6d7cf8b26 Add x and y to skeleton for positioning instead of using root bone. 2013-05-28 18:17:55 +02:00
NathanSweet
1f8cad35eb Fix up property name case. 2013-05-28 17:52:34 +02:00
John Dy
6c784ec0cd Added bone inherit rotation and scale in csharp
Just mimicked the changes in spine-libgdx and your code pattern in c#.
Working fine in Unity.
2013-05-27 16:45:40 +08:00
NathanSweet
3736352c09 Fixed flip x/y for root bone. (reverse-merged from commit 64fd34ba9426e2c7637526b1029721000c14ad5b)
#43
2013-05-08 13:01:10 +02:00
NathanSweet
64fd34ba94 Fixed flip x/y for root bone. 2013-05-06 14:26:23 +02:00
NathanSweet
7f69300bcc Refactoring: changed references to "bind pose" to "setup pose".
This better matches "setup mode" in the editor and we can be consistent in code and docs from now on.
2013-05-05 12:38:06 +02:00
NathanSweet
80fdba02a1 Refactoring: RegionAttachment vertices, texture->rendererObject...
- Vertices are no longer stored on RegionAttachment. The vertices are temporary state, not part of RegionAttachment's persistent state like UVs and offset.
- AtlasPage and RegionAttachment "texture" field is renamed to "rendererObject". This is a better name as it may not be a texture.
- AtlasAttachmentLoader uses the AtlasRegion as the rendererObject. This enables a renderer to use region information if needed. The page rendererObject is still available.
- Better "enum" look up for AS3.
- Unity4 example doesn't use a compressed material.
2013-05-05 12:37:24 +02:00
NathanSweet
71a8751794 Fixed scale. 2013-04-29 16:17:46 +02:00
NathanSweet
ed0bae85c3 AnimationState queued animation for more runtimes, plus fixes. 2013-04-27 14:33:38 +02:00
NathanSweet
86e75d96d7 Refactoring for non-Atlas RegionAttachments. Fixed whitespace stripped and rotated regions. 2013-04-24 18:41:42 +02:00
NathanSweet
803a8ab045 Fixed animations with no bone keys. 2013-04-23 21:53:36 +02:00
NathanSweet
e98caf2c50 Remove before adding to mix map.
Because it would be *crazy* to want to overwrite an existing map entry, and it's always better to do moar map lookups.
2013-04-22 11:33:07 +02:00
NathanSweet
5b346095cf Fixed curves for spine-csharp. 2013-04-21 20:08:05 +02:00
NathanSweet
5a46f8c6b4 isComplete for AnimationState. 2013-04-19 09:14:29 +02:00
NathanSweet
7bd6f62a2b Added AnimationState clear.
id return value for factory methods.
2013-04-18 23:31:29 +02:00
NathanSweet
f2a08876c7 Support for disposing textures. 2013-04-18 12:20:24 +02:00
NathanSweet
143f99a81f Refactoring for multi page atlas support. 2013-04-17 22:09:58 +02:00
NathanSweet
3df36416c5 Fixed spine-xns solution for VS2010. 2013-04-16 13:10:04 +02:00
NathanSweet
23e04c3b08 Refactoring to bring spine-libgdx up to date with spine-csharp and spine-xna. 2013-04-16 12:44:55 +02:00
NathanSweet
d4f2011aba License headers. 2013-04-16 11:40:44 +02:00
Calvin Rien
3dd401b342 Made Unity project directory structure more plugin compliant.
Added .sln for spine-csharp that compiles under MonoDevelop.  Modifie spine-csharp.csproj to compile under MonoDevelop (mac).
2013-04-15 18:04:13 -07:00
NathanSweet
4568d7ebfd Clear method for animation state. 2013-04-15 18:05:53 +02:00
NathanSweet
75e0f68832 AnimationState for spine-csharp. 2013-04-15 11:16:58 +02:00
NathanSweet
e1b7b713a2 Fixed crash with no newline at start of atlas. 2013-04-14 06:45:27 +02:00
NathanSweet
087b0cd874 Readers, not streams. 2013-04-13 19:25:05 +02:00
NathanSweet
3b1cf6579c Refactoring.
API clean up, better JSON parsing, better atlas, easier to extend.
2013-04-13 19:17:37 +02:00
NathanSweet
977122f41c Removed use of Tuple, unsupported on WP XNA.
Made parsing floats not locale specific.
2013-04-13 10:12:42 +02:00
Randolph Burt
ea5849764d Fix parsing Animation/slots in SkeletonJson.cs 2013-04-11 20:56:00 +01:00
NathanSweet
f935a4ede0 License headers. 2013-04-11 10:42:24 +02:00
NathanSweet
4a354f4565 Generic C# runtime & XNA runtime. 2013-04-11 10:25:12 +02:00