53 Commits

Author SHA1 Message Date
NathanSweet
1b16e521ca [csharp, monogame, xna] Updated copyright info. 2016-06-30 23:49:09 +02: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
NathanSweet
7823833bb4 Minor clean up. 2016-04-13 21:14:59 +02:00
Randolph Burt
f6bf7d650e Minor change to game.exit() logic
* Revert back to preprocessor directive to exclude call to game.exit() for iOS.
2016-03-19 13:02:59 +00:00
Randolph Burt
a0f59c43c8 Update MonoGame iOS example in line with recent changes.
* Migrate to unified API to support 64 bit platforms.
 * Remove call to game.exit() in ExampleGame.cs as this is no longer supported.
 * Use MonoGame.ios Nuget package instead of relying on external repo being present on the machine.
2016-03-17 22:16:22 +00:00
NathanSweet
08b74f5b18 Updated spine-csharp to Spine v3. 2016-02-14 22:51:18 +01: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
NathanSweet
d0625e06a0 Added binary format support for C#.
Also fixed up line endings.
2015-03-29 00:49:31 +01:00
NathanSweet
b2f09b352b Reanedm goblins-ffd example to goblins-mesh. 2014-10-05 18:53:47 +02:00
randolphburt
d8d681d665 Update MonoGame windows 8 store example app to run the raptor IK animation. 2014-09-01 22:27:07 +01:00
NathanSweet
afe1e7ea96 Added IK keys to raptor example. 2014-09-01 18:42:01 +02:00
NathanSweet
668a31fdda Updated raptor. 2014-08-30 17:57:05 +02:00
NathanSweet
e6e7f0bd5d IK constraints for spine-csharp. 2014-08-30 17:04:13 +02:00
NathanSweet
57b5f3a35f Updated example skeleton. 2014-04-25 18:50:43 +02:00
randolphburt
b75bb765fe Link existing assets and code from XNA example to make a MonoGame WindowsStore example project. 2014-04-25 00:24:56 +01: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
12a625917a Updated to new AnimationState delegates. 2014-01-26 21:14:24 +01:00
NathanSweet
b0c96fd66b Typo 2014-01-11 21:20:46 +01:00
NathanSweet
d520addb9b Updated license to version 2.
Version 1 of the license didn't make sense: it required a Spine license to use the Spine Runtimes at all. This means if you used the Spine Runtimes in your application, anyone who purchased a copy of your application also needed a Spine license to use the runtimes. This was not the intent!

Version 2 of the license fixes this by allowing anyone to use the Spine Runtimes but only for internal use. When you purchase Spine, the Spine license (http://esotericsoftware.com/spine/files/license.txt) grants you the right to make and distribute derivative works of the Spine Runtimes. Now it makes sense: making and distributing applications with the Spine Runtimes requires a Spine license, but anyone can run that software without needing a Spine license.

With this fixed, I hope we never need to change the license again!
2014-01-11 21:07:28 +01:00
NathanSweet
98e4c0e7e5 Better C# events. 2013-10-17 01:13:36 +02:00
NathanSweet
9a347d5eb8 Updated license.
Nailed it this time, quite sure!
2013-10-04 04:13:09 +02:00
NathanSweet
47ce2a40c1 Minor update to the license to include education. 2013-10-01 14:55:15 +02:00
NathanSweet
58545382fc Fixed reading ints. 2013-09-27 14:03:07 +02:00
NathanSweet
359b25d9d4 spine-tk2d and spine-unity updated to latest spine-csharp.
closes #120
closes #125
2013-09-26 10:02:17 +02:00
NathanSweet
98bf05c305 Minor cleanup. 2013-09-26 09:36:23 +02:00
NathanSweet
2df28f8564 More AnimationState refactoring, getting good!
#113
2013-09-25 19:39:48 +02:00
NathanSweet
0049b4f7b4 Refactored AnimationState to better support setting a to/from time.
#113
2013-09-25 12:13:57 +02:00
NathanSweet
6f2cc72aaf spine-xna no longer premultiplies alpha on load. Do it when packing the atlas.
This is just simpler all around. The renderer has a setting to know if premultiplied is being used. #121
2013-09-25 10:10:11 +02:00
NathanSweet
8cec4eb354 Simplified SkeletonBounds AABB computation. 2013-09-24 15:37:46 +02:00
NathanSweet
2b86668f4e More efficient draw order when bind pose order is keyed. 2013-09-24 11:10:10 +02:00
NathanSweet
8bd2171250 Minor changes. 2013-09-23 11:21:44 +02:00
NathanSweet
d2d6919afb Event timeline for spine-csharp. 2013-09-22 22:33:38 +02:00
NathanSweet
e2fccf72d6 License update.
Changed from New BSD to a custom license. The new license requires a Spine license to use the code. If you have a valid Spine license, you can do whatever you like with the code. This should not be a problem for anyone using the runtimes with Spine, nothing changes. If using the runtimes without a Spine license, you now need a Spine license. This is because the runtimes were created explicitly to be used with Spine.
2013-09-20 19:46:23 +02:00
NathanSweet
1db0e71257 Minor updates. 2013-09-20 18:56:21 +02:00
NathanSweet
e1fe518261 Bounding boxes for spine-csharp. 2013-09-20 16:42:55 +02:00
NathanSweet
734505c91c Additive blending for spine-csharp and spine-xna. 2013-09-20 14:03:52 +02:00
NathanSweet
a511e267d2 Keyable draw order for spine-csharp. 2013-09-20 13:49:31 +02:00
NathanSweet
9ac25382ae Fixed XNA projects. 2013-09-20 13:22:14 +02:00
UnleashMayhem
16684f6714 Removed XNA project type from the Spine XNA and XNA example projects.
This allows these projects to be opened in Visual studio 2012.
2013-08-11 11:35:58 +01:00
Morrison Cole
11cf2629d2 Issue #98 Added the missing data folder to the XNA example project and set the files to copy into the output directory 2013-08-06 21:09:10 +01:00
AKnopf
0e17a170b6 Update Example: Positioning of Skeleton
Its better to set X and Y of the skeleton then setting X and Y of the root bone.
2013-06-20 19:09:04 +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
ed0bae85c3 AnimationState queued animation for more runtimes, plus fixes. 2013-04-27 14:33:38 +02:00
NathanSweet
1af04a720d Spear for example. 2013-04-24 22:12:34 +02:00
NathanSweet
86e75d96d7 Refactoring for non-Atlas RegionAttachments. Fixed whitespace stripped and rotated regions. 2013-04-24 18:41:42 +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
3b1cf6579c Refactoring.
API clean up, better JSON parsing, better atlas, easier to extend.
2013-04-13 19:17:37 +02:00
NathanSweet
2b49c59907 Updated to use goblins to test skins. 2013-04-13 10:12:58 +02:00