380 Commits

Author SHA1 Message Date
NathanSweet
c34db336d5 Fixed path constraint bone sorting. 2016-10-07 14:22:28 +02:00
NathanSweet
b7c9a1cc20 Always apply blend mode, let batch ignore unnecessary changes.
closes #477
2016-08-12 07:43:13 +02:00
NathanSweet
fce9f56a18 Updated examples.
#664
2016-08-09 21:29:01 +02:00
NathanSweet
b1cb7faa84 [libgdx] Added Skin method to iterate attachments. 2016-08-09 01:35:15 +02:00
NathanSweet
e16df6cbd4 Examples updated to 3.4.00. 2016-07-13 14:26:04 +02:00
NathanSweet
00f75cf3fa [libgdx] Updated examples. 2016-07-06 16:39:04 +02:00
NathanSweet
14db99eea8 Updated examples. 2016-07-06 16:38:24 +02:00
NathanSweet
9a310a9d24 [libgdx] Removed path/tank/test skeletons. 2016-07-06 15:54:59 +02:00
NathanSweet
4f05341f4c [libgdx] Can resurrect later. 2016-07-06 12:06:29 +02:00
Mario Zechner
eb540387e6 [c][sfml][cocos2d-x][cocos2d-objc] Updated to 3.3.07 (#629) 2016-07-05 19:53:24 +02:00
NathanSweet
fca7c478e2 [spine-libgdx] Fixed Skeleton copy constructor. 2016-07-04 02:13:45 +02:00
Pavel Platto
70b3e0f86f [csharp][libgdx] fix iterating bones in VertexAttachment.ComputeWorldVertices.
Postincrement affects its variable only when entire expression is evaluated.
2016-07-01 11:21:14 +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
20460fbdaa [libgdx] Fixed incorrectly scaling transform constraint offsets. 2016-06-29 02:14:44 +02:00
NathanSweet
4c82899115 [libgdx] Removed deferred attachment lookup.
3rd try is a charm. Don't code tired!
2016-06-28 17:37:43 +02:00
NathanSweet
5c363f0cc1 [libgdx] Removed deferred attachment lookup. 2016-06-28 17:29:38 +02:00
NathanSweet
5951e9f6b2 [libgdx] Removed deferred attachment lookup. 2016-06-28 17:28:16 +02:00
NathanSweet
206e7f983c Fixed attachment keys on different tracks.
badlogic/spine-internal#49

(cherry picked from commit 6cccbf61f3bd9f125958fac6eb120b839ae82738)
2016-06-26 20:31:23 +02:00
NathanSweet
e0ee18a088 Fixed single bone IK mixing. 2016-06-25 22:13:31 +02:00
NathanSweet
a9a771ba1c Removed old attachment types. 2016-06-24 14:50:22 +02:00
NathanSweet
39da610005 Used constants. 2016-06-23 22:54:33 +02:00
NathanSweet
71b3484062 Clean up. 2016-06-22 12:55:36 +02:00
NathanSweet
d506478479 Method is package private for editor access. 2016-06-20 19:25:46 +02:00
NathanSweet
eded12cd52 Removed hardcoded paths.
Oops, sorry!
2016-06-20 19:25:29 +02:00
NathanSweet
9a469c0460 Prettier with varargs. 2016-06-18 21:57:26 +02:00
NathanSweet
f961c127f6 Added coverting linkedmesh to weightedlinkedmesh. 2016-06-18 19:16:02 +02:00
NathanSweet
2f846cfba5 Added JsonRollback, a tool for converting newer JSON so it can be loaded by an older Spine version. 2016-06-17 12:24:38 +02:00
NathanSweet
b41d85a692 Added context when exceptions are thrown during attachment and animation parsing. 2016-06-17 12:21:32 +02:00
NathanSweet
534ffc8d1d Back to constant speed.
It's better.
2016-06-12 03:55:59 +02:00
NathanSweet
021dfe288b Renamed constant speed to accurate. 2016-06-11 05:04:43 +02:00
NathanSweet
ae4ac8210f Check default skin, fixed crash. 2016-06-10 04:14:19 +02:00
NathanSweet
92d7ef32f4 Multiple constrained bones for transform constraints. 2016-06-10 03:21:54 +02:00
NathanSweet
8b3b0169ad Added Slot#getIndex. 2016-06-10 00:27:56 +02:00
NathanSweet
52545f262b Fixed update order for path weights.
Not super happy with having to do this, but it seems necessary.

badlogic/spine-internal#72
2016-06-10 00:27:46 +02:00
NathanSweet
8d19504bd7 Fixed binary path loading. 2016-06-09 19:31:05 +02:00
NathanSweet
07bb307b72 Fixed loader scale for paths. 2016-06-09 18:22:23 +02:00
NathanSweet
40950eded7 JSON and binary path attachment and constraint loading. 2016-06-09 03:33:48 +02:00
NathanSweet
a6ccff5fde Better path debug rendering. 2016-06-09 03:33:14 +02:00
NathanSweet
3511d7664b Fixed path constraint crash. 2016-06-08 16:19:49 +02:00
NathanSweet
b3f84390c5 Separate path timelines. 2016-06-07 13:15:08 +02:00
NathanSweet
b41dead263 Path constraint refactoring + position mode. 2016-06-06 17:29:44 +02:00
NathanSweet
2bb702e2be BOZO removal. 2016-06-06 12:38:01 +02:00
NathanSweet
932808bd06 Minor improvements.
Think she's done! Just need 3 path timelines.
2016-06-06 11:52:49 +02:00
NathanSweet
5cfa647ce2 Added path constraint spacing, spacing mode, rotate mode. 2016-06-06 11:30:50 +02:00
NathanSweet
b3fdaca019 Fixed child IK bone not being updated when IK mix = 0. 2016-06-05 01:44:35 +02:00
NathanSweet
7729d423f7 Improved non-constant speed paths. 2016-06-05 01:36:32 +02:00
NathanSweet
633432647b Clean up, optimization. 2016-06-05 00:58:07 +02:00
NathanSweet
3d8b674444 Removed appliedScaleX/Y.
These existed because TransformConstraint used to manipulate the local transform. Now that it manipulates the world transform, they aren't used.
2016-06-05 00:57:49 +02:00
NathanSweet
7e7aaad550 Clean up. 2016-06-05 00:56:56 +02:00
NathanSweet
b94e04a7a5 Don't change IK constraint indices. 2016-06-03 22:38:10 +02:00